#include <DDSHelper.h>
Inheritance diagram for ddsnc::DDSHelper:
Public Member Functions | |
void | disconnect () |
Public Attributes | |
DDS::TopicQos | topicQos |
Protected Member Functions | |
DDSHelper (const char *channelName) | |
DDSHelper (const char *channelName, const char *DCPSInfoRepoLoc) | |
virtual | ~DDSHelper () |
int | createParticipant () |
void | initializeTransport () |
void | initializeTopic (const char *topicName, CORBA::String_var typeName) |
void | initializeTopic (CORBA::String_var typeName) |
void | setPartitionName (const char *partitionName) |
Protected Attributes | |
DDS::DomainParticipantFactory_ptr | dpf |
OpenDDS::DCPS::TransportIdType | transport_impl_id |
DDS::DomainParticipant_var | participant |
OpenDDS::DCPS::TransportImpl_rch | transport_impl |
DDS::Topic_var | topic |
char * | partitionName |
char * | topicName |
bool | initialized |
Private Member Functions | |
void | setTopicName (const char *topicName) |
void | init (const char *channelName, const char *DCPSInfoRepoLoc) |
|
Constructor for DDSHelper, this constructor will be set the location of DCPSInfoRepo to corbaloc:iiop:127.0.0.1:3999/DCPSInfoRepo
|
|
Constructor for DDSHelper
|
|
Destructor for DDSHelper before free the varibales it call to disconnect method, if disconnect method was called, the destructor only free the variables.
|
|
|
|
Disconnect method will destroy all the DDS entities initilizated, it will release the trasport factory, shutdown the DDS participant service and set the status of the class as not initilizated. This method should be used when you want to destroy a Publisher or Subscriber object that inherit this class.
|
|
|
|
|
|
Initialize the topic and register the type supported by the topic, this method must be called after creation of the participant, initialization of the transport, creation of the Publisher or Subscriber and initialization of the type support
|
|
Locates a Transport id not in use and assign it to transport_impl_id. The transport configuration is automatically configured by TAO pluggable framework. |
|
|
|
|
|
|
|
a flag that shows the initialization status of the class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|