#include <FrameSpec.hh>
Public Types | |
typedef ObjectWithChecksum< ObjectType, ChecksumType > | self_type |
typedef ObjectWithChecksum< ObjectType, ChecksumType > | self_type |
typedef IStream | istream_type |
typedef IStream | istream_type |
typedef OStream | ostream_type |
typedef OStream | ostream_type |
Public Member Functions | |
ObjectWithChecksum (typename ObjectType::frame_spec_version_type FrameSpec) | |
Constructor - Default. | |
ObjectWithChecksum (const Description *Description, typename ObjectType::frame_spec_version_type FrameSpec) | |
Constructor. | |
ObjectWithChecksum (class_type Class, const Description *Description, typename ObjectType::frame_spec_version_type FrameSpec) | |
Constructor. | |
ObjectWithChecksum (const ObjectWithChecksum &Source) | |
copy constructor | |
ObjectWithChecksum (istream_type &Source) | |
Constructor - Stream. | |
ObjectWithChecksum (typename ObjectType::frame_spec_version_type FrameSpec) | |
Constructor - Default. | |
ObjectWithChecksum (const Description *Description, typename ObjectType::frame_spec_version_type FrameSpec) | |
Constructor. | |
ObjectWithChecksum (class_type Class, const Description *Description, typename ObjectType::frame_spec_version_type FrameSpec) | |
Constructor. | |
ObjectWithChecksum (const ObjectWithChecksum &Source) | |
copy constructor | |
ObjectWithChecksum (istream_type &Source) | |
Constructor - Stream. | |
virtual | ~ObjectWithChecksum () |
destructor | |
virtual | ~ObjectWithChecksum () |
destructor | |
virtual streamsize_type | Bytes (const StreamBase &Stream) const |
Return the number of bytes for this object. | |
virtual streamsize_type | Bytes (const StreamBase &Stream) const |
Return the number of bytes for this object. | |
virtual self_type * | Create (istream_type &Stream) const |
Virtual constructor. | |
virtual self_type * | Create (istream_type &Stream) const |
Virtual constructor. | |
virtual void | Write (ostream_type &Stream) const |
Write object to the stream. | |
virtual void | Write (ostream_type &Stream) const |
Write object to the stream. | |
Static Public Member Functions | |
static const char * | CheckSumDataClass () |
Data class to be used in class field of FrSE. | |
static const char * | CheckSumDataClass () |
Data class to be used in class field of FrSE. | |
static const char * | CheckSumDataComment () |
Comment to be used in comment field of FrSE. | |
static const char * | CheckSumDataComment () |
Comment to be used in comment field of FrSE. | |
Protected Member Functions | |
virtual streamsize_type | pBytes (const StreamBase &Stream) const=0 |
Number of bytes needed to write this structure. | |
virtual streamsize_type | pBytes (const StreamBase &Stream) const=0 |
Number of bytes needed to write this structure. | |
virtual self_type * | pCreate (istream_type &Stream) const=0 |
Virtual constructor. | |
virtual self_type * | pCreate (istream_type &Stream) const=0 |
Virtual constructor. | |
virtual void | pWrite (ostream_type &Stream) const=0 |
Write the structure to the stream. | |
virtual void | pWrite (ostream_type &Stream) const=0 |
Write the structure to the stream. | |
Private Member Functions | |
virtual Object * | Create () const |
virtual Object * | Create (std::istream &Buffer) const |
constructor - virtual | |
virtual Object * | Create () const |
virtual Object * | Create (std::istream &Buffer) const |
constructor - virtual | |
Private Attributes | |
ChecksumType | m_chkSum |
Structure checksum. | |
typedef IStream FrameCPP::Common::FrameSpec::ObjectWithChecksum< ObjectType, ChecksumType >::istream_type |
typedef IStream FrameCPP::Common::FrameSpec::ObjectWithChecksum< ObjectType, ChecksumType >::istream_type |
typedef OStream FrameCPP::Common::FrameSpec::ObjectWithChecksum< ObjectType, ChecksumType >::ostream_type |
typedef OStream FrameCPP::Common::FrameSpec::ObjectWithChecksum< ObjectType, ChecksumType >::ostream_type |
typedef ObjectWithChecksum< ObjectType, ChecksumType > FrameCPP::Common::FrameSpec::ObjectWithChecksum< ObjectType, ChecksumType >::self_type |
typedef ObjectWithChecksum< ObjectType, ChecksumType > FrameCPP::Common::FrameSpec::ObjectWithChecksum< ObjectType, ChecksumType >::self_type |
FrameCPP::Common::FrameSpec::ObjectWithChecksum< ObjectType, ChecksumType >::ObjectWithChecksum | ( | typename ObjectType::frame_spec_version_type | FrameSpec | ) |
Constructor - Default.
FrameCPP::Common::FrameSpec::ObjectWithChecksum< ObjectType, ChecksumType >::ObjectWithChecksum | ( | const Description * | Description, |
typename ObjectType::frame_spec_version_type | FrameSpec ) |
Constructor.
|
explicit |
Constructor.
FrameCPP::Common::FrameSpec::ObjectWithChecksum< ObjectType, ChecksumType >::ObjectWithChecksum | ( | const ObjectWithChecksum< ObjectType, ChecksumType > & | Source | ) |
copy constructor
FrameCPP::Common::FrameSpec::ObjectWithChecksum< ObjectType, ChecksumType >::ObjectWithChecksum | ( | istream_type & | Source | ) |
Constructor - Stream.
FrameCPP::Common::FrameSpec::ObjectWithChecksum< ObjectType, ChecksumType >::ObjectWithChecksum | ( | typename ObjectType::frame_spec_version_type | FrameSpec | ) |
Constructor - Default.
FrameCPP::Common::FrameSpec::ObjectWithChecksum< ObjectType, ChecksumType >::ObjectWithChecksum | ( | const Description * | Description, |
typename ObjectType::frame_spec_version_type | FrameSpec ) |
Constructor.
|
explicit |
Constructor.
FrameCPP::Common::FrameSpec::ObjectWithChecksum< ObjectType, ChecksumType >::ObjectWithChecksum | ( | const ObjectWithChecksum< ObjectType, ChecksumType > & | Source | ) |
copy constructor
FrameCPP::Common::FrameSpec::ObjectWithChecksum< ObjectType, ChecksumType >::ObjectWithChecksum | ( | istream_type & | Source | ) |
Constructor - Stream.
|
virtual |
destructor
Reimplemented in FrameCPP::Version_8::ObjectWithChecksum< ObjectType >, FrameCPP::Version_8::ObjectWithChecksum< ObjectType >, FrameCPP::Version_8::ObjectWithChecksum< base_object_type >, FrameCPP::Version_8::ObjectWithChecksum< base_object_type >, FrameCPP::Version_8::ObjectWithChecksum< Common::FrameH >, FrameCPP::Version_8::ObjectWithChecksum< Common::FrameH >, FrameCPP::Version_8::ObjectWithChecksum< Common::FrSH >, FrameCPP::Version_8::ObjectWithChecksum< Common::FrSH >, FrameCPP::Version_9::ObjectWithChecksum< ObjectType >, FrameCPP::Version_9::ObjectWithChecksum< ObjectType >, FrameCPP::Version_9::ObjectWithChecksum< Common::FrameH >, FrameCPP::Version_9::ObjectWithChecksum< Common::FrameH >, FrameCPP::Version_9::ObjectWithChecksum< Common::FrSH >, and FrameCPP::Version_9::ObjectWithChecksum< Common::FrSH >.
|
virtual |
destructor
Reimplemented in FrameCPP::Version_8::ObjectWithChecksum< ObjectType >, FrameCPP::Version_8::ObjectWithChecksum< ObjectType >, FrameCPP::Version_8::ObjectWithChecksum< base_object_type >, FrameCPP::Version_8::ObjectWithChecksum< base_object_type >, FrameCPP::Version_8::ObjectWithChecksum< Common::FrameH >, FrameCPP::Version_8::ObjectWithChecksum< Common::FrameH >, FrameCPP::Version_8::ObjectWithChecksum< Common::FrSH >, FrameCPP::Version_8::ObjectWithChecksum< Common::FrSH >, FrameCPP::Version_9::ObjectWithChecksum< ObjectType >, FrameCPP::Version_9::ObjectWithChecksum< ObjectType >, FrameCPP::Version_9::ObjectWithChecksum< Common::FrameH >, FrameCPP::Version_9::ObjectWithChecksum< Common::FrameH >, FrameCPP::Version_9::ObjectWithChecksum< Common::FrSH >, and FrameCPP::Version_9::ObjectWithChecksum< Common::FrSH >.
|
virtual |
Return the number of bytes for this object.
[in] | Stream | Stream characteristics used to determine the number of bytes needed to format the object for the Stream. |
|
virtual |
Return the number of bytes for this object.
[in] | Stream | Stream characteristics used to determine the number of bytes needed to format the object for the Stream. |
|
static |
Data class to be used in class field of FrSE.
|
static |
Data class to be used in class field of FrSE.
|
static |
Comment to be used in comment field of FrSE.
|
static |
Comment to be used in comment field of FrSE.
|
inlineprivatevirtual |
|
inlineprivatevirtual |
|
virtual |
Virtual constructor.
[in] | Stream | The input stream from where the object is being read. |
|
virtual |
Virtual constructor.
[in] | Stream | The input stream from where the object is being read. |
|
inlineprivatevirtual |
constructor - virtual
|
inlineprivatevirtual |
constructor - virtual
|
protectedpure virtual |
Number of bytes needed to write this structure.
[in] | Stream | The stream from which to the object is being read or written. |
Implemented in FrameCPP::Version_8::FrameHImpl::ClassicIO< T >, FrameCPP::Version_8::FrameHImpl::ClassicIO< T >, FrameCPP::Version_8::FrameHImpl::ClassicIO< FrameH >, FrameCPP::Version_8::FrameHImpl::ClassicIO< FrameH >, FrameCPP::Version_8::FrSHImpl::ClassicIO< FR_SH_T >, FrameCPP::Version_8::FrSHImpl::ClassicIO< FR_SH_T >, FrameCPP::Version_8::FrSHImpl::ClassicIO< FrSH >, FrameCPP::Version_8::FrSHImpl::ClassicIO< FrSH >, FrameCPP::Version_8::FrStatDataImpl::ClassicIO< T >, FrameCPP::Version_8::FrStatDataImpl::ClassicIO< T >, FrameCPP::Version_8::FrStatDataImpl::ClassicIO< FrStatData >, FrameCPP::Version_8::FrStatDataImpl::ClassicIO< FrStatData >, FrameCPP::Version_9::FrameHImpl::ClassicIO< T >, FrameCPP::Version_9::FrameHImpl::ClassicIO< T >, FrameCPP::Version_9::FrameHImpl::ClassicIO< FrameH >, FrameCPP::Version_9::FrameHImpl::ClassicIO< FrameH >, FrameCPP::Version_9::FrSHImpl::ClassicIO< FR_SH_T >, FrameCPP::Version_9::FrSHImpl::ClassicIO< FR_SH_T >, FrameCPP::Version_9::FrSHImpl::ClassicIO< FrSH >, and FrameCPP::Version_9::FrSHImpl::ClassicIO< FrSH >.
|
protectedpure virtual |
Number of bytes needed to write this structure.
[in] | Stream | The stream from which to the object is being read or written. |
Implemented in FrameCPP::Version_8::FrameHImpl::ClassicIO< T >, FrameCPP::Version_8::FrameHImpl::ClassicIO< T >, FrameCPP::Version_8::FrameHImpl::ClassicIO< FrameH >, FrameCPP::Version_8::FrameHImpl::ClassicIO< FrameH >, FrameCPP::Version_8::FrSHImpl::ClassicIO< FR_SH_T >, FrameCPP::Version_8::FrSHImpl::ClassicIO< FR_SH_T >, FrameCPP::Version_8::FrSHImpl::ClassicIO< FrSH >, FrameCPP::Version_8::FrSHImpl::ClassicIO< FrSH >, FrameCPP::Version_8::FrStatDataImpl::ClassicIO< T >, FrameCPP::Version_8::FrStatDataImpl::ClassicIO< T >, FrameCPP::Version_8::FrStatDataImpl::ClassicIO< FrStatData >, FrameCPP::Version_8::FrStatDataImpl::ClassicIO< FrStatData >, FrameCPP::Version_9::FrameHImpl::ClassicIO< T >, FrameCPP::Version_9::FrameHImpl::ClassicIO< T >, FrameCPP::Version_9::FrameHImpl::ClassicIO< FrameH >, FrameCPP::Version_9::FrameHImpl::ClassicIO< FrameH >, FrameCPP::Version_9::FrSHImpl::ClassicIO< FR_SH_T >, FrameCPP::Version_9::FrSHImpl::ClassicIO< FR_SH_T >, FrameCPP::Version_9::FrSHImpl::ClassicIO< FrSH >, and FrameCPP::Version_9::FrSHImpl::ClassicIO< FrSH >.
|
protectedpure virtual |
Virtual constructor.
[in] | Stream | The input stream from where the object is being read. |
Implemented in FrameCPP::Version_8::FrameHImpl::ClassicIO< T >, FrameCPP::Version_8::FrameHImpl::ClassicIO< T >, FrameCPP::Version_8::FrameHImpl::ClassicIO< FrameH >, FrameCPP::Version_8::FrameHImpl::ClassicIO< FrameH >, FrameCPP::Version_8::FrSHImpl::ClassicIO< FR_SH_T >, FrameCPP::Version_8::FrSHImpl::ClassicIO< FR_SH_T >, FrameCPP::Version_8::FrSHImpl::ClassicIO< FrSH >, FrameCPP::Version_8::FrSHImpl::ClassicIO< FrSH >, FrameCPP::Version_8::FrStatDataImpl::ClassicIO< T >, FrameCPP::Version_8::FrStatDataImpl::ClassicIO< T >, FrameCPP::Version_8::FrStatDataImpl::ClassicIO< FrStatData >, FrameCPP::Version_8::FrStatDataImpl::ClassicIO< FrStatData >, FrameCPP::Version_9::FrameHImpl::ClassicIO< T >, FrameCPP::Version_9::FrameHImpl::ClassicIO< T >, FrameCPP::Version_9::FrameHImpl::ClassicIO< FrameH >, FrameCPP::Version_9::FrameHImpl::ClassicIO< FrameH >, FrameCPP::Version_9::FrSHImpl::ClassicIO< FR_SH_T >, FrameCPP::Version_9::FrSHImpl::ClassicIO< FR_SH_T >, FrameCPP::Version_9::FrSHImpl::ClassicIO< FrSH >, and FrameCPP::Version_9::FrSHImpl::ClassicIO< FrSH >.
|
protectedpure virtual |
Virtual constructor.
[in] | Stream | The input stream from where the object is being read. |
Implemented in FrameCPP::Version_8::FrameHImpl::ClassicIO< T >, FrameCPP::Version_8::FrameHImpl::ClassicIO< T >, FrameCPP::Version_8::FrameHImpl::ClassicIO< FrameH >, FrameCPP::Version_8::FrameHImpl::ClassicIO< FrameH >, FrameCPP::Version_8::FrSHImpl::ClassicIO< FR_SH_T >, FrameCPP::Version_8::FrSHImpl::ClassicIO< FR_SH_T >, FrameCPP::Version_8::FrSHImpl::ClassicIO< FrSH >, FrameCPP::Version_8::FrSHImpl::ClassicIO< FrSH >, FrameCPP::Version_8::FrStatDataImpl::ClassicIO< T >, FrameCPP::Version_8::FrStatDataImpl::ClassicIO< T >, FrameCPP::Version_8::FrStatDataImpl::ClassicIO< FrStatData >, FrameCPP::Version_8::FrStatDataImpl::ClassicIO< FrStatData >, FrameCPP::Version_9::FrameHImpl::ClassicIO< T >, FrameCPP::Version_9::FrameHImpl::ClassicIO< T >, FrameCPP::Version_9::FrameHImpl::ClassicIO< FrameH >, FrameCPP::Version_9::FrameHImpl::ClassicIO< FrameH >, FrameCPP::Version_9::FrSHImpl::ClassicIO< FR_SH_T >, FrameCPP::Version_9::FrSHImpl::ClassicIO< FR_SH_T >, FrameCPP::Version_9::FrSHImpl::ClassicIO< FrSH >, and FrameCPP::Version_9::FrSHImpl::ClassicIO< FrSH >.
|
protectedpure virtual |
Write the structure to the stream.
[in] | Stream | The output stream where the object is to be written. |
Implemented in FrameCPP::Version_8::FrameHImpl::ClassicIO< T >, FrameCPP::Version_8::FrameHImpl::ClassicIO< T >, FrameCPP::Version_8::FrameHImpl::ClassicIO< FrameH >, FrameCPP::Version_8::FrameHImpl::ClassicIO< FrameH >, FrameCPP::Version_8::FrSHImpl::ClassicIO< FR_SH_T >, FrameCPP::Version_8::FrSHImpl::ClassicIO< FR_SH_T >, FrameCPP::Version_8::FrSHImpl::ClassicIO< FrSH >, FrameCPP::Version_8::FrSHImpl::ClassicIO< FrSH >, FrameCPP::Version_8::FrStatDataImpl::ClassicIO< T >, FrameCPP::Version_8::FrStatDataImpl::ClassicIO< T >, FrameCPP::Version_8::FrStatDataImpl::ClassicIO< FrStatData >, FrameCPP::Version_8::FrStatDataImpl::ClassicIO< FrStatData >, FrameCPP::Version_9::FrameHImpl::ClassicIO< T >, FrameCPP::Version_9::FrameHImpl::ClassicIO< T >, FrameCPP::Version_9::FrameHImpl::ClassicIO< FrameH >, FrameCPP::Version_9::FrameHImpl::ClassicIO< FrameH >, FrameCPP::Version_9::FrSHImpl::ClassicIO< FR_SH_T >, FrameCPP::Version_9::FrSHImpl::ClassicIO< FR_SH_T >, FrameCPP::Version_9::FrSHImpl::ClassicIO< FrSH >, and FrameCPP::Version_9::FrSHImpl::ClassicIO< FrSH >.
|
protectedpure virtual |
Write the structure to the stream.
[in] | Stream | The output stream where the object is to be written. |
Implemented in FrameCPP::Version_8::FrameHImpl::ClassicIO< T >, FrameCPP::Version_8::FrameHImpl::ClassicIO< T >, FrameCPP::Version_8::FrameHImpl::ClassicIO< FrameH >, FrameCPP::Version_8::FrameHImpl::ClassicIO< FrameH >, FrameCPP::Version_8::FrSHImpl::ClassicIO< FR_SH_T >, FrameCPP::Version_8::FrSHImpl::ClassicIO< FR_SH_T >, FrameCPP::Version_8::FrSHImpl::ClassicIO< FrSH >, FrameCPP::Version_8::FrSHImpl::ClassicIO< FrSH >, FrameCPP::Version_8::FrStatDataImpl::ClassicIO< T >, FrameCPP::Version_8::FrStatDataImpl::ClassicIO< T >, FrameCPP::Version_8::FrStatDataImpl::ClassicIO< FrStatData >, FrameCPP::Version_8::FrStatDataImpl::ClassicIO< FrStatData >, FrameCPP::Version_9::FrameHImpl::ClassicIO< T >, FrameCPP::Version_9::FrameHImpl::ClassicIO< T >, FrameCPP::Version_9::FrameHImpl::ClassicIO< FrameH >, FrameCPP::Version_9::FrameHImpl::ClassicIO< FrameH >, FrameCPP::Version_9::FrSHImpl::ClassicIO< FR_SH_T >, FrameCPP::Version_9::FrSHImpl::ClassicIO< FR_SH_T >, FrameCPP::Version_9::FrSHImpl::ClassicIO< FrSH >, and FrameCPP::Version_9::FrSHImpl::ClassicIO< FrSH >.
|
virtual |
Write object to the stream.
|
virtual |
Write object to the stream.
|
private |
Structure checksum.
The checksum for the structure when the structure is contained in a stream.