ConnectionSettings.h

Go to the documentation of this file.
00001 #ifndef OPENDDS_CONNECTION_SETTINGS_H
00002 #define OPENDDS_CONNECTION_SETTINGS_H
00003 
00004 #include "FACE/TS_common.hpp"
00005 #include "dds/DCPS/PoolAllocator.h"
00006 #include "FACE/OpenDDS_FACE_Export.h"
00007 
00008 namespace OpenDDS { namespace FaceTSS { namespace config {
00009 
00010 class OpenDDS_FACE_Export ConnectionSettings {
00011 public:
00012   ConnectionSettings();
00013 
00014   int set(const char* name, const char* value);
00015 
00016   const char* datawriter_qos_name() const;
00017   const char* datareader_qos_name() const;
00018   const char* publisher_qos_name() const;
00019   const char* subscriber_qos_name() const;
00020   const char* config_name() const;
00021 
00022   bool datawriter_qos_set() const;
00023   bool datareader_qos_set() const;
00024   bool publisher_qos_set() const;
00025   bool subscriber_qos_set() const;
00026   bool config_set() const;
00027 
00028   char topic_name_[64];
00029   char datawriter_qos_name_[64]; // QOS name of datawriter
00030   char datareader_qos_name_[64]; // QOS name of datareader
00031   char publisher_qos_name_[64];  // QOS name of publisher
00032   char subscriber_qos_name_[64]; // QOS name of subscriber
00033   FACE::CONNECTION_ID_TYPE connection_id_;
00034   FACE::CONNECTION_DIRECTION_TYPE direction_;
00035   int domain_id_;
00036   int participant_id_;
00037   char config_name_[64];
00038 };
00039 
00040 typedef OPENDDS_MAP(OPENDDS_STRING, ConnectionSettings) ConnectionMap;
00041 
00042 } } }
00043 
00044 #endif

Generated on Fri Feb 12 20:05:19 2016 for OpenDDS by  doxygen 1.4.7