DDS4CCM  1.0.8
CIAO::NDDS::DDS_TypeSupport_i Class Reference

#include <TypeSupport.h>

List of all members.

Static Public Member Functions


Clears all internal maps, freeing the memory.

static void close (void)

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)

Unregistering a type-factory combination for a specific DomainParticipant. If the combination cannot be found, this method returns nil.

static DDS_TypeFactory_iunregister_type (const char *type,::DDS::DomainParticipant_ptr dp)

Static Private Member Functions


Searches for a TypeFactory, based on a type and DomainParticipant

static DDS_TypeFactory_iget_factory_i (const char *type,::DDS::DomainParticipant_ptr dp)

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)

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 a type specific datareader

typedef std::map< ACE_CString,
DDS_TypeFactory_i * > 
typedef std::map
< ::DDS::DomainParticipant_ptr,
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)

Member Typedef Documentation

Constructor & Destructor Documentation

CIAO::NDDS::DDS_TypeSupport_i::DDS_TypeSupport_i ( void  ) [private]
CIAO::NDDS::DDS_TypeSupport_i::~DDS_TypeSupport_i ( void  ) [private]

Member Function Documentation

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]

Member Data Documentation

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines