RTI Connext DDS Micro C API
Version 4.0.1
|
Functions | |
RTI_BOOL | RT_Registry_register (RT_Registry_T *self, const char *name, struct RT_ComponentFactoryI *intf, struct RT_ComponentFactoryProperty *property, struct RT_ComponentFactoryListener *listener) |
<<cert>> Register a factory of RT components | |
RTI_BOOL | RT_Registry_unregister (RT_Registry_T *self, const char *name, struct RT_ComponentFactoryProperty **property, struct RT_ComponentFactoryListener **listener) |
<<cert>> Remove a component factory from the registry | |
RTI_BOOL | RT_ComponentFactoryId_set_name (RT_ComponentFactoryId_T *id, const char *const name) |
Assign a name to a RT_ComponentFactoryId_T variable. |
The run-time module (RT) manages RTI Connext Micro modules. It provides a common interface to add, remove, and lookup components.
RTI_BOOL RT_Registry_register | ( | RT_Registry_T * | self, |
const char * | name, | ||
struct RT_ComponentFactoryI * | intf, | ||
struct RT_ComponentFactoryProperty * | property, | ||
struct RT_ComponentFactoryListener * | listener | ||
) |
<<cert>> Register a factory of RT components
In order to make a component available, it is necessary to register a factory for the components. The factory is responsible for creating and deleting components.
The name of the factory must be unique. Otherwise, if a factory already exists with the the same name, the registration will fail.
self | <<in>> Cannot be NULL. |
name | <<in>> Name of the component factory |
intf | <<in>> Pointer to the implementation of the factory interface |
property | <<in>> Properties with which to create the factory |
listener | <<in>> The listener to install with the factory |
RTI_BOOL RT_Registry_unregister | ( | RT_Registry_T * | self, |
const char * | name, | ||
struct RT_ComponentFactoryProperty ** | property, | ||
struct 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.
self | <<in>> Cannot be NULL. |
name | <<in>> Name of the component factory |
property | <<in>> Properties with which the factory was created |
listener | <<in>> The listener installed with the factory |
RTI_BOOL RT_ComponentFactoryId_set_name | ( | RT_ComponentFactoryId_T * | id, |
const char *const | name | ||
) |