OpenDDS  Snapshot(2023/04/28-20:55)
ConnectionSettings.h
Go to the documentation of this file.
1 #ifndef OPENDDS_FACE_CONFIG_CONNECTIONSETTINGS_H
2 #define OPENDDS_FACE_CONFIG_CONNECTIONSETTINGS_H
3 
4 #include "FACE/TS_common.hpp"
7 #include "FACE/OpenDDS_FACE_Export.h"
8 
10 
11 namespace OpenDDS { namespace FaceTSS { namespace config {
12 
13 class OpenDDS_FACE_Export ConnectionSettings {
14 public:
15  static const size_t ALLOWABLE_NAME_LEN = 64;
16 
18 
19  int set(const char* name, const char* value);
20 
21  const char* datawriter_qos_name() const;
22  const char* datareader_qos_name() const;
23  const char* publisher_qos_name() const;
24  const char* subscriber_qos_name() const;
25  const char* config_name() const;
26 
27  bool datawriter_qos_set() const;
28  bool datareader_qos_set() const;
29  bool publisher_qos_set() const;
30  bool subscriber_qos_set() const;
31  bool config_set() const;
32 
33  char topic_name_[ALLOWABLE_NAME_LEN];
34  char datawriter_qos_name_[ALLOWABLE_NAME_LEN]; // QOS name of datawriter
35  char datareader_qos_name_[ALLOWABLE_NAME_LEN]; // QOS name of datareader
36  char publisher_qos_name_[ALLOWABLE_NAME_LEN]; // QOS name of publisher
37  char subscriber_qos_name_[ALLOWABLE_NAME_LEN]; // QOS name of subscriber
38  FACE::CONNECTION_ID_TYPE connection_id_;
39  FACE::CONNECTION_DIRECTION_TYPE direction_;
42  char config_name_[ALLOWABLE_NAME_LEN];
43 };
44 
45 typedef OPENDDS_MAP(OPENDDS_STRING, ConnectionSettings) ConnectionMap;
46 
47 } } }
48 
50 
51 #endif
const LogLevel::Value value
Definition: debug.cpp:61
typedef OPENDDS_MAP(OPENDDS_STRING, ConnectionSettings) ConnectionMap
#define OPENDDS_STRING
FACE::CONNECTION_DIRECTION_TYPE direction_
const char *const name
Definition: debug.cpp:60
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
The Internal API and Implementation of OpenDDS.
Definition: AddressCache.h:28