Public Member Functions | |
TopicStrt (const DTopic &topic, PersistenceUpdater::ALLOCATOR *allocator) | |
void | cleanup (PersistenceUpdater::ALLOCATOR *allocator) |
Public Attributes | |
DDS::DomainId_t | domainId |
IdType | topicId |
IdType | participantId |
ACE_CString | name |
ACE_CString | dataType |
QosSeq | topicQos |
Definition at line 52 of file PersistenceUpdater.cpp.
Update::TopicStrt< QosSeq, ACE_CString >::TopicStrt | ( | const DTopic & | topic, | |
PersistenceUpdater::ALLOCATOR * | allocator | |||
) | [inline] |
Definition at line 60 of file PersistenceUpdater.cpp.
References OpenDDS::DCPS::assign(), Update::TopicStrt< Q, S >::dataType, Update::TopicStrt< Q, S >::name, Update::TopicQos, and Update::TopicStrt< Q, S >::topicQos.
00062 : domainId(topic.domainId), 00063 topicId(topic.topicId), 00064 participantId(topic.participantId) 00065 { 00066 assign(name, topic.name.c_str(), allocator); 00067 assign(dataType, topic.dataType.c_str(), allocator); 00068 00069 topicQos.first = TopicQos; 00070 assign(topicQos.second, topic.topicQos.second, allocator); 00071 }
void Update::TopicStrt< QosSeq, ACE_CString >::cleanup | ( | PersistenceUpdater::ALLOCATOR * | allocator | ) | [inline] |
Definition at line 73 of file PersistenceUpdater.cpp.
References Update::TopicStrt< Q, S >::dataType, Update::TopicStrt< Q, S >::name, and Update::TopicStrt< Q, S >::topicQos.
Referenced by Update::PersistenceUpdater::destroy().
00074 { 00075 if (name.length() > 0) 00076 { 00077 char* strMemory = const_cast<char*>(name.fast_rep()); 00078 name.fast_clear(); 00079 allocator->free(strMemory); 00080 } 00081 if (dataType.length() > 0) 00082 { 00083 char* strMemory = const_cast<char*>(dataType.fast_rep()); 00084 dataType.fast_clear(); 00085 allocator->free(strMemory); 00086 } 00087 00088 allocator->free(topicQos.second.second); 00089 }
ACE_CString Update::TopicStrt< QosSeq, ACE_CString >::dataType |
Definition at line 57 of file PersistenceUpdater.cpp.
DDS::DomainId_t Update::TopicStrt< QosSeq, ACE_CString >::domainId |
Definition at line 53 of file PersistenceUpdater.cpp.
ACE_CString Update::TopicStrt< QosSeq, ACE_CString >::name |
Definition at line 56 of file PersistenceUpdater.cpp.
IdType Update::TopicStrt< QosSeq, ACE_CString >::participantId |
Definition at line 55 of file PersistenceUpdater.cpp.
IdType Update::TopicStrt< QosSeq, ACE_CString >::topicId |
Definition at line 54 of file PersistenceUpdater.cpp.
Referenced by Update::PersistenceUpdater::create().
QosSeq Update::TopicStrt< QosSeq, ACE_CString >::topicQos |
Definition at line 58 of file PersistenceUpdater.cpp.
Referenced by Update::PersistenceUpdater::update().