Update::ActorStrt< QosSeq, QosSeq, ACE_CString, BinSeq, ContentSubscriptionBin > Struct Template Reference

Collaboration diagram for Update::ActorStrt< QosSeq, QosSeq, ACE_CString, BinSeq, ContentSubscriptionBin >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ActorStrt (const DActor &actor, PersistenceUpdater::ALLOCATOR *allocator)
void cleanup (PersistenceUpdater::ALLOCATOR *allocator)

Public Attributes

DDS::DomainId_t domainId
IdType actorId
IdType topicId
IdType participantId
ActorType type
ACE_CString callback
QosSeq pubsubQos
QosSeq drdwQos
BinSeq transportInterfaceInfo
ContentSubscriptionBin contentSubscriptionProfile

Detailed Description

template<>
struct Update::ActorStrt< QosSeq, QosSeq, ACE_CString, BinSeq, ContentSubscriptionBin >

Definition at line 128 of file PersistenceUpdater.cpp.


Constructor & Destructor Documentation

Definition at line 141 of file PersistenceUpdater.cpp.

References OpenDDS::DCPS::assign(), Update::ActorStrt< PSQ, RWQ, C, T, CSP >::callback, Update::ActorStrt< PSQ, RWQ, C, T, CSP >::contentSubscriptionProfile, Update::ActorStrt< PSQ, RWQ, C, T, CSP >::drdwQos, Update::ActorStrt< PSQ, RWQ, C, T, CSP >::pubsubQos, and Update::ActorStrt< PSQ, RWQ, C, T, CSP >::transportInterfaceInfo.

00143     : domainId(actor.domainId),
00144       actorId(actor.actorId),
00145       topicId(actor.topicId),
00146       participantId(actor.participantId), type(actor.type)
00147   {
00148     assign(callback, actor.callback.c_str(), allocator);
00149 
00150     pubsubQos.first = actor.pubsubQos.first;
00151     assign(pubsubQos.second, actor.pubsubQos.second, allocator);
00152 
00153     drdwQos.first = actor.drdwQos.first;
00154     assign(drdwQos.second, actor.drdwQos.second, allocator);
00155 
00156     assign(transportInterfaceInfo, actor.transportInterfaceInfo, allocator);
00157 
00158     contentSubscriptionProfile.filterClassName =
00159       ACE_CString(actor.contentSubscriptionProfile.filterClassName.c_str(),
00160                   allocator);
00161     contentSubscriptionProfile.filterExpr =
00162       ACE_CString(actor.contentSubscriptionProfile.filterExpr.c_str(),
00163                   allocator);
00164     assign(contentSubscriptionProfile.exprParams,
00165       actor.contentSubscriptionProfile.exprParams, allocator);
00166   }

Here is the call graph for this function:


Member Function Documentation

Definition at line 168 of file PersistenceUpdater.cpp.

References Update::ActorStrt< PSQ, RWQ, C, T, CSP >::callback, cleanup(), Update::ActorStrt< PSQ, RWQ, C, T, CSP >::contentSubscriptionProfile, Update::ActorStrt< PSQ, RWQ, C, T, CSP >::drdwQos, ACE_Allocator_Adapter< class >::free(), Update::ActorStrt< PSQ, RWQ, C, T, CSP >::pubsubQos, and Update::ActorStrt< PSQ, RWQ, C, T, CSP >::transportInterfaceInfo.

Referenced by Update::PersistenceUpdater::destroy().

00169   {
00170     if (callback.length() > 0)
00171     {
00172       char* strMemory = const_cast<char*>(callback.fast_rep());
00173       callback.fast_clear();
00174       allocator->free(strMemory);
00175     }
00176 
00177     allocator->free(pubsubQos.second.second);
00178     allocator->free(drdwQos.second.second);
00179     allocator->free(transportInterfaceInfo.second);
00180     allocator->free(contentSubscriptionProfile.exprParams.second);
00181   }

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 131 of file PersistenceUpdater.cpp.

Referenced by Update::PersistenceUpdater::requestImage().

Definition at line 135 of file PersistenceUpdater.cpp.

Referenced by Update::PersistenceUpdater::requestImage().

Definition at line 130 of file PersistenceUpdater.cpp.

Referenced by Update::PersistenceUpdater::requestImage().

Definition at line 133 of file PersistenceUpdater.cpp.

Referenced by Update::PersistenceUpdater::requestImage().

Definition at line 132 of file PersistenceUpdater.cpp.

Referenced by Update::PersistenceUpdater::requestImage().

Definition at line 138 of file PersistenceUpdater.cpp.

Referenced by Update::PersistenceUpdater::requestImage().

Definition at line 134 of file PersistenceUpdater.cpp.

Referenced by Update::PersistenceUpdater::requestImage().


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 10 Aug 2018 for OpenDDS by  doxygen 1.6.1