Orocos Real-Time Toolkit  2.8.3
Public Member Functions | List of all members
RTT::dev::NameServerRegistrator< T > Class Template Reference

Utility class to register a given object with a nameserver, and deregister upon destruction. More...

#include <rtt/extras/dev/NameServerRegistrator.hpp>

Public Member Functions

 NameServerRegistrator ()
 
 NameServerRegistrator (typename boost::call_traits< NameServer< T > >::reference nameserver, const NameType &name, typename boost::call_traits< T >::const_reference object)
 
 ~NameServerRegistrator ()
 

Detailed Description

template<class T>
class RTT::dev::NameServerRegistrator< T >

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.

Parameters
Tthe class you wish to contain in the nameserver

Definition at line 56 of file NameServerRegistrator.hpp.

Constructor & Destructor Documentation

template<class T>
RTT::dev::NameServerRegistrator< T >::NameServerRegistrator ( )
inline

Definition at line 67 of file NameServerRegistrator.hpp.

template<class T>
RTT::dev::NameServerRegistrator< T >::NameServerRegistrator ( typename boost::call_traits< NameServer< T > >::reference  nameserver,
const NameType &  name,
typename boost::call_traits< T >::const_reference  object 
)
inline

Definition at line 71 of file NameServerRegistrator.hpp.

template<class T>
RTT::dev::NameServerRegistrator< T >::~NameServerRegistrator ( )
inline

Definition at line 78 of file NameServerRegistrator.hpp.


The documentation for this class was generated from the following file: