38 #ifndef NAMESERVERREGISTRATION_HPP 39 #define NAMESERVERREGISTRATION_HPP 42 #include <boost/call_traits.hpp> 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. If an object with such a name already exists, the present one will no...
Utility class to register a given object with a nameserver, and deregister upon destruction.
NameServer< T > * mnameserver
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.