DDS4CCM
1.0.8
|
#include <TypeSupport.h>
Static Public Member Functions | |
close | |
Clears all internal maps, freeing the memory. | |
static void | close (void) |
register_tye | |
Registering a type-factory combination per DomainParticipant. Returns false if insertions to one of the maps fails or if there's already a factory for the given type registered. Returns true if insertions succeeds. | |
static bool | register_type (const char *type, DDS_TypeFactory_i *factory,::DDS::DomainParticipant_ptr dp) |
unregister_tye | |
Unregistering a type-factory combination for a specific DomainParticipant. If the combination cannot be found, this method returns nil. | |
static DDS_TypeFactory_i * | unregister_type (const char *type,::DDS::DomainParticipant_ptr dp) |
Static Private Member Functions | |
get_factory_i | |
Searches for a TypeFactory, based on a type and DomainParticipant | |
static DDS_TypeFactory_i * | get_factory_i (const char *type,::DDS::DomainParticipant_ptr dp) |
register_factory_i | |
Insert a new type-factory combination per DomainParticipant and type. Returns true if no factory for the given type was registered. Returns false if insertions to the internal lists fail. | |
static bool | register_factory_i (const char *type, DDS_TypeFactory_i *f,::DDS::DomainParticipant_ptr dp) |
unregister_participant_factory_i | |
Erasing the registered type-factory combination per DomainParticipant. If the latest type-factory combination is removed, the DomainParticipant will also be removed from the internal lists. This method does not free any memory! | |
static void | unregister_participant_factory_i (const char *type,::DDS::DomainParticipant_ptr dp) |
create_datawriter | |
typedef std::map< ACE_CString, DDS_TypeFactory_i * > | typefactories |
typedef std::map < ::DDS::DomainParticipant_ptr, typefactories > | participantfactories |
static participantfactories | participant_factories |
::DDS::DataWriter_ptr | create_datawriter (DDSDataWriter *dw,::DDS::DomainParticipant_ptr dp,::DDS::Publisher_ptr pub) |
::DDS::DataReader_ptr | create_datareader (DDSDataReader *dr,::DDS::DomainParticipant_ptr dp,::DDS::Subscriber_ptr sub) |
DDS_TypeSupport_i (void) | |
~DDS_TypeSupport_i (void) |
typedef std::map< ::DDS::DomainParticipant_ptr, typefactories > CIAO::NDDS::DDS_TypeSupport_i::participantfactories [private] |
typedef std::map< ACE_CString, DDS_TypeFactory_i* > CIAO::NDDS::DDS_TypeSupport_i::typefactories [private] |
CIAO::NDDS::DDS_TypeSupport_i::DDS_TypeSupport_i | ( | void | ) | [private] |
CIAO::NDDS::DDS_TypeSupport_i::~DDS_TypeSupport_i | ( | void | ) | [private] |
void CIAO::NDDS::DDS_TypeSupport_i::close | ( | void | ) | [static] |
DDS::DataReader_ptr CIAO::NDDS::DDS_TypeSupport_i::create_datareader | ( | DDSDataReader * | dr, |
::DDS::DomainParticipant_ptr | dp, | ||
::DDS::Subscriber_ptr | sub | ||
) | [static] |
DDS::DataWriter_ptr CIAO::NDDS::DDS_TypeSupport_i::create_datawriter | ( | DDSDataWriter * | dw, |
::DDS::DomainParticipant_ptr | dp, | ||
::DDS::Publisher_ptr | pub | ||
) | [static] |
DDS_TypeFactory_i * CIAO::NDDS::DDS_TypeSupport_i::get_factory_i | ( | const char * | type, |
::DDS::DomainParticipant_ptr | dp | ||
) | [static, private] |
bool CIAO::NDDS::DDS_TypeSupport_i::register_factory_i | ( | const char * | type, |
DDS_TypeFactory_i * | f, | ||
::DDS::DomainParticipant_ptr | dp | ||
) | [static, private] |
bool CIAO::NDDS::DDS_TypeSupport_i::register_type | ( | const char * | type, |
DDS_TypeFactory_i * | factory, | ||
::DDS::DomainParticipant_ptr | dp | ||
) | [static] |
void CIAO::NDDS::DDS_TypeSupport_i::unregister_participant_factory_i | ( | const char * | type, |
::DDS::DomainParticipant_ptr | dp | ||
) | [static, private] |
DDS_TypeFactory_i * CIAO::NDDS::DDS_TypeSupport_i::unregister_type | ( | const char * | type, |
::DDS::DomainParticipant_ptr | dp | ||
) | [static] |
std::map<::DDS::DomainParticipant_ptr,::CIAO::NDDS::DDS_TypeSupport_i::typefactories > CIAO::NDDS::DDS_TypeSupport_i::participant_factories [static, private] |