End Coherent Change message. More...
#include <CoherentChangeControl.h>
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_ |
End Coherent Change message.
Definition at line 44 of file CoherentChangeControl.h.
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 }
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 }
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 }
Definition at line 46 of file CoherentChangeControl.h.
Referenced by OpenDDS::DCPS::DataWriterImpl::end_coherent_changes(), max_marshaled_size(), reset(), and OpenDDS::DCPS::WriterInfo::set_group_info().
Definition at line 47 of file CoherentChangeControl.h.
Referenced by OpenDDS::DCPS::DataWriterImpl::end_coherent_changes(), max_marshaled_size(), reset(), and OpenDDS::DCPS::WriterInfo::set_group_info().
GroupCoherentSamples OpenDDS::DCPS::CoherentChangeControl::group_coherent_samples_ |
Definition at line 49 of file CoherentChangeControl.h.
Referenced by OpenDDS::DCPS::DataWriterImpl::end_coherent_changes(), max_marshaled_size(), reset(), and OpenDDS::DCPS::WriterInfo::set_group_info().
Definition at line 48 of file CoherentChangeControl.h.
Referenced by OpenDDS::DCPS::DataWriterImpl::end_coherent_changes(), max_marshaled_size(), reset(), and OpenDDS::DCPS::WriterInfo::set_group_info().