ldas-tools-framecpp 2.7.0
|
Post-Processed Data Structure Definition. More...
#include <FrProcData.hh>
Public Member Functions | |
FrProcData () | |
Default constructor. | |
FrProcData (const FrProcData &Source) | |
Copy Constructor. | |
FrProcData (const std::string &Name, const std::string &Comment, type_type Type, subType_type SubType, timeOffset_type TimeOffset, tRange_type TRange, fShift_type FShift, phase_type Phase, fRange_type FRange, BW_type BW) | |
Constructor. | |
FrProcData (Previous::FrProcData &Source, istream_type *Stream) | |
Promotion Constructor. | |
~FrProcData () | |
Destructor. | |
bool | operator== (const FrProcData &RHS) const |
equality operator | |
bool | operator!= (const FrProcData &RHS) const |
inequality operator | |
virtual bool | operator== (const Common::FrameSpec::Object &Obj) const |
equality operator for abstract data type | |
fRange_type | GetFRange () const |
Retrieve the frequency range. | |
tRange_type | GetTRange () const |
Retrieve the time range. | |
const std::string & | GetNameSlow () const |
Return the name associate with the FrProcData structure. | |
FrProcData & | Merge (const FrProcData &RHS) |
Merge with another FrProcData. | |
subset_ret_type | Subset (REAL_8 Offset, REAL_8 Dt) const |
Request a subset of the data. | |
virtual const char * | ObjectStructName () const |
The name structure name of this object. | |
FrProcData () | |
Default constructor. | |
FrProcData (const FrProcData &Source) | |
Copy Constructor. | |
FrProcData (const std::string &Name, const std::string &Comment, type_type Type, subType_type SubType, timeOffset_type TimeOffset, tRange_type TRange, fShift_type FShift, phase_type Phase, fRange_type FRange, BW_type BW) | |
Constructor. | |
FrProcData (Previous::FrProcData &Source, istream_type *Stream) | |
Promotion Constructor. | |
~FrProcData () | |
Destructor. | |
bool | operator== (const FrProcData &RHS) const |
equality operator | |
bool | operator!= (const FrProcData &RHS) const |
inequality operator | |
virtual bool | operator== (const Common::FrameSpec::Object &Obj) const |
equality operator for abstract data type | |
fRange_type | GetFRange () const |
Retrieve the frequency range. | |
tRange_type | GetTRange () const |
Retrieve the time range. | |
const std::string & | GetNameSlow () const |
Return the name associate with the FrProcData structure. | |
FrProcData & | Merge (const FrProcData &RHS) |
Merge with another FrProcData. | |
subset_ret_type | Subset (REAL_8 Offset, REAL_8 Dt) const |
Request a subset of the data. | |
virtual const char * | ObjectStructName () const |
The name structure name of this object. | |
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. | |
void | TOCQuery (int InfoClass,...) const |
void | TOCQuery (int InfoClass,...) const |
Static Public Member Functions | |
static promote_ret_type | Promote (INT_2U Source, promote_arg_type Obj, istream_type *Stream) |
Promote previous version of object to this version. | |
static const char * | StructName () |
The name structure name of this object. | |
static const Common::Description * | StructDescription () |
The description of structure. | |
static const std::string & | IDTypeToString (type_type Type) |
Convert numeric types to string representation. | |
static const std::string & | IDSubTypeToString (type_type Type, subType_type SubType) |
Convert numeric sub-types to string representation. | |
static promote_ret_type | Promote (INT_2U Source, promote_arg_type Obj, istream_type *Stream) |
Promote previous version of object to this version. | |
static const char * | StructName () |
The name structure name of this object. | |
static const Common::Description * | StructDescription () |
The description of structure. | |
static const std::string & | IDTypeToString (type_type Type) |
Convert numeric types to string representation. | |
static const std::string & | IDSubTypeToString (type_type Type, subType_type SubType) |
Convert numeric sub-types to string representation. | |
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. | |
template<class T > | |
static int | DataType (const T *Data) |
template<class T > | |
static int | DataType (const T &Data) |
template<class T > | |
static int | DataType (const T *Data) |
template<class T > | |
static int | DataType (const T &Data) |
Protected Member Functions | |
virtual demote_ret_type | demote (INT_2U Target, demote_arg_type Obj, istream_type *Stream) const |
Down grade an object. | |
virtual promote_ret_type | promote (INT_2U Target, promote_arg_type Obj, istream_type *Stream) const |
Upgrade an object. | |
cmn_streamsize_type | pBytes (const Common::StreamBase &Stream) const |
Number of bytes needed to write this structure. | |
virtual FrProcData * | pCreate (istream_type &Stream) const |
Virtual constructor. | |
virtual void | pWrite (ostream_type &Stream) const |
Virtual constructor. | |
virtual void | vTOCQuery (int InfoClass, va_list vl) const |
Answer requests for information as needed by TOC. | |
virtual demote_ret_type | demote (INT_2U Target, demote_arg_type Obj, istream_type *Stream) const |
Down grade an object. | |
virtual promote_ret_type | promote (INT_2U Target, promote_arg_type Obj, istream_type *Stream) const |
Upgrade an object. | |
cmn_streamsize_type | pBytes (const Common::StreamBase &Stream) const |
Number of bytes needed to write this structure. | |
virtual FrProcData * | pCreate (istream_type &Stream) const |
Virtual constructor. | |
virtual void | pWrite (ostream_type &Stream) const |
Virtual constructor. | |
virtual void | vTOCQuery (int InfoClass, va_list vl) const |
Answer requests for information as needed by TOC. | |
Private Types | |
typedef ObjectWithChecksum< Common::FrameSpec::Object > | object_type |
Object with checksum data. | |
typedef ObjectWithChecksum< Common::FrameSpec::Object > | object_type |
Object with checksum data. | |
typedef Common::FrameSpec::ObjectWithChecksum< Common::FrameSpec::Object, checksum_type > | object_base_type |
typedef Common::FrameSpec::ObjectWithChecksum< Common::FrameSpec::Object, checksum_type > | object_base_type |
Private Member Functions | |
FrProcData (istream_type &Stream) | |
Stream Constructor. | |
void | copy_core (const FrProcData &Source) |
Copy core data. | |
subset_ret_type | sub_time_series (REAL_8 Offset, REAL_8 Dt) const |
Retrieve a time series subset. | |
void | sync_with_vector () |
Syncronize the FrProcData with the FrVect data. | |
FrProcData (istream_type &Stream) | |
Stream Constructor. | |
void | copy_core (const FrProcData &Source) |
Copy core data. | |
subset_ret_type | sub_time_series (REAL_8 Offset, REAL_8 Dt) const |
Retrieve a time series subset. | |
void | sync_with_vector () |
Syncronize the FrProcData with the FrVect data. | |
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 | |
bool | m_synced_with_vector |
ChecksumType | m_chkSum |
Structure checksum. | |
Post-Processed Data Structure Definition.
|
inherited |
|
inherited |
|
privateinherited |
|
privateinherited |
|
private |
Object with checksum data.
|
private |
Object with checksum data.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
typedef boost::shared_ptr< FrProcData > FrameCPP::Version_8::FrProcData::subset_ret_type |
typedef boost::shared_ptr< FrProcData > FrameCPP::Version_8::FrProcData::subset_ret_type |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
FrameCPP::Version_8::FrProcData::FrProcData | ( | ) |
Default constructor.
FrameCPP::Version_8::FrProcData::FrProcData | ( | const FrProcData & | Source | ) |
Copy Constructor.
[in] | Source | The object from which to copy the information. |
FrameCPP::Version_8::FrProcData::FrProcData | ( | const std::string & | Name, |
const std::string & | Comment, | ||
type_type | Type, | ||
subType_type | SubType, | ||
timeOffset_type | TimeOffset, | ||
tRange_type | TRange, | ||
fShift_type | FShift, | ||
phase_type | Phase, | ||
fRange_type | FRange, | ||
BW_type | BW | ||
) |
Constructor.
[in] | Name | Data or channel name |
[in] | Comment | Comment |
[in] | Type | Type of data object. |
[in] | SubType | Subtype of f-Series. |
[in] | TimeOffset | Ofset of 1st sample relative to the frame start time. |
[in] | TRange | Duration of sampled data. |
[in] | FShift | The frequency in the original data that corresponds to zero Hz in the heterodyned series. |
[in] | Phase | Phase of heterodyning signal at start of dataset. |
[in] | FRange | Frequency range. |
[in] | BW | Resolution bandwidth. |
FrameCPP::Version_8::FrProcData::FrProcData | ( | Previous::FrProcData & | Source, |
istream_type * | Stream | ||
) |
Promotion Constructor.
[in] | Source | An FrProcData structure from a previous frame specification. |
[in] | Stream | The stream from which the earliest version of the FrProcData structure was read. |
FrameCPP::Version_8::FrProcData::~FrProcData | ( | ) |
Destructor.
|
private |
Stream Constructor.
[in] | Stream | The stream from which the object is being read. |
FrameCPP::Version_8::FrProcData::FrProcData | ( | ) |
Default constructor.
FrameCPP::Version_8::FrProcData::FrProcData | ( | const FrProcData & | Source | ) |
Copy Constructor.
[in] | Source | The object from which to copy the information. |
FrameCPP::Version_8::FrProcData::FrProcData | ( | const std::string & | Name, |
const std::string & | Comment, | ||
type_type | Type, | ||
subType_type | SubType, | ||
timeOffset_type | TimeOffset, | ||
tRange_type | TRange, | ||
fShift_type | FShift, | ||
phase_type | Phase, | ||
fRange_type | FRange, | ||
BW_type | BW | ||
) |
Constructor.
[in] | Name | Data or channel name |
[in] | Comment | Comment |
[in] | Type | Type of data object. |
[in] | SubType | Subtype of f-Series. |
[in] | TimeOffset | Ofset of 1st sample relative to the frame start time. |
[in] | TRange | Duration of sampled data. |
[in] | FShift | The frequency in the original data that corresponds to zero Hz in the heterodyned series. |
[in] | Phase | Phase of heterodyning signal at start of dataset. |
[in] | FRange | Frequency range. |
[in] | BW | Resolution bandwidth. |
FrameCPP::Version_8::FrProcData::FrProcData | ( | Previous::FrProcData & | Source, |
istream_type * | Stream | ||
) |
Promotion Constructor.
[in] | Source | An FrProcData structure from a previous frame specification. |
[in] | Stream | The stream from which the earliest version of the FrProcData structure was read. |
FrameCPP::Version_8::FrProcData::~FrProcData | ( | ) |
Destructor.
|
private |
Stream Constructor.
[in] | Stream | The stream from which the object is being read. |
|
virtualinherited |
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. |
|
virtualinherited |
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. |
|
staticinherited |
Data class to be used in class field of FrSE.
|
staticinherited |
Data class to be used in class field of FrSE.
|
staticinherited |
Comment to be used in comment field of FrSE.
|
staticinherited |
Comment to be used in comment field of FrSE.
|
private |
Copy core data.
[in] | Source | The source from which to copy the data |
|
private |
Copy core data.
[in] | Source | The source from which to copy the data |
|
inlineprivatevirtualinherited |
Reimplemented in FrameCPP::Version_8::FrTOC, and FrameCPP::Version_8::FrTOC.
|
inlineprivatevirtualinherited |
Reimplemented in FrameCPP::Version_8::FrTOC, and FrameCPP::Version_8::FrTOC.
|
virtualinherited |
Virtual constructor.
[in] | Stream | The input stream from where the object is being read. |
|
virtualinherited |
Virtual constructor.
[in] | Stream | The input stream from where the object is being read. |
|
inlineprivatevirtualinherited |
constructor - virtual
|
inlineprivatevirtualinherited |
constructor - virtual
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
protectedvirtual |
Down grade an object.
[in] | Target | The version of the frame specification to demote too. |
[in] | Obj | The version of the object to demote. |
[in] | Stream | The input stream from which the original object was read. |
|
protectedvirtual |
Down grade an object.
[in] | Target | The version of the frame specification to demote too. |
[in] | Obj | The version of the object to demote. |
[in] | Stream | The input stream from which the original object was read. |
|
inline |
Retrieve the frequency range.
fRange_type FrameCPP::Version_8::FrProcData::GetFRange | ( | ) | const |
Retrieve the frequency range.
const std::string & FrameCPP::Version_8::FrProcData::GetNameSlow | ( | ) | const |
Return the name associate with the FrProcData structure.
const std::string & FrameCPP::Version_8::FrProcData::GetNameSlow | ( | ) | const |
Return the name associate with the FrProcData structure.
|
inline |
Retrieve the time range.
tRange_type FrameCPP::Version_8::FrProcData::GetTRange | ( | ) | const |
Retrieve the time range.
|
static |
Convert numeric sub-types to string representation.
[in] | Type | Numeric type. |
[in] | SubType | Numeric sub-type. |
|
static |
Convert numeric sub-types to string representation.
[in] | Type | Numeric type. |
[in] | SubType | Numeric sub-type. |
|
static |
Convert numeric types to string representation.
[in] | Type | Numeric type. |
|
static |
Convert numeric types to string representation.
[in] | Type | Numeric type. |
FrProcData & FrameCPP::Version_8::FrProcData::Merge | ( | const FrProcData & | RHS | ) |
Merge with another FrProcData.
[in] | RHS | The source of the information to append to this FrProcData structure. |
FrProcData & FrameCPP::Version_8::FrProcData::Merge | ( | const FrProcData & | RHS | ) |
Merge with another FrProcData.
[in] | RHS | The source of the information to append to this FrProcData structure. |
|
virtual |
The name structure name of this object.
|
virtual |
The name structure name of this object.
|
inline |
inequality operator
[in] | RHS | The FrProcData object to be compared. |
bool FrameCPP::Version_8::FrProcData::operator!= | ( | const FrProcData & | RHS | ) | const |
inequality operator
[in] | RHS | The FrProcData object to be compared. |
|
virtual |
equality operator for abstract data type
[in] | Obj | The object to be compared. |
|
virtual |
equality operator for abstract data type
[in] | Obj | The object to be compared. |
|
inline |
equality operator
[in] | RHS | The FrProcData object to be compared. |
bool FrameCPP::Version_8::FrProcData::operator== | ( | const FrProcData & | RHS | ) | const |
equality operator
[in] | RHS | The FrProcData object to be compared. |
|
protectedvirtual |
Number of bytes needed to write this structure.
[in] | Stream | The stream from which to the object is being read or written. |
Implements FrameCPP::Common::FrameSpec::ObjectWithChecksum< ObjectType, ChecksumType >.
|
protectedvirtual |
Number of bytes needed to write this structure.
[in] | Stream | The stream from which to the object is being read or written. |
Implements FrameCPP::Common::FrameSpec::ObjectWithChecksum< ObjectType, ChecksumType >.
|
protectedvirtual |
Virtual constructor.
[in] | Stream | The stream from which the earliest version of the FrProcData structure was read. |
Implements FrameCPP::Common::FrameSpec::ObjectWithChecksum< ObjectType, ChecksumType >.
|
protectedvirtual |
Virtual constructor.
[in] | Stream | The stream from which the earliest version of the FrProcData structure was read. |
Implements FrameCPP::Common::FrameSpec::ObjectWithChecksum< ObjectType, ChecksumType >.
|
inlinestatic |
|
static |
|
protectedvirtual |
Upgrade an object.
[in] | Target | The version of the frame specification to promote too. |
[in] | Obj | The object to be promoted. |
[in] | Stream | The input stream from which the original object was read. |
|
protectedvirtual |
Upgrade an object.
[in] | Target | The version of the frame specification to promote too. |
[in] | Obj | The object to be promoted. |
[in] | Stream | The input stream from which the original object was read. |
|
protectedvirtual |
Virtual constructor.
[in] | Stream | The input stream from where the object is being read. |
Implements FrameCPP::Common::FrameSpec::ObjectWithChecksum< ObjectType, ChecksumType >.
|
protectedvirtual |
Virtual constructor.
[in] | Stream | The input stream from where the object is being read. |
Implements FrameCPP::Common::FrameSpec::ObjectWithChecksum< ObjectType, ChecksumType >.
|
static |
The description of structure.
|
static |
The description of structure.
|
inlinestatic |
The name structure name of this object.
|
static |
The name structure name of this object.
|
private |
Retrieve a time series subset.
[in] | Offset | The number of seconds from the start of the FrAdcData object from which to start extracting data. |
[in] | Dt | The number of seconds of data in the resulting FrAdcData strucutre. |
|
private |
Retrieve a time series subset.
[in] | Offset | The number of seconds from the start of the FrAdcData object from which to start extracting data. |
[in] | Dt | The number of seconds of data in the resulting FrAdcData strucutre. |
FrProcData::subset_ret_type FrameCPP::Version_8::FrProcData::Subset | ( | REAL_8 | Offset, |
REAL_8 | Dt | ||
) | const |
Request a subset of the data.
[in] | Offset | The number of seconds from the start of the FrProcData object from which to start extracting data. |
[in] | Dt | The number of seconds of data in the resulting FrProcData strucutre. |
subset_ret_type FrameCPP::Version_8::FrProcData::Subset | ( | REAL_8 | Offset, |
REAL_8 | Dt | ||
) | const |
Request a subset of the data.
[in] | Offset | The number of seconds from the start of the FrProcData object from which to start extracting data. |
[in] | Dt | The number of seconds of data in the resulting FrProcData strucutre. |
|
private |
Syncronize the FrProcData with the FrVect data.
|
private |
Syncronize the FrProcData with the FrVect data.
|
inlineinherited |
|
inherited |
|
protectedvirtual |
Answer requests for information as needed by TOC.
[in] | InfoClass | Class of information being requested. |
[in] | vl | Variable argument list of requested data. |
Implements FrameCPP::Common::TOCInfo.
|
protectedvirtual |
Answer requests for information as needed by TOC.
[in] | InfoClass | Class of information being requested. |
[in] | vl | Variable argument list of requested data. |
Implements FrameCPP::Common::TOCInfo.
|
virtualinherited |
Write object to the stream.
|
virtualinherited |
Write object to the stream.
|
privateinherited |
Structure checksum.
The checksum for the structure when the structure is contained in a stream.
|
private |
True if FrProcData has been syncronized with its associated FrVect data structure.