urbi::UVar Class Reference

UVar class definition Each UVar instance corresponds to one URBI variable. More...

#include <uvar.hh>

List of all members.

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


Detailed Description

UVar class definition Each UVar instance corresponds to one URBI variable.

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.


Constructor & Destructor Documentation

urbi::UVar::UVar ( UVar  )  [inline]

Definition at line 88 of file uvar.hh.


Member Function Documentation

urbi::UVar::operator UImage (  ) 

In plugin mode, gives direct access to the buffer, which may not be valid after the calling function returns.

Changes to the other fields of the structure have no effect..

Definition at line 219 of file uvar.cc.

urbi::UVar::operator USound (  ) 

In plugin mode, gives direct access to the buffer, which may not be valid after the calling function returns.

Changes to the other fields of the structure have no effect..

Definition at line 224 of file uvar.cc.

void urbi::UVar::requestValue (  ) 

No effect in plugin mode.

In remote mode, updates the value once asynchronously..

Definition at line 267 of file uvar.cc.

References URBI.


The documentation for this class was generated from the following files:
Generated on Tue Apr 10 17:45:47 2007 for URBISDK by  doxygen 1.5.1