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 55 of file PersistenceUpdater.cpp.
Update::TopicStrt< QosSeq, ACE_CString >::TopicStrt | ( | const DTopic & | topic, | |
PersistenceUpdater::ALLOCATOR * | allocator | |||
) | [inline] |
Definition at line 63 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.
00065 : domainId(topic.domainId), 00066 topicId(topic.topicId), 00067 participantId(topic.participantId) 00068 { 00069 assign(name, topic.name.c_str(), allocator); 00070 assign(dataType, topic.dataType.c_str(), allocator); 00071 00072 topicQos.first = TopicQos; 00073 assign(topicQos.second, topic.topicQos.second, allocator); 00074 }
void Update::TopicStrt< QosSeq, ACE_CString >::cleanup | ( | PersistenceUpdater::ALLOCATOR * | allocator | ) | [inline] |
Definition at line 76 of file PersistenceUpdater.cpp.
References cleanup(), Update::TopicStrt< Q, S >::dataType, ACE_Allocator_Adapter< class >::free(), Update::TopicStrt< Q, S >::name, and Update::TopicStrt< Q, S >::topicQos.
Referenced by Update::PersistenceUpdater::destroy().
00077 { 00078 if (name.length() > 0) 00079 { 00080 char* strMemory = const_cast<char*>(name.fast_rep()); 00081 name.fast_clear(); 00082 allocator->free(strMemory); 00083 } 00084 if (dataType.length() > 0) 00085 { 00086 char* strMemory = const_cast<char*>(dataType.fast_rep()); 00087 dataType.fast_clear(); 00088 allocator->free(strMemory); 00089 } 00090 00091 allocator->free(topicQos.second.second); 00092 }
Definition at line 60 of file PersistenceUpdater.cpp.
Referenced by Update::PersistenceUpdater::requestImage().
Definition at line 56 of file PersistenceUpdater.cpp.
Referenced by Update::PersistenceUpdater::requestImage().
Definition at line 59 of file PersistenceUpdater.cpp.
Referenced by Update::PersistenceUpdater::requestImage().
Definition at line 58 of file PersistenceUpdater.cpp.
Referenced by Update::PersistenceUpdater::requestImage().
Definition at line 57 of file PersistenceUpdater.cpp.
Referenced by Update::PersistenceUpdater::requestImage().
Definition at line 61 of file PersistenceUpdater.cpp.
Referenced by Update::PersistenceUpdater::requestImage(), and Update::PersistenceUpdater::update().