#include <TopicSettings.h>
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_ |
Definition at line 10 of file TopicSettings.h.
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 }
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().
Definition at line 14 of file TopicSettings.h.
Referenced by FACE::TS::Create_Connection(), and set().