38 #ifndef NAMESERVERREGISTRATION_HPP 39 #define NAMESERVERREGISTRATION_HPP 42 #include <boost/call_traits.hpp> 58 typedef std::string NameType;
72 typename boost::call_traits<T>::const_reference
object )
73 : mnameserver( &nameserver ), mobj( object )
80 if ( mnameserver != 0 )
87 #endif // NAMESERVERREGISTRATION_HPP
bool registerObject(const ValueType obj, const NameType &name)
Register an object with a name.
Utility class to register a given object with a nameserver, and deregister upon destruction.
NameServerRegistrator(typename boost::call_traits< NameServer< T > >::reference nameserver, const NameType &name, typename boost::call_traits< T >::const_reference object)
void unregisterObject(const ValueType obj)
Remove an object from the nameserver registrations.
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.