|
Urbi SDK Remote for C++
2.7.3
|
A UObject wrapping a machine object. More...
#include <umachine.hh>


Public Member Functions | |
| UMachine (const std::string &name) | |
| C++ contructor. | |
| int | init (ufloat d) |
| Urbi constructor. | |
| std::string | assemble (std::list< std::string > components) |
| Wrapper around Machine::operator(). | |
| int | duration_set (urbi::UVar &v) |
| Function notified when the duration is changed. | |
Private Attributes | |
| urbi::UVar | duration |
| The duration of the assembly process. | |
| Machine * | machine |
| The actual machine, wrapped in this UObject. | |
A UObject wrapping a machine object.
Definition at line 21 of file umachine.hh.
| UMachine::UMachine | ( | const std::string & | name | ) |
C++ contructor.
| name | name given to the instance. |
Definition at line 17 of file umachine.cc.
References init(), and UBindFunction.
| std::string UMachine::assemble | ( | std::list< std::string > | components | ) |
Wrapper around Machine::operator().
Definition at line 72 of file umachine.cc.
References machine.
Referenced by init().
| int UMachine::duration_set | ( | urbi::UVar & | v | ) |
Function notified when the duration is changed.
| v | the UVar being modified (i.e., UMachine::duration). |
Definition at line 55 of file umachine.cc.
References Machine::duration, and machine.
Referenced by init().
| int UMachine::init | ( | ufloat | d | ) |
Urbi constructor.
| d | the duration of the assembly process. Must be positive. |
Definition at line 27 of file umachine.cc.
References assemble(), duration, duration_set(), urbi::LOCK_FUNCTION, machine, UBindFunction, UBindThreadedFunctionRename, UBindVar, and urbi::UObject::UNotifyChange().
Referenced by UMachine().
urbi::UVar UMachine::duration [private] |
The duration of the assembly process.
Definition at line 45 of file umachine.hh.
Referenced by init().
Machine* UMachine::machine [private] |
The actual machine, wrapped in this UObject.
Definition at line 48 of file umachine.hh.
Referenced by assemble(), duration_set(), and init().