#include <uvar.hh>
Public Member Functions | |
UVar () | |
UVar (UVar &) | |
UVar (const std::string &) | |
UVar constructor: implicit object ref (using 'lastUOjbect') + varname. | |
UVar (const std::string &, const std::string &) | |
UVar constructor: object name + var name. | |
UVar (UObject &, const std::string &) | |
UVar constructor: object reference + var name. | |
~UVar () | |
UVar destructor. | |
void | init (const std::string &, const std::string &) |
UVar initialization. | |
void | setOwned () |
set own mode | |
void | syncValue () |
void | operator= (ufloat) |
UVar float assignment. | |
void | operator= (const std::string &) |
UVar string assignment. | |
void | operator= (const UBinary &) |
UVar binary assignment. | |
void | operator= (const UImage &i) |
deep copy | |
void | operator= (const USound &s) |
deep copy | |
void | operator= (const UList &l) |
void | operator= (const UValue &v) |
operator int () | |
operator bool () | |
operator UBinary () | |
deep copy | |
operator UBinary * () | |
Deep copy, binary will have to be deleted by the user. | |
operator UImage () | |
In plugin mode, gives direct access to the buffer, which may not be valid after the calling function returns. | |
operator USound () | |
In plugin mode, gives direct access to the buffer, which may not be valid after the calling function returns. | |
operator ufloat () | |
operator std::string () | |
operator UList () | |
void | requestValue () |
No effect in plugin mode. | |
ufloat & | in () |
UVar in value (write mode). | |
ufloat & | out () |
UVar out value (read mode). | |
UValue | getProp (UProperty prop) |
void | setProp (UProperty prop, const UValue &v) |
void | setProp (UProperty prop, double v) |
void | setProp (UProperty prop, const char *v) |
void | setProp (UProperty prop, const std::string &v) |
void | __update (UValue &) |
UVar update. | |
std::string | get_name () |
void | set_name (std::string &v) |
UValue | get_value () |
void | set_value (UValue &v) |
Public Attributes | |
bool | owned |
UProp | rangemin |
UProp | rangemax |
UProp | speedmin |
UProp | speedmax |
UProp | delta |
UProp | blend |
The class provides access to the variable properties, and reading/writting the value to/from all known types.
Definition at line 80 of file uvar.hh.
urbi::UVar::operator UImage | ( | ) |
urbi::UVar::operator USound | ( | ) |
void urbi::UVar::requestValue | ( | ) |