Utility class to register a given object with a nameserver, and deregister upon destruction. More...
#include <rtt/NameServerRegistrator.hpp>
Public Member Functions | |
NameServerRegistrator (typename boost::call_traits< NameServer< T > >::reference nameserver, const NameType &name, typename boost::call_traits< T >::const_reference object) |
Utility class to register a given object with a nameserver, and deregister upon destruction.
Usage: you inherit from this class, and call it's constructor in your classes constructor, then your object will be registered with the nameserver you specify, and will unregister the object on destruction.
T | the class you wish to contain in the nameserver |
Definition at line 55 of file NameServerRegistrator.hpp.