OpenDDS::DCPS::CoherentChangeControl Struct Reference

End Coherent Change message. More...

#include <CoherentChangeControl.h>

Collaboration diagram for OpenDDS::DCPS::CoherentChangeControl:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CoherentChangeControl ()
size_t max_marshaled_size ()
 Similar to IDL compiler generated methods.
void reset ()

Public Attributes

WriterCoherentSample coherent_samples_
bool group_coherent_
RepoId publisher_id_
GroupCoherentSamples group_coherent_samples_

Detailed Description

End Coherent Change message.

Definition at line 44 of file CoherentChangeControl.h.


Constructor & Destructor Documentation

ACE_INLINE OpenDDS::DCPS::CoherentChangeControl::CoherentChangeControl (  ) 

Definition at line 33 of file CoherentChangeControl.inl.

00034   : coherent_samples_ (),
00035     group_coherent_ (false),
00036     publisher_id_ (GUID_UNKNOWN)
00037 {
00038 }


Member Function Documentation

ACE_INLINE size_t OpenDDS::DCPS::CoherentChangeControl::max_marshaled_size (  ) 

Similar to IDL compiler generated methods.

Definition at line 43 of file CoherentChangeControl.inl.

References coherent_samples_, group_coherent_, group_coherent_samples_, and publisher_id_.

Referenced by OpenDDS::DCPS::DataWriterImpl::end_coherent_changes().

00044 {
00045   size_t sz = sizeof(this->coherent_samples_)
00046               + sizeof(this->group_coherent_);
00047   if (this->group_coherent_) {
00048     sz += sizeof(this->publisher_id_);
00049     sz += sizeof (ACE_UINT32);
00050     sz += this->group_coherent_samples_.size () *
00051           (sizeof(PublicationId) + sizeof(this->coherent_samples_));
00052   }
00053 
00054   return sz;
00055 }

Here is the caller graph for this function:

ACE_INLINE void OpenDDS::DCPS::CoherentChangeControl::reset ( void   ) 

Definition at line 59 of file CoherentChangeControl.inl.

References coherent_samples_, group_coherent_, group_coherent_samples_, OpenDDS::DCPS::GUID_UNKNOWN, and publisher_id_.

00060 {
00061   this->coherent_samples_ = WriterCoherentSample();
00062   this->group_coherent_ = false;
00063   this->publisher_id_ = GUID_UNKNOWN;
00064   this->group_coherent_samples_.clear();
00065 }


Member Data Documentation


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

Generated on 10 Aug 2018 for OpenDDS by  doxygen 1.6.1