OpenDDS::FaceTSS::config::TopicSettings Class Reference

#include <TopicSettings.h>

List of all members.

Public Member Functions

int set (const char *name, const char *value)

Public Attributes

char type_name_ [128]
FACE::MESSAGE_TYPE_GUID platform_view_guid_
FACE::MESSAGE_SIZE_TYPE max_message_size_


Detailed Description

Definition at line 10 of file TopicSettings.h.


Member Function Documentation

int OpenDDS::FaceTSS::config::TopicSettings::set ( const char *  name,
const char *  value 
)

Definition at line 12 of file TopicSettings.cpp.

References max_message_size_, platform_view_guid_, and type_name_.

Referenced by OpenDDS::FaceTSS::config::Parser::parse_topic().

00013 {
00014   int status = 0;
00015   if (!std::strcmp(name, "platform_view_guid")) {
00016     platform_view_guid_ = atoi(value);
00017   } else if (!std::strcmp(name, "max_message_size")) {
00018     max_message_size_ = atoi(value);
00019   } else if (!std::strcmp(name, "type_name")) {
00020     std::strncpy(type_name_, value, sizeof(type_name_));
00021   } else {
00022     // no match
00023     ACE_ERROR((LM_ERROR, ACE_TEXT("Don't know of setting %C\n"), name));
00024     status = 1;
00025   }
00026 
00027   return status;
00028 }


Member Data Documentation

FACE::MESSAGE_SIZE_TYPE OpenDDS::FaceTSS::config::TopicSettings::max_message_size_

Definition at line 16 of file TopicSettings.h.

Referenced by FACE::TS::Create_Connection(), and set().

FACE::MESSAGE_TYPE_GUID OpenDDS::FaceTSS::config::TopicSettings::platform_view_guid_

Definition at line 15 of file TopicSettings.h.

Referenced by FACE::TS::Create_Connection(), and set().

char OpenDDS::FaceTSS::config::TopicSettings::type_name_[128]

Definition at line 14 of file TopicSettings.h.

Referenced by FACE::TS::Create_Connection(), and set().


The documentation for this class was generated from the following files:
Generated on Fri Feb 12 20:06:46 2016 for OpenDDS by  doxygen 1.4.7