OpenDDS  Snapshot(2023/04/28-20:55)
Public Member Functions | Public Attributes | List of all members
Update::ActorStrt< QosSeq, QosSeq, ACE_CString, BinSeq, ContentSubscriptionBin, BinSeq > Struct Template Reference
Collaboration diagram for Update::ActorStrt< QosSeq, QosSeq, ACE_CString, BinSeq, ContentSubscriptionBin, BinSeq >:
Collaboration graph
[legend]

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
 
ACE_CDR::ULong transportContext
 
BinSeq serializedTypeInfo
 
ContentSubscriptionBin contentSubscriptionProfile
 

Detailed Description

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

Definition at line 127 of file PersistenceUpdater.cpp.

Constructor & Destructor Documentation

◆ ActorStrt()

Definition at line 143 of file PersistenceUpdater.cpp.

References OPENDDS_BEGIN_VERSIONED_NAMESPACE_DECL::assign(), Update::ActorStrt< PSQ, RWQ, C, T, CSP, STI >::callback, Update::ActorStrt< PSQ, RWQ, C, T, CSP, STI >::contentSubscriptionProfile, Update::ActorStrt< PSQ, RWQ, C, T, CSP, STI >::drdwQos, Update::ContentSubscriptionBin::exprParams, Update::ContentSubscriptionBin::filterClassName, Update::ContentSubscriptionBin::filterExpr, Update::ActorStrt< PSQ, RWQ, C, T, CSP, STI >::pubsubQos, and Update::ActorStrt< PSQ, RWQ, C, T, CSP, STI >::transportInterfaceInfo.

145  : domainId(actor.domainId),
146  actorId(actor.actorId),
147  topicId(actor.topicId),
148  participantId(actor.participantId), type(actor.type)
149  , transportContext(actor.transportContext)
150  {
151  assign(callback, actor.callback.c_str(), allocator);
152 
153  pubsubQos.first = actor.pubsubQos.first;
154  assign(pubsubQos.second, actor.pubsubQos.second, allocator);
155 
156  drdwQos.first = actor.drdwQos.first;
157  assign(drdwQos.second, actor.drdwQos.second, allocator);
158 
159  assign(transportInterfaceInfo, actor.transportInterfaceInfo, allocator);
160 
162  ACE_CString(actor.contentSubscriptionProfile.filterClassName.c_str(),
163  allocator);
165  ACE_CString(actor.contentSubscriptionProfile.filterExpr.c_str(),
166  allocator);
168  actor.contentSubscriptionProfile.exprParams, allocator);
169  }
const char * c_str(void) const
void assign(ACE_CString &to, const char *from, Update::PersistenceUpdater::ALLOCATOR *allocator)

Member Function Documentation

◆ cleanup()

Definition at line 171 of file PersistenceUpdater.cpp.

References Update::ContentSubscriptionBin::exprParams, ACE_String_Base< char >::fast_clear(), ACE_String_Base< char >::fast_rep(), ACE_Allocator_Adapter< class >::free(), and ACE_String_Base< char >::length().

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

172  {
173  if (callback.length() > 0)
174  {
175  char* strMemory = const_cast<char*>(callback.fast_rep());
177  allocator->free(strMemory);
178  }
179 
180  allocator->free(pubsubQos.second.second);
181  allocator->free(drdwQos.second.second);
182  allocator->free(transportInterfaceInfo.second);
183  allocator->free(contentSubscriptionProfile.exprParams.second);
184  }
const char * fast_rep(void) const
size_type length(void) const

Member Data Documentation

◆ actorId

Definition at line 131 of file PersistenceUpdater.cpp.

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

◆ callback

Definition at line 135 of file PersistenceUpdater.cpp.

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

◆ contentSubscriptionProfile

◆ domainId

Definition at line 130 of file PersistenceUpdater.cpp.

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

◆ drdwQos

◆ participantId

Definition at line 133 of file PersistenceUpdater.cpp.

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

◆ pubsubQos

◆ serializedTypeInfo

Definition at line 140 of file PersistenceUpdater.cpp.

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

◆ topicId

Definition at line 132 of file PersistenceUpdater.cpp.

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

◆ transportContext

Definition at line 139 of file PersistenceUpdater.cpp.

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

◆ transportInterfaceInfo

Definition at line 138 of file PersistenceUpdater.cpp.

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

◆ type

Definition at line 134 of file PersistenceUpdater.cpp.

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


The documentation for this struct was generated from the following file: