#include <uobject.hh>
Public Member Functions | |
UObject (const std::string &) | |
UObject constructor. | |
UObject (int) | |
Dummy UObject constructor. | |
virtual | ~UObject () |
UObject destructor. | |
template<class T> | |
void | UNotifyChange (UVar &v, int(T::*fun)()) |
Calls the specified function each time the variable v is modified. | |
template<class T> | |
void | UNotifyChange (UVar &v, int(T::*fun)(UVar &)) |
Calls the specified function each time the variable v is modified. | |
template<class T> | |
void | UNotifyOnRequest (UVar &v, int(T::*fun)()) |
Calls the specified function when the variable value is updated on request by requestValue(). | |
template<class T> | |
void | UNotifyOnRequest (UVar &v, int(T::*fun)(UVar &)) |
Calls the specified function when the variable value is updated on request by requestValue(). | |
template<class T> | |
void | UNotifyChange (const std::string &name, int(T::*fun)()) |
Calls the specified function each time the variable v is modified. | |
template<class T> | |
void | UNotifyChange (const std::string &name, int(T::*fun)(UVar &)) |
Calls the specified function each time the variable v is modified. | |
template<class T> | |
void | UNotifyAccess (UVar &v, int(T::*fun)(UVar &)) |
Calls the specified function each time the variable v is read. | |
template<class T> | |
void | USetTimer (ufloat t, int(T::*fun)()) |
Set a timer that will call tune 'fun' function every 't' milliseconds. | |
void | USync (UVar &v) |
Generic UVar monitoring without callback. | |
void | USetUpdate (ufloat period) |
Set a timer that will call the update function every 'period' milliseconds. | |
virtual int | update () |
void | UAutoGroup () |
Set autogrouping facility for each new subclass created.. | |
virtual void | addAutoGroup () |
Called when a subclass is created if autogroup is true. | |
virtual void | UJoinGroup (const std::string &gpname) |
Join the uobject to the 'gpname' group. | |
int | voidfun () |
Void function used in USync callbacks. | |
void | clean () |
UObject cleaner. | |
Public Attributes | |
std::string | __name |
Name of the object as seen in URBI. | |
std::string | classname |
Name of the class the object is derived from. | |
bool | derived |
True when the object has been newed by an urbi command. | |
UObjectList | members |
UObjectHub * | objecthub |
The hub, if it exists. | |
bool | autogroup |
Add a group with a 's' after the base class name. | |
bool | remote |
Flag to know whether the UObject is in remote mode or not. | |
UVar | load |
The load attribute is standard and can be used to control the activity of the object. |
It provides mechanisms to bind variables and functions between C++ and URBI.
Definition at line 252 of file uobject.hh.