RTI Connext DDS Micro C++ API  Version 3.0.2
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Groups
RTRegistry Class Reference

<<eXtension>> A run-time component factory. More...

#include <dds_cpp_rt.hxx>

List of all members.

Public Member Functions

bool register_component (const char *name, RT_ComponentFactoryI *intf, RT_ComponentFactoryProperty *property, RT_ComponentFactoryListener *listener)
bool unregister (const char *name, RT_ComponentFactoryProperty **property, RT_ComponentFactoryListener **listener)
 <<cert>> Remove a component factory from the registry

Static Protected Member Functions

static RTRegistryget_instance ()
static void delete_instance ()

Detailed Description

<<eXtension>> A run-time component factory.


Member Function Documentation

bool RTRegistry::register_component ( const char *  name,
RT_ComponentFactoryI *  intf,
RT_ComponentFactoryProperty *  property,
RT_ComponentFactoryListener *  listener 
)
bool RTRegistry::unregister ( const char *  name,
RT_ComponentFactoryProperty **  property,
RT_ComponentFactoryListener **  listener 
)

<<cert>> Remove a component factory from the registry

After a component factory is unregistered, it will no longer be possible to create or delete components with the factory.

Parameters:
registry<<in>> Registry from which to unregister the component factory
name<<in>> Name of the component factory
property<<in>> Properties with which the factory was created
listener<<in>> The listener installed with the factory
Returns:
RTI_TRUE on success, RTI_FALSE on failure
See also:
::register_component
static RTRegistry* RTRegistry::get_instance ( )
staticprotected
static void RTRegistry::delete_instance ( )
staticprotected

RTI Connext DDS Micro C++ API Version 3.0.2 Copyright © Thu Dec 12 2019 Real-Time Innovations, Inc