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 125 of file PersistenceUpdater.cpp.


Constructor & Destructor Documentation

Update::ActorStrt< QosSeq, QosSeq, ACE_CString, BinSeq, ContentSubscriptionBin >::ActorStrt ( const DActor actor,
PersistenceUpdater::ALLOCATOR allocator 
) [inline]

Definition at line 138 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.

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


Member Function Documentation

void Update::ActorStrt< QosSeq, QosSeq, ACE_CString, BinSeq, ContentSubscriptionBin >::cleanup ( PersistenceUpdater::ALLOCATOR allocator  )  [inline]

Definition at line 165 of file PersistenceUpdater.cpp.

References 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.

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

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


Member Data Documentation

IdType Update::ActorStrt< QosSeq, QosSeq, ACE_CString, BinSeq, ContentSubscriptionBin >::actorId

Definition at line 128 of file PersistenceUpdater.cpp.

ACE_CString Update::ActorStrt< QosSeq, QosSeq, ACE_CString, BinSeq, ContentSubscriptionBin >::callback

Definition at line 132 of file PersistenceUpdater.cpp.

ContentSubscriptionBin Update::ActorStrt< QosSeq, QosSeq, ACE_CString, BinSeq, ContentSubscriptionBin >::contentSubscriptionProfile

Definition at line 136 of file PersistenceUpdater.cpp.

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

DDS::DomainId_t Update::ActorStrt< QosSeq, QosSeq, ACE_CString, BinSeq, ContentSubscriptionBin >::domainId

Definition at line 127 of file PersistenceUpdater.cpp.

QosSeq Update::ActorStrt< QosSeq, QosSeq, ACE_CString, BinSeq, ContentSubscriptionBin >::drdwQos

Definition at line 134 of file PersistenceUpdater.cpp.

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

IdType Update::ActorStrt< QosSeq, QosSeq, ACE_CString, BinSeq, ContentSubscriptionBin >::participantId

Definition at line 130 of file PersistenceUpdater.cpp.

QosSeq Update::ActorStrt< QosSeq, QosSeq, ACE_CString, BinSeq, ContentSubscriptionBin >::pubsubQos

Definition at line 133 of file PersistenceUpdater.cpp.

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

IdType Update::ActorStrt< QosSeq, QosSeq, ACE_CString, BinSeq, ContentSubscriptionBin >::topicId

Definition at line 129 of file PersistenceUpdater.cpp.

BinSeq Update::ActorStrt< QosSeq, QosSeq, ACE_CString, BinSeq, ContentSubscriptionBin >::transportInterfaceInfo

Definition at line 135 of file PersistenceUpdater.cpp.

ActorType Update::ActorStrt< QosSeq, QosSeq, ACE_CString, BinSeq, ContentSubscriptionBin >::type

Definition at line 131 of file PersistenceUpdater.cpp.


The documentation for this struct was generated from the following file:
Generated on Fri Feb 12 20:06:52 2016 for OpenDDS by  doxygen 1.4.7