urbi::UObject Class Reference

Main UObject class definition Each UObject instance corresponds to an URBI object. More...

#include <uobject.hh>

List of all members.

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
UObjectHubobjecthub
 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.


Detailed Description

Main UObject class definition Each UObject instance corresponds to an URBI object.

It provides mechanisms to bind variables and functions between C++ and URBI.

Definition at line 252 of file uobject.hh.


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