#include <CoherentChangeControl.h>
Collaboration diagram for OpenDDS::DCPS::CoherentChangeControl:
Public Member Functions | |
CoherentChangeControl () | |
Default constructor. | |
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_ |
Definition at line 40 of file CoherentChangeControl.h.
ACE_INLINE OpenDDS::DCPS::CoherentChangeControl::CoherentChangeControl | ( | ) |
Default constructor.
Definition at line 31 of file CoherentChangeControl.inl.
00032 : coherent_samples_ (), 00033 group_coherent_ (false), 00034 publisher_id_ (GUID_UNKNOWN) 00035 { 00036 }
ACE_INLINE size_t OpenDDS::DCPS::CoherentChangeControl::max_marshaled_size | ( | ) |
Similar to IDL compiler generated methods.
Definition at line 41 of file CoherentChangeControl.inl.
References coherent_samples_, group_coherent_samples_, and publisher_id_.
Referenced by OpenDDS::DCPS::DataWriterImpl::end_coherent_changes().
00042 { 00043 size_t sz = sizeof(this->coherent_samples_) 00044 + sizeof(this->group_coherent_); 00045 if (this->group_coherent_) { 00046 sz += sizeof(this->publisher_id_); 00047 sz += sizeof (ACE_UINT32); 00048 sz += this->group_coherent_samples_.size () * 00049 (sizeof(PublicationId) + sizeof(this->coherent_samples_)); 00050 } 00051 00052 return sz; 00053 }
ACE_INLINE void OpenDDS::DCPS::CoherentChangeControl::reset | ( | ) |
Definition at line 57 of file CoherentChangeControl.inl.
References coherent_samples_, group_coherent_, group_coherent_samples_, OpenDDS::DCPS::GUID_UNKNOWN, and publisher_id_.
00058 { 00059 this->coherent_samples_ = WriterCoherentSample(); 00060 this->group_coherent_ = false; 00061 this->publisher_id_ = GUID_UNKNOWN; 00062 this->group_coherent_samples_.clear(); 00063 }
Definition at line 42 of file CoherentChangeControl.h.
Referenced by OpenDDS::DCPS::DataWriterImpl::end_coherent_changes(), max_marshaled_size(), OpenDDS::DCPS::operator<<(), OpenDDS::DCPS::operator>>(), reset(), and OpenDDS::DCPS::WriterInfo::set_group_info().
Definition at line 43 of file CoherentChangeControl.h.
Referenced by OpenDDS::DCPS::DataWriterImpl::end_coherent_changes(), OpenDDS::DCPS::operator<<(), OpenDDS::DCPS::operator>>(), reset(), and OpenDDS::DCPS::WriterInfo::set_group_info().
GroupCoherentSamples OpenDDS::DCPS::CoherentChangeControl::group_coherent_samples_ |
Definition at line 45 of file CoherentChangeControl.h.
Referenced by OpenDDS::DCPS::DataWriterImpl::end_coherent_changes(), max_marshaled_size(), OpenDDS::DCPS::operator<<(), OpenDDS::DCPS::operator>>(), reset(), and OpenDDS::DCPS::WriterInfo::set_group_info().
Definition at line 44 of file CoherentChangeControl.h.
Referenced by OpenDDS::DCPS::DataWriterImpl::end_coherent_changes(), max_marshaled_size(), OpenDDS::DCPS::operator<<(), OpenDDS::DCPS::operator>>(), reset(), and OpenDDS::DCPS::WriterInfo::set_group_info().