ldas-tools-framecpp 3.0.4
Loading...
Searching...
No Matches
FrameCPP::Version_9::FrAdcData Class Reference

Event data. More...

#include <FrAdcData.hh>

Inheritance diagram for FrameCPP::Version_9::FrAdcData:
Collaboration diagram for FrameCPP::Version_9::FrAdcData:

Public Types

typedef boost::shared_ptr< FrAdcDatasubset_ret_type
 
enum  {
  DT_CHAR_PTR , DT_STRING_2 , DT_INT_2S , DT_INT_2U ,
  DT_INT_4S , DT_INT_4U , DT_INT_8S , DT_INT_8U ,
  DT_REAL_4 , DT_REAL_8
}
 
enum  {
  IC_EOQ , IC_AMPLITUDE , IC_CHANNEL_ID , IC_DATA_QUALITY ,
  IC_DATA_VALID , IC_DETECTOR , IC_DETECTOR_PREFIX , IC_DT ,
  IC_END , IC_FRAME , IC_GROUP_ID , IC_GTIME_N ,
  IC_GTIME_S , IC_ID , IC_LOCAL_TIME , IC_NAME ,
  IC_RUN , IC_START , IC_ULEAP_S , IC_VERSION
}
 
enum  {
  DT_CHAR_PTR , DT_STRING_2 , DT_INT_2S , DT_INT_2U ,
  DT_INT_4S , DT_INT_4U , DT_INT_8S , DT_INT_8U ,
  DT_REAL_4 , DT_REAL_8
}
 
enum  {
  IC_EOQ , IC_AMPLITUDE , IC_CHANNEL_ID , IC_DATA_QUALITY ,
  IC_DATA_VALID , IC_DETECTOR , IC_DETECTOR_PREFIX , IC_DT ,
  IC_END , IC_FRAME , IC_GROUP_ID , IC_GTIME_N ,
  IC_GTIME_S , IC_ID , IC_LOCAL_TIME , IC_NAME ,
  IC_RUN , IC_START , IC_ULEAP_S , IC_VERSION
}
 
typedef STRING< INT_2U > string_2_type
 
typedef ObjectWithChecksum< Common::FrameSpec::Object, checksum_type > self_type
 
typedef IStream istream_type
 
typedef OStream ostream_type
 
typedef FrameSpec::version_type frame_spec_version_type
 
typedef boost::shared_ptr< Objectobject_type
 
typedef std::unique_ptr< Objectunique_object_type
 
typedef object_type demote_arg_type
 
typedef object_type demote_ret_type
 
typedef stream_base_type demote_stream_type
 
typedef object_type promote_arg_type
 
typedef object_type promote_ret_type
 
typedef stream_base_type promote_stream_type
 
typedef FR_ADC_DATA_NAME_TYPE name_type
 
typedef FR_ADC_DATA_COMMENT_TYPE comment_type
 
typedef FR_ADC_DATA_CHANNEL_GROUP_TYPE channelGroup_type
 
typedef FR_ADC_DATA_CHANNEL_NUMBER_TYPE channelNumber_type
 
typedef FR_ADC_DATA_N_BITS_TYPE nBits_type
 
typedef FR_ADC_DATA_BIAS_TYPE bias_type
 
typedef FR_ADC_DATA_SLOPE_TYPE slope_type
 
typedef FR_ADC_DATA_UNITS_TYPE units_type
 
typedef FR_ADC_DATA_SAMPLE_RATE_TYPE sampleRate_type
 
typedef FR_ADC_DATA_TIME_OFFSET_TYPE timeOffset_type
 
typedef FR_ADC_DATA_F_SHIFT_TYPE fShift_type
 
typedef FR_ADC_DATA_PHASE_TYPE phase_type
 
typedef FR_ADC_DATA_DATA_VALID_TYPE dataValid_type
 
typedef Common::Container< FrVectdata_type
 
typedef data_type::const_iterator const_iterator
 
typedef data_type::iterator iterator
 
typedef Common::Container< FrVectaux_type
 
typedef aux_type::const_iterator const_aux_iterator
 
typedef aux_type::iterator aux_iterator
 
typedef INT_4U timeOffsetS_v4_type
 
typedef INT_4S timeOffsetS_v3_type
 
typedef INT_4U timeOffsetN_v3_type
 
typedef INT_4U crate_v3_type
 
typedef INT_4U channel_v3_type
 
typedef INT_2U overRange_v3_type
 

Public Member Functions

 FrAdcData ()
 Default constructor.
 
 FrAdcData (const name_type &Name, channelGroup_type ChannelGroup, channelNumber_type ChannelNumber, nBits_type NBits, sampleRate_type SampleRate, bias_type Bias=Data::DEFAULT_BIAS, slope_type Slope=Data::DEFAULT_SLOPE, const units_type &Units=Data::DEFAULT_UNITS(), fShift_type FShift=Data::DEFAULT_FSHIFT, timeOffset_type TimeOffset=Data::DEFAULT_TIME_OFFSET, dataValid_type DataValid=Data::DEFAULT_DATA_VALID, phase_type Phase=Data::DEFAULT_PHASE)
 Constructor.
 
 FrAdcData (Previous::FrAdcData &Source, stream_base_type *Stream)
 Promotion Constructor.
 
const name_typeGetNameSlow () const
 Retrieve the name of the FrAdcData struture.
 
FrAdcDataMerge (const FrAdcData &RHS)
 Merge with another FrAdcData.
 
subset_ret_type Subset (REAL_8 Offset, REAL_8 Dt) const
 Request a subset of the data.
 
bool operator== (const FrAdcData &RHS) const
 equality operator
 
virtual bool operator== (const Common::FrameSpec::Object &Obj) const
 equality operator for abstract data type
 
 FrAdcData ()
 Default constructor.
 
 FrAdcData (const name_type &Name, channelGroup_type ChannelGroup, channelNumber_type ChannelNumber, nBits_type NBits, sampleRate_type SampleRate, bias_type Bias=Data::DEFAULT_BIAS, slope_type Slope=Data::DEFAULT_SLOPE, const units_type &Units=Data::DEFAULT_UNITS(), fShift_type FShift=Data::DEFAULT_FSHIFT, timeOffset_type TimeOffset=Data::DEFAULT_TIME_OFFSET, dataValid_type DataValid=Data::DEFAULT_DATA_VALID, phase_type Phase=Data::DEFAULT_PHASE)
 Constructor.
 
 FrAdcData (Previous::FrAdcData &Source, stream_base_type *Stream)
 Promotion Constructor.
 
const name_typeGetNameSlow () const
 Retrieve the name of the FrAdcData struture.
 
FrAdcDataMerge (const FrAdcData &RHS)
 Merge with another FrAdcData.
 
subset_ret_type Subset (REAL_8 Offset, REAL_8 Dt) const
 Request a subset of the data.
 
bool operator== (const FrAdcData &RHS) const
 equality operator
 
virtual bool operator== (const Common::FrameSpec::Object &Obj) const
 equality operator for abstract data type
 
virtual const char * ObjectStructName () const
 The name structure name of this object.
 
virtual const char * ObjectStructName () const
 The name structure name of this object.
 
virtual const Common::DescriptionGetDescription (ostream_type &Stream) const
 The data structure description.
 
virtual const Common::DescriptionGetDescription (ostream_type &Stream) const
 The data structure description.
 
virtual const DescriptionGetDescription () const
 Retrieve FrSH/FrSE description of the parent object.
 
void TOCQuery (int InfoClass,...) const
 
void TOCQuery (int InfoClass,...) const
 
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_typeCreate (istream_type &Stream) const
 Virtual constructor.
 
virtual self_typeCreate (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.
 
class_type GetClass () const
 Retrieve the class identifier.
 
class_type GetClass () const
 Retrieve the class identifier.
 
frame_spec_version_type FrameSpecVersion () const
 
frame_spec_version_type FrameSpecVersion () const
 
ostream_typeWriteNext (ostream_type &Stream) const
 Write a next pointer to the parent to the stream.
 
ostream_typeWriteNext (ostream_type &Stream) const
 Write a next pointer to the parent to the stream.
 
virtual ObjectClone () const
 constructor - virtual copy constructor
 
virtual ObjectClone () const
 constructor - virtual copy constructor
 
template<typename PreviousType , typename CurrentType >
FrameSpec::ObjectInterface::promote_ret_type PromoteObject (FrameSpec::ObjectInterface::frame_spec_version_type Target, FrameSpec::ObjectInterface::frame_spec_version_type Source, FrameSpec::ObjectInterface::promote_arg_type Obj, promote_stream_type *Stream)
 
virtual void VerifyObject (Verify &Verifier, IFrameStream &Stream) const
 Verify an object.
 
virtual void VerifyObject (Verify &Verifier, IFrameStream &Stream) const
 Verify an object.
 
const name_typeGetName () const
 Return the name associate with the FrAdcData structure.
 
const comment_typeGetComment () const
 A brief description of the FrAdcData structure.
 
channelGroup_type GetChannelGroup () const
 The channel group for the FrAdcData.
 
channelNumber_type GetChannelNumber () const
 The channel number for the FrAdcData.
 
nBits_type GetNBits () const
 Tne number of bits in the A/D output.
 
bias_type GetBias () const
 DC bias on channel.
 
slope_type GetSlope () const
 ADC calibration units per count.
 
const units_typeGetUnits () const
 The units used in the ADC calibration.
 
sampleRate_type GetSampleRate () const
 The data acquisition rate.
 
timeOffset_type GetTimeOffset () const
 The offset of the first sample relative to the frame start time.
 
fShift_type GetFShift () const
 The frequency in the original data corresponding to 0 Hz.
 
phase_type GetPhase () const
 Phase of hetrodyning signal at start of dataset.
 
dataValid_type GetDataValid () const
 Retrieve the overRange value.
 
const aux_typeRefAux () const
 Identifier for vector for user-provided information.
 
aux_typeRefAux ()
 Identifier for vector for user-provided information.
 
const data_typeRefData () const
 Identifier for vector of sampled data.
 
data_typeRefData ()
 Identifier for vector of sampled data.
 
void AppendComment (const std::string &comment)
 Extend the comment associated with the FrAdcData structure.
 
void SetDataValid (dataValid_type flag)
 Establish the value of the dataValid field.
 
void SetBias (bias_type bias)
 Establish the value of the bias field.
 
void SetChannelGroup (channelGroup_type Value)
 Establish the value of the channelGroup field.
 
void SetChannelNumber (channelNumber_type Value)
 Establish the value of the channelNumber field.
 
void SetComment (const comment_type &Value)
 Set the comment associated with the FrAdcData structure.
 
void SetNBits (nBits_type Value)
 Tne number of bits in the A/D output.
 
void SetSampleRate (sampleRate_type Value)
 Establish the value of the sampleRate field.
 
void SetSlope (slope_type slope)
 Establish the value of the slope field.
 
void SetTimeOffset (timeOffset_type Value)
 Establish the value of the timeOffset field.
 
bool operator== (Data const &RHS) const
 
bool operator== (FrAdcData const &RHS) const
 

Static Public Member Functions

static const Common::DescriptionStructDescription ()
 The description of structure.
 
static const Common::DescriptionStructDescription ()
 The description of structure.
 
static promote_ret_type Promote (INT_2U Source, promote_arg_type Obj, promote_stream_type *Stream)
 Promote previous version of object to this version.
 
static promote_ret_type Promote (INT_2U Source, promote_arg_type Obj, promote_stream_type *Stream)
 Promote previous version of object to this version.
 
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)
 
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.
 
static object_type DemoteObject (frame_spec_version_type Target, object_type Obj, demote_stream_type *Stream)
 Down grade an object.
 
static object_type DemoteObject (frame_spec_version_type Target, object_type Obj, demote_stream_type *Stream)
 Down grade an object.
 
static object_type PromoteObject (frame_spec_version_type Target, frame_spec_version_type Source, object_type Obj, stream_base_type *Stream)
 Upgrade an object.
 
template<typename PreviousType , typename CurrentType >
static object_type PromoteObject (frame_spec_version_type Target, frame_spec_version_type Source, object_type Obj, stream_base_type *Stream)
 Upgrade an object.
 
static object_type PromoteObject (frame_spec_version_type Target, frame_spec_version_type Source, object_type Obj, stream_base_type *Stream)
 Upgrade an object.
 
template<typename PreviousType , typename CurrentType >
static object_type PromoteObject (frame_spec_version_type Target, frame_spec_version_type Source, object_type Obj, stream_base_type *Stream)
 Upgrade an object.
 
static const units_typeDEFAULT_UNITS ()
 

Static Public Attributes

static constexpr slope_type DEFAULT_SLOPE { 1.0 }
 
static constexpr bias_type DEFAULT_BIAS { 0 }
 
static constexpr fShift_type DEFAULT_FSHIFT { 0 }
 
static constexpr timeOffset_type DEFAULT_TIME_OFFSET { 0 }
 
static constexpr dataValid_type DEFAULT_DATA_VALID { 0 }
 
static constexpr phase_type DEFAULT_PHASE { 0 }
 

Protected Member Functions

virtual demote_ret_type demote (INT_2U Target, demote_arg_type Obj, demote_stream_type *Stream) const
 Down grade an object.
 
virtual demote_ret_type demote (INT_2U Target, demote_arg_type Obj, demote_stream_type *Stream) const
 Down grade an object.
 
virtual promote_ret_type promote (INT_2U Target, promote_arg_type Obj, promote_stream_type *Stream) const
 Upgrade an object.
 
virtual promote_ret_type promote (INT_2U Target, promote_arg_type Obj, promote_stream_type *Stream) const
 Upgrade an object.
 
cmn_streamsize_type pBytes (const Common::StreamBase &Stream) const
 Number of bytes needed to write this structure.
 
cmn_streamsize_type pBytes (const Common::StreamBase &Stream) const
 Number of bytes needed to write this structure.
 
virtual self_typepCreate (istream_type &Stream) const
 Virtual constructor.
 
virtual self_typepCreate (istream_type &Stream) const
 Virtual constructor.
 
virtual void pWrite (ostream_type &Stream) const
 Write the structure to the stream.
 
virtual void pWrite (ostream_type &Stream) const
 Write the structure to the stream.
 
virtual void vTOCQuery (int InfoClass, va_list vl) const
 Answer requests for information as needed by TOC.
 
virtual void vTOCQuery (int InfoClass, va_list vl) const
 Answer requests for information as needed by TOC.
 
virtual class_type getClass () const
 Retrieve the class identifier.
 
virtual class_type getClass () const
 Retrieve the class identifier.
 
void incrementTimeOffset (timeOffset_type Value)
 
void setName (const name_type &Value)
 

Protected Attributes

name_type name
 Channel name – must be unique with the frame.
 
comment_type comment
 Comment.
 
channelGroup_type channelGroup
 Channel grouping number containing ADC.
 
channelNumber_type channelNumber
 Channel nubmer.
 
nBits_type nBits
 Number of bits in A/D output.
 
bias_type bias { DEFAULT_BIAS }
 DC bias on channel (Units @ ADC counts = 0)
 
slope_type slope { DEFAULT_SLOPE }
 ADC calibration: input units/ct.
 
units_type units { DEFAULT_UNITS( ) }
 ADC calibration: input units for slope.
 
sampleRate_type sampleRate
 Data acquisition rate, samples/s.
 
timeOffset_type timeOffset { DEFAULT_TIME_OFFSET }
 Offset of 1st sample relative to the frame start time.
 
fShift_type fShift { DEFAULT_FSHIFT }
 
phase_type phase { DEFAULT_PHASE }
 
dataValid_type dataValid { DEFAULT_DATA_VALID }
 Data valid flag.
 
data_type data
 Identifier for vector of sampled data.
 
aux_type aux
 

Static Protected Attributes

static constexpr unsigned int MAX_REF { 2 }
 

Private Types

typedef STRING io_name_type
 
typedef STRING io_comment_type
 
typedef STRING io_units_type
 
typedef Common::FrameSpec::ObjectWithChecksum< Common::FrameSpec::Object, checksum_type > object_base_type
 

Private Member Functions

virtual ObjectCreate () const
 
virtual ObjectCreate (std::istream &Buffer) const
 constructor - virtual
 
virtual ObjectCreate () const
 
virtual ObjectCreate (std::istream &Buffer) const
 constructor - virtual
 

Private Attributes

checksum_type m_chkSum
 Structure checksum.
 
const class_type m_class
 Storage for the class identifier.
 
const Description *const m_desc
 Description for parent class.
 
const frame_spec_version_type frame_spec_version
 Version of the frame specification.
 

Detailed Description

Event data.

Member Typedef Documentation

◆ aux_iterator

◆ aux_type

◆ bias_type

◆ channel_v3_type

typedef INT_4U FrameCPP::v5::FrAdcData< FrVect, FrVect >::channel_v3_type
inherited

◆ channelGroup_type

◆ channelNumber_type

◆ comment_type

◆ const_aux_iterator

◆ const_iterator

◆ crate_v3_type

typedef INT_4U FrameCPP::v5::FrAdcData< FrVect, FrVect >::crate_v3_type
inherited

◆ data_type

◆ dataValid_type

◆ demote_arg_type

◆ demote_ret_type

◆ demote_stream_type

◆ frame_spec_version_type

◆ fShift_type

◆ io_comment_type

typedef STRING FrameCPP::Version_9::FrAdcDataImpl::ClassicIO< FrAdcData >::io_comment_type
privateinherited

◆ io_name_type

typedef STRING FrameCPP::Version_9::FrAdcDataImpl::ClassicIO< FrAdcData >::io_name_type
privateinherited

◆ io_units_type

typedef STRING FrameCPP::Version_9::FrAdcDataImpl::ClassicIO< FrAdcData >::io_units_type
privateinherited

◆ istream_type

typedef IStream FrameCPP::Common::FrameSpec::ObjectWithChecksum< Common::FrameSpec::Object, checksum_type >::istream_type
inherited

◆ iterator

◆ name_type

◆ nBits_type

◆ object_base_type

◆ object_type

typedef boost::shared_ptr< Object > FrameCPP::Common::FrameSpec::ObjectInterface::object_type
inherited

◆ ostream_type

typedef OStream FrameCPP::Common::FrameSpec::ObjectWithChecksum< Common::FrameSpec::Object, checksum_type >::ostream_type
inherited

◆ overRange_v3_type

typedef INT_2U FrameCPP::v5::FrAdcData< FrVect, FrVect >::overRange_v3_type
inherited

◆ phase_type

◆ promote_arg_type

◆ promote_ret_type

◆ promote_stream_type

◆ sampleRate_type

◆ self_type

◆ slope_type

◆ string_2_type

typedef STRING< INT_2U > FrameCPP::Common::TOCInfo::string_2_type
inherited

◆ subset_ret_type

typedef boost::shared_ptr< FrAdcData > FrameCPP::Version_9::FrAdcData::subset_ret_type

◆ timeOffset_type

◆ timeOffsetN_v3_type

typedef INT_4U FrameCPP::v5::FrAdcData< FrVect, FrVect >::timeOffsetN_v3_type
inherited

◆ timeOffsetS_v3_type

typedef INT_4S FrameCPP::v5::FrAdcData< FrVect, FrVect >::timeOffsetS_v3_type
inherited

◆ timeOffsetS_v4_type

typedef INT_4U FrameCPP::v5::FrAdcData< FrVect, FrVect >::timeOffsetS_v4_type
inherited

◆ unique_object_type

◆ units_type

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
inherited
Enumerator
DT_CHAR_PTR 
DT_STRING_2 
DT_INT_2S 
DT_INT_2U 
DT_INT_4S 
DT_INT_4U 
DT_INT_8S 
DT_INT_8U 
DT_REAL_4 
DT_REAL_8 

◆ anonymous enum

anonymous enum
inherited
Enumerator
IC_EOQ 
IC_AMPLITUDE 
IC_CHANNEL_ID 
IC_DATA_QUALITY 
IC_DATA_VALID 
IC_DETECTOR 
IC_DETECTOR_PREFIX 
IC_DT 
IC_END 
IC_FRAME 
IC_GROUP_ID 
IC_GTIME_N 
IC_GTIME_S 
IC_ID 
IC_LOCAL_TIME 
IC_NAME 
IC_RUN 
IC_START 
IC_ULEAP_S 
IC_VERSION 

◆ anonymous enum

anonymous enum
inherited
Enumerator
DT_CHAR_PTR 
DT_STRING_2 
DT_INT_2S 
DT_INT_2U 
DT_INT_4S 
DT_INT_4U 
DT_INT_8S 
DT_INT_8U 
DT_REAL_4 
DT_REAL_8 

◆ anonymous enum

anonymous enum
inherited
Enumerator
IC_EOQ 
IC_AMPLITUDE 
IC_CHANNEL_ID 
IC_DATA_QUALITY 
IC_DATA_VALID 
IC_DETECTOR 
IC_DETECTOR_PREFIX 
IC_DT 
IC_END 
IC_FRAME 
IC_GROUP_ID 
IC_GTIME_N 
IC_GTIME_S 
IC_ID 
IC_LOCAL_TIME 
IC_NAME 
IC_RUN 
IC_START 
IC_ULEAP_S 
IC_VERSION 

Constructor & Destructor Documentation

◆ FrAdcData() [1/6]

FrameCPP::Version_9::FrAdcData::FrAdcData ( )

Default constructor.

◆ FrAdcData() [2/6]

FrameCPP::Version_9::FrAdcData::FrAdcData ( const name_type & Name,
channelGroup_type ChannelGroup,
channelNumber_type ChannelNumber,
nBits_type NBits,
sampleRate_type SampleRate,
bias_type Bias = Data::DEFAULT_BIAS,
slope_type Slope = Data::DEFAULT_SLOPE,
const units_type & Units = Data::DEFAULT_UNITS(),
fShift_type FShift = Data::DEFAULT_FSHIFT,
timeOffset_type TimeOffset = Data::DEFAULT_TIME_OFFSET,
dataValid_type DataValid = Data::DEFAULT_DATA_VALID,
phase_type Phase = Data::DEFAULT_PHASE )

Constructor.

Parameters
[in]NameThe Channel name – must be unique within the frame
[in]ChannelGroupChannel grouping number containing ADC.
[in]ChannelNumberChannel number.
[in]NBitsNumber of bits in A/D output.
[in]BiasDC bias on channel (Units ADC counts = 0)
[in]SlopeADC calibration: input units/count.
[in]UnitsADC calibration: input units for slope.
[in]SampleRateData acquistion rate, samples/s.
[in]FShiftThe frequency (in Hz) in the origional data that oorresponds to 0 Hz in the heterodyned series.
[in]TimeOffsetOffset of the first sample relative to the frame start time (seconds). Must be positive and smaller than the frame length.
[in]DataValidData valid flag.
[in]PhasePhase of heterodyning signal at start of dataset.
Returns
A new instance of the object.

◆ FrAdcData() [3/6]

FrameCPP::Version_9::FrAdcData::FrAdcData ( Previous::FrAdcData & Source,
stream_base_type * Stream )

Promotion Constructor.

Parameters
[in]SourceAn FrAdcData structure from a previous frame specification.
[in]StreamThe stream from which the earliest version of the FrAdcData structure was read.
Returns
A new instance of the object.

◆ FrAdcData() [4/6]

FrameCPP::Version_9::FrAdcData::FrAdcData ( )

Default constructor.

◆ FrAdcData() [5/6]

FrameCPP::Version_9::FrAdcData::FrAdcData ( const name_type & Name,
channelGroup_type ChannelGroup,
channelNumber_type ChannelNumber,
nBits_type NBits,
sampleRate_type SampleRate,
bias_type Bias = Data::DEFAULT_BIAS,
slope_type Slope = Data::DEFAULT_SLOPE,
const units_type & Units = Data::DEFAULT_UNITS(),
fShift_type FShift = Data::DEFAULT_FSHIFT,
timeOffset_type TimeOffset = Data::DEFAULT_TIME_OFFSET,
dataValid_type DataValid = Data::DEFAULT_DATA_VALID,
phase_type Phase = Data::DEFAULT_PHASE )

Constructor.

Parameters
[in]NameThe Channel name – must be unique within the frame
[in]ChannelGroupChannel grouping number containing ADC.
[in]ChannelNumberChannel number.
[in]NBitsNumber of bits in A/D output.
[in]BiasDC bias on channel (Units ADC counts = 0)
[in]SlopeADC calibration: input units/count.
[in]UnitsADC calibration: input units for slope.
[in]SampleRateData acquistion rate, samples/s.
[in]FShiftThe frequency (in Hz) in the origional data that oorresponds to 0 Hz in the heterodyned series.
[in]TimeOffsetOffset of the first sample relative to the frame start time (seconds). Must be positive and smaller than the frame length.
[in]DataValidData valid flag.
[in]PhasePhase of heterodyning signal at start of dataset.
Returns
A new instance of the object.

◆ FrAdcData() [6/6]

FrameCPP::Version_9::FrAdcData::FrAdcData ( Previous::FrAdcData & Source,
stream_base_type * Stream )

Promotion Constructor.

Parameters
[in]SourceAn FrAdcData structure from a previous frame specification.
[in]StreamThe stream from which the earliest version of the FrAdcData structure was read.
Returns
A new instance of the object.

Member Function Documentation

◆ AppendComment()

void FrameCPP::Version_9::FrAdcDataImpl::Data::AppendComment ( const std::string & comment)
inlineinherited

Extend the comment associated with the FrAdcData structure.

◆ Bytes() [1/2]

virtual streamsize_type FrameCPP::Common::FrameSpec::ObjectWithChecksum< Common::FrameSpec::Object, checksum_type >::Bytes ( const StreamBase & Stream) const
virtualinherited

Return the number of bytes for this object.

Parameters
[in]StreamStream characteristics used to determine the number of bytes needed to format the object for the Stream.
Returns
The number of bytes for this object

Implements FrameCPP::Common::FrameSpec::ObjectInterface.

◆ Bytes() [2/2]

virtual streamsize_type FrameCPP::Common::FrameSpec::ObjectWithChecksum< Common::FrameSpec::Object, checksum_type >::Bytes ( const StreamBase & Stream) const
virtualinherited

Return the number of bytes for this object.

Parameters
[in]StreamStream characteristics used to determine the number of bytes needed to format the object for the Stream.
Returns
The number of bytes for this object

Implements FrameCPP::Common::FrameSpec::ObjectInterface.

◆ CheckSumDataClass() [1/2]

template const char * FrameCPP::Common::FrameSpec::ObjectWithChecksum< Common::FrameSpec::Object, checksum_type >::CheckSumDataClass ( )
staticinherited

Data class to be used in class field of FrSE.

◆ CheckSumDataClass() [2/2]

static const char * FrameCPP::Common::FrameSpec::ObjectWithChecksum< Common::FrameSpec::Object, checksum_type >::CheckSumDataClass ( )
staticinherited

Data class to be used in class field of FrSE.

◆ CheckSumDataComment() [1/2]

template const char * FrameCPP::Common::FrameSpec::ObjectWithChecksum< Common::FrameSpec::Object, checksum_type >::CheckSumDataComment ( )
staticinherited

Comment to be used in comment field of FrSE.

◆ CheckSumDataComment() [2/2]

static const char * FrameCPP::Common::FrameSpec::ObjectWithChecksum< Common::FrameSpec::Object, checksum_type >::CheckSumDataComment ( )
staticinherited

Comment to be used in comment field of FrSE.

◆ Clone() [1/2]

FrameSpec::Object * FrameCPP::Common::FrameSpec::ObjectInterface::Clone ( ) const
virtualinherited

constructor - virtual copy constructor

Reimplemented in FrameCPP::Common::PTR_STRUCT< DC, DI, SPEC_VERSION_T >, FrameCPP::Common::PTR_STRUCT< DC, DI, SPEC_VERSION_T >, FrameCPP::Common::PTR_STRUCT_BASE, FrameCPP::Common::PTR_STRUCT_BASE, FrameCPP::Common::StreamRef2< LT, CKT, CT, IT, SPEC_VERSION_T >, FrameCPP::Common::StreamRef2< LT, CKT, CT, IT, SPEC_VERSION_T >, FrameCPP::Common::StreamRef< LT, CT, IT, SPEC_VERSION_T >, FrameCPP::Common::StreamRef< LT, CT, IT, SPEC_VERSION_T >, FrameCPP::Version_3::FrameH, FrameCPP::Version_3::FrameH, FrameCPP::Version_3::FrEndOfFile, FrameCPP::Version_3::FrEndOfFile, FrameCPP::Version_3::FrHeader, FrameCPP::Version_3::FrHeader, FrameCPP::Version_3::FrSE, FrameCPP::Version_3::FrSE, FrameCPP::Version_3::FrSH, FrameCPP::Version_3::FrSH, FrameCPP::Version_3::FrStatData, FrameCPP::Version_3::FrStatData, FrameCPP::Version_4::FrameH, FrameCPP::Version_4::FrameH, FrameCPP::Version_4::FrEndOfFile, FrameCPP::Version_4::FrEndOfFile, FrameCPP::Version_4::FrStatData, FrameCPP::Version_4::FrStatData, FrameCPP::Version_6::FrameH, FrameCPP::Version_6::FrameH, FrameCPP::Version_6::FrEndOfFile, FrameCPP::Version_6::FrEndOfFile, FrameCPP::Version_6::FrStatData, FrameCPP::Version_6::FrStatData, FrameCPP::Version_7::FrameH, FrameCPP::Version_7::FrameH, FrameCPP::Version_8::FrameH, FrameCPP::Version_8::FrameH, FrameCPP::Version_8::FrEndOfFile, FrameCPP::Version_8::FrEndOfFile, FrameCPP::Version_8::FrHeader, FrameCPP::Version_8::FrHeader, FrameCPP::Version_8::FrSEImpl::ClassicIO< BASE_TYPE >, FrameCPP::Version_8::FrSEImpl::ClassicIO< BASE_TYPE >, FrameCPP::Version_8::FrSEImpl::ClassicIO< FrSE >, FrameCPP::Version_8::FrSEImpl::ClassicIO< FrSE >, 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_9::FrameH, FrameCPP::Version_9::FrameH, FrameCPP::Version_9::FrEndOfFile, FrameCPP::Version_9::FrEndOfFile, FrameCPP::Version_9::FrHeader, FrameCPP::Version_9::FrHeader, FrameCPP::Version_9::FrSEImpl::ClassicIO< BASE_TYPE >, FrameCPP::Version_9::FrSEImpl::ClassicIO< BASE_TYPE >, FrameCPP::Version_9::FrSEImpl::ClassicIO< FrSE >, FrameCPP::Version_9::FrSEImpl::ClassicIO< FrSE >, 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 >.

◆ Clone() [2/2]

virtual Object * FrameCPP::Common::FrameSpec::ObjectInterface::Clone ( ) const
virtualinherited

constructor - virtual copy constructor

Reimplemented in FrameCPP::Common::PTR_STRUCT< DC, DI, SPEC_VERSION_T >, FrameCPP::Common::PTR_STRUCT< DC, DI, SPEC_VERSION_T >, FrameCPP::Common::PTR_STRUCT_BASE, FrameCPP::Common::PTR_STRUCT_BASE, FrameCPP::Common::StreamRef2< LT, CKT, CT, IT, SPEC_VERSION_T >, FrameCPP::Common::StreamRef2< LT, CKT, CT, IT, SPEC_VERSION_T >, FrameCPP::Common::StreamRef< LT, CT, IT, SPEC_VERSION_T >, FrameCPP::Common::StreamRef< LT, CT, IT, SPEC_VERSION_T >, FrameCPP::Version_3::FrameH, FrameCPP::Version_3::FrameH, FrameCPP::Version_3::FrEndOfFile, FrameCPP::Version_3::FrEndOfFile, FrameCPP::Version_3::FrHeader, FrameCPP::Version_3::FrHeader, FrameCPP::Version_3::FrSE, FrameCPP::Version_3::FrSE, FrameCPP::Version_3::FrSH, FrameCPP::Version_3::FrSH, FrameCPP::Version_3::FrStatData, FrameCPP::Version_3::FrStatData, FrameCPP::Version_4::FrameH, FrameCPP::Version_4::FrameH, FrameCPP::Version_4::FrEndOfFile, FrameCPP::Version_4::FrEndOfFile, FrameCPP::Version_4::FrStatData, FrameCPP::Version_4::FrStatData, FrameCPP::Version_6::FrameH, FrameCPP::Version_6::FrameH, FrameCPP::Version_6::FrEndOfFile, FrameCPP::Version_6::FrEndOfFile, FrameCPP::Version_6::FrStatData, FrameCPP::Version_6::FrStatData, FrameCPP::Version_7::FrameH, FrameCPP::Version_7::FrameH, FrameCPP::Version_8::FrameH, FrameCPP::Version_8::FrameH, FrameCPP::Version_8::FrEndOfFile, FrameCPP::Version_8::FrEndOfFile, FrameCPP::Version_8::FrHeader, FrameCPP::Version_8::FrHeader, FrameCPP::Version_8::FrSEImpl::ClassicIO< BASE_TYPE >, FrameCPP::Version_8::FrSEImpl::ClassicIO< BASE_TYPE >, FrameCPP::Version_8::FrSEImpl::ClassicIO< FrSE >, FrameCPP::Version_8::FrSEImpl::ClassicIO< FrSE >, 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_9::FrameH, FrameCPP::Version_9::FrameH, FrameCPP::Version_9::FrEndOfFile, FrameCPP::Version_9::FrEndOfFile, FrameCPP::Version_9::FrHeader, FrameCPP::Version_9::FrHeader, FrameCPP::Version_9::FrSEImpl::ClassicIO< BASE_TYPE >, FrameCPP::Version_9::FrSEImpl::ClassicIO< BASE_TYPE >, FrameCPP::Version_9::FrSEImpl::ClassicIO< FrSE >, FrameCPP::Version_9::FrSEImpl::ClassicIO< FrSE >, 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 >.

◆ Create() [1/6]

virtual Object * FrameCPP::Common::FrameSpec::ObjectWithChecksum< Common::FrameSpec::Object, checksum_type >::Create ( ) const
inlineprivatevirtualinherited

◆ Create() [2/6]

virtual Object * FrameCPP::Common::FrameSpec::ObjectWithChecksum< Common::FrameSpec::Object, checksum_type >::Create ( ) const
inlineprivatevirtualinherited

◆ Create() [3/6]

virtual self_type * FrameCPP::Common::FrameSpec::ObjectWithChecksum< Common::FrameSpec::Object, checksum_type >::Create ( istream_type & Stream) const
virtualinherited

Virtual constructor.

Parameters
[in]StreamThe input stream from where the object is being read.
Returns
Return pointer to the newly allocated resource.

Implements FrameCPP::Common::FrameSpec::ObjectInterface.

◆ Create() [4/6]

virtual self_type * FrameCPP::Common::FrameSpec::ObjectWithChecksum< Common::FrameSpec::Object, checksum_type >::Create ( istream_type & Stream) const
virtualinherited

Virtual constructor.

Parameters
[in]StreamThe input stream from where the object is being read.
Returns
Return pointer to the newly allocated resource.

Implements FrameCPP::Common::FrameSpec::ObjectInterface.

◆ Create() [5/6]

virtual Object * FrameCPP::Common::FrameSpec::ObjectWithChecksum< Common::FrameSpec::Object, checksum_type >::Create ( std::istream & Buffer) const
inlineprivatevirtualinherited

constructor - virtual

Reimplemented from FrameCPP::Common::FrameSpec::ObjectInterface.

◆ Create() [6/6]

virtual Object * FrameCPP::Common::FrameSpec::ObjectWithChecksum< Common::FrameSpec::Object, checksum_type >::Create ( std::istream & Buffer) const
inlineprivatevirtualinherited

constructor - virtual

Reimplemented from FrameCPP::Common::FrameSpec::ObjectInterface.

◆ DataType() [1/4]

template<class T >
static int FrameCPP::Common::TOCInfo::DataType ( const T & Data)
staticinherited

◆ DataType() [2/4]

template<class T >
static int FrameCPP::Common::TOCInfo::DataType ( const T & Data)
staticinherited

◆ DataType() [3/4]

template<class T >
static int FrameCPP::Common::TOCInfo::DataType ( const T * Data)
staticinherited

◆ DataType() [4/4]

template<class T >
static int FrameCPP::Common::TOCInfo::DataType ( const T * Data)
staticinherited

◆ DEFAULT_UNITS()

const Data::units_type & FrameCPP::Version_9::FrAdcDataImpl::Data::DEFAULT_UNITS ( )
inlinestaticinherited

◆ demote() [1/2]

virtual demote_ret_type FrameCPP::Version_9::FrAdcDataImpl::ClassicIO< FrAdcData >::demote ( INT_2U Target,
demote_arg_type Obj,
demote_stream_type * Stream ) const
inlineprotectedvirtualinherited

Down grade an object.

Parameters
[in]TargetThe version of the frame specification to demote too.
[in]ObjThe version of the object to demote.
[in]StreamThe input stream from which the original object was read.
Returns
An object of the previous generation.

Implements FrameCPP::Common::FrameSpec::ObjectInterface.

◆ demote() [2/2]

virtual demote_ret_type FrameCPP::Version_9::FrAdcDataImpl::ClassicIO< FrAdcData >::demote ( INT_2U Target,
demote_arg_type Obj,
demote_stream_type * Stream ) const
inlineprotectedvirtualinherited

Down grade an object.

Parameters
[in]TargetThe version of the frame specification to demote too.
[in]ObjThe version of the object to demote.
[in]StreamThe input stream from which the original object was read.
Returns
An object of the previous generation.

Implements FrameCPP::Common::FrameSpec::ObjectInterface.

◆ DemoteObject() [1/2]

FrameSpec::ObjectInterface::object_type FrameCPP::Common::FrameSpec::ObjectInterface::DemoteObject ( frame_spec_version_type Target,
object_type Obj,
demote_stream_type * Stream )
staticinherited

Down grade an object.

Parameters
[in]TargetThis is the version of the frame specification of the demoted object.
[in]ObjThe base object.
[in]StreamStream from which Obj was created.
Returns
A pointer to the objected derived by demoting Obj.

◆ DemoteObject() [2/2]

static object_type FrameCPP::Common::FrameSpec::ObjectInterface::DemoteObject ( frame_spec_version_type Target,
object_type Obj,
demote_stream_type * Stream )
staticinherited

Down grade an object.

Parameters
[in]TargetThis is the version of the frame specification of the demoted object.
[in]ObjThe base object.
[in]StreamStream from which Obj was created.
Returns
A pointer to the objected derived by demoting Obj.

◆ FrameSpecVersion() [1/2]

FrameSpec::Object::frame_spec_version_type FrameCPP::Common::FrameSpec::Object::FrameSpecVersion ( ) const
inlineinherited

◆ FrameSpecVersion() [2/2]

frame_spec_version_type FrameCPP::Common::FrameSpec::Object::FrameSpecVersion ( ) const
inherited

◆ GetBias()

Data::bias_type FrameCPP::Version_9::FrAdcDataImpl::Data::GetBias ( ) const
inlineinherited

DC bias on channel.

Returns
DC bias on channel.

◆ GetChannelGroup()

Data::channelGroup_type FrameCPP::Version_9::FrAdcDataImpl::Data::GetChannelGroup ( ) const
inlineinherited

The channel group for the FrAdcData.

Returns
The crate number for the FrAdcData

◆ GetChannelNumber()

Data::channelNumber_type FrameCPP::Version_9::FrAdcDataImpl::Data::GetChannelNumber ( ) const
inlineinherited

The channel number for the FrAdcData.

Returns
The channel number for the FrAdcData

◆ GetClass() [1/2]

FrameSpec::class_type FrameCPP::Common::FrameSpec::Object::GetClass ( ) const
inlineinherited

Retrieve the class identifier.

Returns
The class identifier.

◆ GetClass() [2/2]

class_type FrameCPP::Common::FrameSpec::Object::GetClass ( ) const
inherited

Retrieve the class identifier.

Returns
The class identifier.

◆ getClass() [1/2]

FrameSpec::class_type FrameCPP::Common::FrameSpec::Object::getClass ( ) const
protectedvirtualinherited

Retrieve the class identifier.

Implements FrameCPP::Common::FrameSpec::ObjectInterface.

◆ getClass() [2/2]

virtual class_type FrameCPP::Common::FrameSpec::Object::getClass ( ) const
protectedvirtualinherited

Retrieve the class identifier.

Implements FrameCPP::Common::FrameSpec::ObjectInterface.

◆ GetComment()

const Data::comment_type & FrameCPP::Version_9::FrAdcDataImpl::Data::GetComment ( ) const
inlineinherited

A brief description of the FrAdcData structure.

Returns
A brief description of the FrAdcData structure

◆ GetDataValid()

Data::dataValid_type FrameCPP::Version_9::FrAdcDataImpl::Data::GetDataValid ( ) const
inlineinherited

Retrieve the overRange value.

Returns
The value of the overRange field.

◆ GetDescription() [1/3]

const Description * FrameCPP::Common::FrameSpec::Object::GetDescription ( ) const
inlinevirtualinherited

Retrieve FrSH/FrSE description of the parent object.

Returns
The description of the parent class.

Implements FrameCPP::Common::FrameSpec::ObjectInterface.

◆ GetDescription() [2/3]

virtual const Common::Description * FrameCPP::Version_9::FrAdcDataImpl::ClassicIO< FrAdcData >::GetDescription ( ostream_type & Stream) const
inlinevirtualinherited

The data structure description.

Returns
The description of the data structure used to represent this object when written to a GWF stream

Reimplemented from FrameCPP::Common::FrameSpec::Object.

◆ GetDescription() [3/3]

virtual const Common::Description * FrameCPP::Version_9::FrAdcDataImpl::ClassicIO< FrAdcData >::GetDescription ( ostream_type & Stream) const
inlinevirtualinherited

The data structure description.

Returns
The description of the data structure used to represent this object when written to a GWF stream

Reimplemented from FrameCPP::Common::FrameSpec::Object.

◆ GetFShift()

Data::fShift_type FrameCPP::Version_9::FrAdcDataImpl::Data::GetFShift ( ) const
inlineinherited

The frequency in the original data corresponding to 0 Hz.

Returns
The frequency in the original data corresponding to 0 Hz.

◆ GetName()

const Data::name_type & FrameCPP::Version_9::FrAdcDataImpl::Data::GetName ( ) const
inlineinherited

Return the name associate with the FrAdcData structure.

Returns
The name associated with the FrAdcData structure

◆ GetNameSlow() [1/2]

const name_type & FrameCPP::Version_9::FrAdcData::GetNameSlow ( ) const

Retrieve the name of the FrAdcData struture.

◆ GetNameSlow() [2/2]

const name_type & FrameCPP::Version_9::FrAdcData::GetNameSlow ( ) const

Retrieve the name of the FrAdcData struture.

◆ GetNBits()

Data::nBits_type FrameCPP::Version_9::FrAdcDataImpl::Data::GetNBits ( ) const
inlineinherited

Tne number of bits in the A/D output.

Returns
Tne number of bits in the A/D output.

◆ GetPhase()

Data::phase_type FrameCPP::Version_9::FrAdcDataImpl::Data::GetPhase ( ) const
inlineinherited

Phase of hetrodyning signal at start of dataset.

Returns
The Phase (in radians) of hetrodyning signal at start of dataset.

◆ GetSampleRate()

Data::sampleRate_type FrameCPP::Version_9::FrAdcDataImpl::Data::GetSampleRate ( ) const
inlineinherited

The data acquisition rate.

Returns
The data acquisition rate.

◆ GetSlope()

Data::slope_type FrameCPP::Version_9::FrAdcDataImpl::Data::GetSlope ( ) const
inlineinherited

ADC calibration units per count.

Returns
ADC calibration units per count.

◆ GetTimeOffset()

Data::timeOffset_type FrameCPP::Version_9::FrAdcDataImpl::Data::GetTimeOffset ( ) const
inlineinherited

The offset of the first sample relative to the frame start time.

Returns
The offset of the first sample relative to the frame start time.

◆ GetUnits()

const Data::units_type & FrameCPP::Version_9::FrAdcDataImpl::Data::GetUnits ( ) const
inlineinherited

The units used in the ADC calibration.

Returns
The units used in the ADC calibration

◆ incrementTimeOffset()

void FrameCPP::Version_9::FrAdcDataImpl::Data::incrementTimeOffset ( timeOffset_type Value)
inlineprotectedinherited

◆ Merge() [1/2]

FrAdcData & FrameCPP::Version_9::FrAdcData::Merge ( const FrAdcData & RHS)

Merge with another FrAdcData.

Parameters
[in]RHSThe source of the information to append to this FrAdcData structure.
Returns
A reference to this object

◆ Merge() [2/2]

FrAdcData & FrameCPP::Version_9::FrAdcData::Merge ( const FrAdcData & RHS)

Merge with another FrAdcData.

Parameters
[in]RHSThe source of the information to append to this FrAdcData structure.
Returns
A reference to this object

◆ ObjectStructName() [1/2]

virtual const char * FrameCPP::Version_9::FrAdcDataImpl::ClassicIO< FrAdcData >::ObjectStructName ( ) const
inlinevirtualinherited

The name structure name of this object.

Returns
The name of the structure as specified by the frame specification.

Implements FrameCPP::Common::FrameSpec::ObjectInterface.

◆ ObjectStructName() [2/2]

virtual const char * FrameCPP::Version_9::FrAdcDataImpl::ClassicIO< FrAdcData >::ObjectStructName ( ) const
inlinevirtualinherited

The name structure name of this object.

Returns
The name of the structure as specified by the frame specification.

Implements FrameCPP::Common::FrameSpec::ObjectInterface.

◆ operator==() [1/6]

bool FrameCPP::v5::FrAdcData< FrVect, FrVect >::operator== ( FrAdcData< FrVect, FrVect > const & RHS) const
inlineinherited

◆ operator==() [2/6]

virtual bool FrameCPP::Version_9::FrAdcData::operator== ( const Common::FrameSpec::Object & Obj) const
virtual

equality operator for abstract data type

Parameters
[in]ObjThe object to be compared.
Returns
The value true is returned if this object is equivelent to the RHS instance; false otherwise.

Implements FrameCPP::Common::FrameSpec::ObjectInterface.

◆ operator==() [3/6]

virtual bool FrameCPP::Version_9::FrAdcData::operator== ( const Common::FrameSpec::Object & Obj) const
virtual

equality operator for abstract data type

Parameters
[in]ObjThe object to be compared.
Returns
The value true is returned if this object is equivelent to the RHS instance; false otherwise.

Implements FrameCPP::Common::FrameSpec::ObjectInterface.

◆ operator==() [4/6]

bool FrameCPP::Version_9::FrAdcData::operator== ( const FrAdcData & RHS) const
inline

equality operator

Parameters
[in]RHSThe FrAdcData object to be compared.
Returns
The value true is returned if this object is equivelent to the RHS instance; false otherwise.

◆ operator==() [5/6]

bool FrameCPP::Version_9::FrAdcData::operator== ( const FrAdcData & RHS) const

equality operator

Parameters
[in]RHSThe FrAdcData object to be compared.
Returns
The value true is returned if this object is equivelent to the RHS instance; false otherwise.

◆ operator==() [6/6]

bool FrameCPP::Version_9::FrAdcDataImpl::Data::operator== ( Data const & RHS) const
inlineinherited

◆ pBytes() [1/2]

cmn_streamsize_type FrameCPP::Version_9::FrAdcDataImpl::ClassicIO< FrAdcData >::pBytes ( const Common::StreamBase & Stream) const
inlineprotectedvirtualinherited

Number of bytes needed to write this structure.

Parameters
[in]StreamThe stream from which to the object is being read or written.
Returns
The number of bytes need to read or write this object.

Implements FrameCPP::Common::FrameSpec::ObjectWithChecksum< Common::FrameSpec::Object, checksum_type >.

◆ pBytes() [2/2]

cmn_streamsize_type FrameCPP::Version_9::FrAdcDataImpl::ClassicIO< FrAdcData >::pBytes ( const Common::StreamBase & Stream) const
inlineprotectedvirtualinherited

Number of bytes needed to write this structure.

Parameters
[in]StreamThe stream from which to the object is being read or written.
Returns
The number of bytes need to read or write this object.

Implements FrameCPP::Common::FrameSpec::ObjectWithChecksum< Common::FrameSpec::Object, checksum_type >.

◆ pCreate() [1/2]

virtual self_type * FrameCPP::Version_9::FrAdcDataImpl::ClassicIO< FrAdcData >::pCreate ( istream_type & Stream) const
inlineprotectedvirtualinherited

Virtual constructor.

Parameters
[in]StreamThe input stream from where the object is being read.
Returns
The newly allocated object.

Implements FrameCPP::Common::FrameSpec::ObjectWithChecksum< Common::FrameSpec::Object, checksum_type >.

◆ pCreate() [2/2]

virtual self_type * FrameCPP::Version_9::FrAdcDataImpl::ClassicIO< FrAdcData >::pCreate ( istream_type & Stream) const
inlineprotectedvirtualinherited

Virtual constructor.

Parameters
[in]StreamThe input stream from where the object is being read.
Returns
The newly allocated object.

Implements FrameCPP::Common::FrameSpec::ObjectWithChecksum< Common::FrameSpec::Object, checksum_type >.

◆ Promote() [1/2]

Promote previous version of object to this version.

Parameters
[in]SourceThe frame specification version of the object.
[in]ObjThe previous version of the object.
[in]StreamStream from which the origional object was created.
Returns
A new instance of FrAdcData based on Obj

◆ Promote() [2/2]

Promote previous version of object to this version.

Parameters
[in]SourceThe frame specification version of the object.
[in]ObjThe previous version of the object.
[in]StreamStream from which the origional object was created.
Returns
A new instance of FrAdcData based on Obj

◆ promote() [1/2]

virtual promote_ret_type FrameCPP::Version_9::FrAdcDataImpl::ClassicIO< FrAdcData >::promote ( INT_2U Target,
promote_arg_type Obj,
promote_stream_type * Stream ) const
inlineprotectedvirtualinherited

Upgrade an object.

Parameters
[in]TargetThe version of the frame specification to promote too.
[in]ObjThe object to be promoted.
[in]StreamThe input stream from which the original object was read.
Returns
An object of this class.

Implements FrameCPP::Common::FrameSpec::ObjectInterface.

◆ promote() [2/2]

virtual promote_ret_type FrameCPP::Version_9::FrAdcDataImpl::ClassicIO< FrAdcData >::promote ( INT_2U Target,
promote_arg_type Obj,
promote_stream_type * Stream ) const
inlineprotectedvirtualinherited

Upgrade an object.

Parameters
[in]TargetThe version of the frame specification to promote too.
[in]ObjThe object to be promoted.
[in]StreamThe input stream from which the original object was read.
Returns
An object of this class.

Implements FrameCPP::Common::FrameSpec::ObjectInterface.

◆ PromoteObject() [1/5]

FrameSpec::ObjectInterface::object_type FrameCPP::Common::FrameSpec::ObjectInterface::PromoteObject ( frame_spec_version_type Target,
frame_spec_version_type Source,
object_type Obj,
stream_base_type * Stream )
staticinherited

Upgrade an object.

Parameters
[in]TargetPromote Obj to this version of the frame specification.
[in]SourceObj conforms to this version of the frame specification.
[in]ObjObject to be converted
[in]StreamOriginating stream for Obj.
Returns
A pointer to the objected derived by promoting Obj.

◆ PromoteObject() [2/5]

template<typename PreviousType , typename CurrentType >
static object_type FrameCPP::Common::FrameSpec::ObjectInterface::PromoteObject ( frame_spec_version_type Target,
frame_spec_version_type Source,
object_type Obj,
stream_base_type * Stream )
staticinherited

Upgrade an object.

Parameters
[in]TargetPromote Obj to this version of the frame specification.
[in]SourceObj conforms to this version of the frame specification.
[in]ObjObject to be converted
[in]StreamOriginating stream for Obj.
Returns
A pointer to the objected derived by promoting Obj.

◆ PromoteObject() [3/5]

static object_type FrameCPP::Common::FrameSpec::ObjectInterface::PromoteObject ( frame_spec_version_type Target,
frame_spec_version_type Source,
object_type Obj,
stream_base_type * Stream )
staticinherited

Upgrade an object.

Parameters
[in]TargetPromote Obj to this version of the frame specification.
[in]SourceObj conforms to this version of the frame specification.
[in]ObjObject to be converted
[in]StreamOriginating stream for Obj.
Returns
A pointer to the objected derived by promoting Obj.

◆ PromoteObject() [4/5]

template<typename PreviousType , typename CurrentType >
static object_type FrameCPP::Common::FrameSpec::ObjectInterface::PromoteObject ( frame_spec_version_type Target,
frame_spec_version_type Source,
object_type Obj,
stream_base_type * Stream )
staticinherited

Upgrade an object.

Parameters
[in]TargetPromote Obj to this version of the frame specification.
[in]SourceObj conforms to this version of the frame specification.
[in]ObjObject to be converted
[in]StreamOriginating stream for Obj.
Returns
A pointer to the objected derived by promoting Obj.

◆ PromoteObject() [5/5]

template<typename PreviousType , typename CurrentType >
FrameSpec::ObjectInterface::promote_ret_type FrameCPP::Common::FrameSpec::ObjectInterface::PromoteObject ( FrameSpec::ObjectInterface::frame_spec_version_type Target,
FrameSpec::ObjectInterface::frame_spec_version_type Source,
FrameSpec::ObjectInterface::promote_arg_type Obj,
promote_stream_type * Stream )
inherited

◆ pWrite() [1/2]

virtual void FrameCPP::Version_9::FrAdcDataImpl::ClassicIO< FrAdcData >::pWrite ( ostream_type & Stream) const
inlineprotectedvirtualinherited

Write the structure to the stream.

Parameters
[in]StreamThe output stream where the object is to be written.

Implements FrameCPP::Common::FrameSpec::ObjectWithChecksum< Common::FrameSpec::Object, checksum_type >.

◆ pWrite() [2/2]

virtual void FrameCPP::Version_9::FrAdcDataImpl::ClassicIO< FrAdcData >::pWrite ( ostream_type & Stream) const
inlineprotectedvirtualinherited

Write the structure to the stream.

Parameters
[in]StreamThe output stream where the object is to be written.

Implements FrameCPP::Common::FrameSpec::ObjectWithChecksum< Common::FrameSpec::Object, checksum_type >.

◆ RefAux() [1/2]

Data::aux_type & FrameCPP::Version_9::FrAdcDataImpl::Data::RefAux ( )
inlineinherited

Identifier for vector for user-provided information.

Returns
A reference to the user-provided information.

◆ RefAux() [2/2]

const Data::aux_type & FrameCPP::Version_9::FrAdcDataImpl::Data::RefAux ( ) const
inlineinherited

Identifier for vector for user-provided information.

Returns
A constant reference to the user-provided information.

◆ RefData() [1/2]

Data::data_type & FrameCPP::Version_9::FrAdcDataImpl::Data::RefData ( )
inlineinherited

Identifier for vector of sampled data.

Returns
A reference to the sampled data.

◆ RefData() [2/2]

const Data::data_type & FrameCPP::Version_9::FrAdcDataImpl::Data::RefData ( ) const
inlineinherited

Identifier for vector of sampled data.

Returns
A constant reference to the sampled data.

◆ SetBias()

void FrameCPP::Version_9::FrAdcDataImpl::Data::SetBias ( bias_type bias)
inlineinherited

Establish the value of the bias field.

Parameters
[in]biasThe desired value of the bias field.

◆ SetChannelGroup()

void FrameCPP::Version_9::FrAdcDataImpl::Data::SetChannelGroup ( channelGroup_type Value)
inlineinherited

Establish the value of the channelGroup field.

Parameters
[in]ValueThe desired value of the channelGroup field.

◆ SetChannelNumber()

void FrameCPP::Version_9::FrAdcDataImpl::Data::SetChannelNumber ( channelNumber_type Value)
inlineinherited

Establish the value of the channelNumber field.

Parameters
[in]ValueThe desired value of the channelNumber field.

◆ SetComment()

void FrameCPP::Version_9::FrAdcDataImpl::Data::SetComment ( const comment_type & Value)
inlineinherited

Set the comment associated with the FrAdcData structure.

Parameters
[in]ValueThe desired value for the comment field.

◆ SetDataValid()

void FrameCPP::Version_9::FrAdcDataImpl::Data::SetDataValid ( dataValid_type flag)
inlineinherited

Establish the value of the dataValid field.

Parameters
[in]flagThe desired value of the overRange field.

◆ setName()

void FrameCPP::Version_9::FrAdcDataImpl::Data::setName ( const name_type & Value)
inlineprotectedinherited

◆ SetNBits()

void FrameCPP::Version_9::FrAdcDataImpl::Data::SetNBits ( nBits_type Value)
inlineinherited

Tne number of bits in the A/D output.

Returns
Tne number of bits in the A/D output.

◆ SetSampleRate()

void FrameCPP::Version_9::FrAdcDataImpl::Data::SetSampleRate ( sampleRate_type Value)
inlineinherited

Establish the value of the sampleRate field.

Parameters
[in]ValueThe desired value of the sampleRate field.

◆ SetSlope()

void FrameCPP::Version_9::FrAdcDataImpl::Data::SetSlope ( slope_type slope)
inlineinherited

Establish the value of the slope field.

Parameters
[in]slopeThe desired value of the slope field.

◆ SetTimeOffset()

void FrameCPP::Version_9::FrAdcDataImpl::Data::SetTimeOffset ( timeOffset_type Value)
inlineinherited

Establish the value of the timeOffset field.

Parameters
[in]ValueThe value for the timeOffset field.

◆ StructDescription() [1/2]

static const Common::Description * FrameCPP::Version_9::FrAdcDataImpl::ClassicIO< FrAdcData >::StructDescription ( )
inlinestaticinherited

The description of structure.

Returns
A Description object which describes this structure as specified by the frame specification.

◆ StructDescription() [2/2]

static const Common::Description * FrameCPP::Version_9::FrAdcDataImpl::ClassicIO< FrAdcData >::StructDescription ( )
inlinestaticinherited

The description of structure.

Returns
A Description object which describes this structure as specified by the frame specification.

◆ Subset() [1/2]

subset_ret_type FrameCPP::Version_9::FrAdcData::Subset ( REAL_8 Offset,
REAL_8 Dt ) const

Request a subset of the data.

Parameters
[in]OffsetThe number of seconds from the start of the FrAdcData object from which to start extracting data.
[in]DtThe number of seconds of data in the resulting FrAdcData strucutre.
Returns
A FrAdcData structure which contains Dt seconds of data starting at Offset of this FrAdcData structure.

◆ Subset() [2/2]

subset_ret_type FrameCPP::Version_9::FrAdcData::Subset ( REAL_8 Offset,
REAL_8 Dt ) const

Request a subset of the data.

Parameters
[in]OffsetThe number of seconds from the start of the FrAdcData object from which to start extracting data.
[in]DtThe number of seconds of data in the resulting FrAdcData strucutre.
Returns
A FrAdcData structure which contains Dt seconds of data starting at Offset of this FrAdcData structure.

◆ TOCQuery() [1/2]

void FrameCPP::Common::TOCInfo::TOCQuery ( int InfoClass,
... ) const
inlineinherited

◆ TOCQuery() [2/2]

void FrameCPP::Common::TOCInfo::TOCQuery ( int InfoClass,
... ) const
inherited

◆ VerifyObject() [1/2]

void FrameCPP::Common::FrameSpec::ObjectInterface::VerifyObject ( Verify & Verifier,
IFrameStream & Stream ) const
virtualinherited

Verify an object.

Parameters
[in,out]VerifierSet of rules to use in verification of the object. If an error occurs, the violation is logged here.
[in]StreamThe stream that is being used to read the object.

Reimplemented in FrameCPP::Version_3::FrameH, FrameCPP::Version_3::FrameH, FrameCPP::Version_3::FrEndOfFile, FrameCPP::Version_3::FrEndOfFile, FrameCPP::Version_3::FrHeader, FrameCPP::Version_3::FrHeader, FrameCPP::Version_3::FrVect, FrameCPP::Version_3::FrVect, FrameCPP::Version_4::FrameH, FrameCPP::Version_4::FrameH, FrameCPP::Version_4::FrEndOfFile, FrameCPP::Version_4::FrEndOfFile, FrameCPP::Version_4::FrVect, FrameCPP::Version_4::FrVect, FrameCPP::Version_6::FrameH, FrameCPP::Version_6::FrameH, FrameCPP::Version_6::FrEndOfFile, FrameCPP::Version_6::FrEndOfFile, FrameCPP::Version_6::FrVect, FrameCPP::Version_6::FrVect, FrameCPP::Version_7::FrameH, FrameCPP::Version_7::FrameH, FrameCPP::Version_8::FrEndOfFile, FrameCPP::Version_8::FrEndOfFile, FrameCPP::Version_8::FrHeader, FrameCPP::Version_8::FrHeader, FrameCPP::Version_8::FrVectImpl::ClassicIO< T >, FrameCPP::Version_8::FrVectImpl::ClassicIO< T >, FrameCPP::Version_8::FrVectImpl::ClassicIO< FrVect >, FrameCPP::Version_8::FrVectImpl::ClassicIO< FrVect >, FrameCPP::Version_9::FrEndOfFile, FrameCPP::Version_9::FrEndOfFile, FrameCPP::Version_9::FrHeader, FrameCPP::Version_9::FrHeader, FrameCPP::Version_9::FrVectImpl::ClassicIO< T >, FrameCPP::Version_9::FrVectImpl::ClassicIO< T >, FrameCPP::Version_9::FrVectImpl::ClassicIO< FrVect >, and FrameCPP::Version_9::FrVectImpl::ClassicIO< FrVect >.

◆ VerifyObject() [2/2]

virtual void FrameCPP::Common::FrameSpec::ObjectInterface::VerifyObject ( Verify & Verifier,
IFrameStream & Stream ) const
virtualinherited

Verify an object.

Parameters
[in,out]VerifierSet of rules to use in verification of the object. If an error occurs, the violation is logged here.
[in]StreamThe stream that is being used to read the object.

Reimplemented in FrameCPP::Version_3::FrameH, FrameCPP::Version_3::FrameH, FrameCPP::Version_3::FrEndOfFile, FrameCPP::Version_3::FrEndOfFile, FrameCPP::Version_3::FrHeader, FrameCPP::Version_3::FrHeader, FrameCPP::Version_3::FrVect, FrameCPP::Version_3::FrVect, FrameCPP::Version_4::FrameH, FrameCPP::Version_4::FrameH, FrameCPP::Version_4::FrEndOfFile, FrameCPP::Version_4::FrEndOfFile, FrameCPP::Version_4::FrVect, FrameCPP::Version_4::FrVect, FrameCPP::Version_6::FrameH, FrameCPP::Version_6::FrameH, FrameCPP::Version_6::FrEndOfFile, FrameCPP::Version_6::FrEndOfFile, FrameCPP::Version_6::FrVect, FrameCPP::Version_6::FrVect, FrameCPP::Version_7::FrameH, FrameCPP::Version_7::FrameH, FrameCPP::Version_8::FrEndOfFile, FrameCPP::Version_8::FrEndOfFile, FrameCPP::Version_8::FrHeader, FrameCPP::Version_8::FrHeader, FrameCPP::Version_8::FrVectImpl::ClassicIO< T >, FrameCPP::Version_8::FrVectImpl::ClassicIO< T >, FrameCPP::Version_8::FrVectImpl::ClassicIO< FrVect >, FrameCPP::Version_8::FrVectImpl::ClassicIO< FrVect >, FrameCPP::Version_9::FrEndOfFile, FrameCPP::Version_9::FrEndOfFile, FrameCPP::Version_9::FrHeader, FrameCPP::Version_9::FrHeader, FrameCPP::Version_9::FrVectImpl::ClassicIO< T >, FrameCPP::Version_9::FrVectImpl::ClassicIO< T >, FrameCPP::Version_9::FrVectImpl::ClassicIO< FrVect >, and FrameCPP::Version_9::FrVectImpl::ClassicIO< FrVect >.

◆ vTOCQuery() [1/2]

virtual void FrameCPP::Version_9::FrAdcDataImpl::ClassicIO< FrAdcData >::vTOCQuery ( int InfoClass,
va_list vl ) const
protectedvirtualinherited

Answer requests for information as needed by TOC.

Parameters
[in]InfoClassClass of information being requested.
[in]vlVariable argument list of requested data.

Implements FrameCPP::Common::TOCInfo.

◆ vTOCQuery() [2/2]

virtual void FrameCPP::Version_9::FrAdcDataImpl::ClassicIO< FrAdcData >::vTOCQuery ( int InfoClass,
va_list vl ) const
protectedvirtualinherited

Answer requests for information as needed by TOC.

Parameters
[in]InfoClassClass of information being requested.
[in]vlVariable argument list of requested data.

Implements FrameCPP::Common::TOCInfo.

◆ Write() [1/2]

virtual void FrameCPP::Common::FrameSpec::ObjectWithChecksum< Common::FrameSpec::Object, checksum_type >::Write ( ostream_type & Stream) const
virtualinherited

Write object to the stream.

Implements FrameCPP::Common::FrameSpec::ObjectInterface.

◆ Write() [2/2]

virtual void FrameCPP::Common::FrameSpec::ObjectWithChecksum< Common::FrameSpec::Object, checksum_type >::Write ( ostream_type & Stream) const
virtualinherited

Write object to the stream.

Implements FrameCPP::Common::FrameSpec::ObjectInterface.

◆ WriteNext() [1/2]

ostream_type & FrameCPP::Common::FrameSpec::Object::WriteNext ( ostream_type & Stream) const
inherited

Write a next pointer to the parent to the stream.

Parameters
[in,out]StreamThe output stream to receive the next pointer.
Returns
The output stream.

◆ WriteNext() [2/2]

ostream_type & FrameCPP::Common::FrameSpec::Object::WriteNext ( ostream_type & Stream) const
inherited

Write a next pointer to the parent to the stream.

Parameters
[in,out]StreamThe output stream to receive the next pointer.
Returns
The output stream.

Member Data Documentation

◆ aux

aux_type FrameCPP::Version_9::FrAdcDataImpl::Data::aux
protectedinherited

Identifier for vector for user-provided information; use is generic

◆ bias

bias_type FrameCPP::Version_9::FrAdcDataImpl::Data::bias { DEFAULT_BIAS }
protectedinherited

DC bias on channel (Units @ ADC counts = 0)

◆ channelGroup

channelGroup_type FrameCPP::Version_9::FrAdcDataImpl::Data::channelGroup
protectedinherited

Channel grouping number containing ADC.

◆ channelNumber

channelNumber_type FrameCPP::Version_9::FrAdcDataImpl::Data::channelNumber
protectedinherited

Channel nubmer.

◆ comment

comment_type FrameCPP::Version_9::FrAdcDataImpl::Data::comment
protectedinherited

Comment.

◆ data

data_type FrameCPP::Version_9::FrAdcDataImpl::Data::data
protectedinherited

Identifier for vector of sampled data.

◆ dataValid

dataValid_type FrameCPP::Version_9::FrAdcDataImpl::Data::dataValid { DEFAULT_DATA_VALID }
protectedinherited

Data valid flag.

◆ DEFAULT_BIAS

static constexpr bias_type FrameCPP::Version_9::FrAdcDataImpl::Data::DEFAULT_BIAS { 0 }
staticconstexprinherited

◆ DEFAULT_DATA_VALID

static constexpr dataValid_type FrameCPP::Version_9::FrAdcDataImpl::Data::DEFAULT_DATA_VALID { 0 }
staticconstexprinherited

◆ DEFAULT_FSHIFT

static constexpr fShift_type FrameCPP::Version_9::FrAdcDataImpl::Data::DEFAULT_FSHIFT { 0 }
staticconstexprinherited

◆ DEFAULT_PHASE

static constexpr phase_type FrameCPP::Version_9::FrAdcDataImpl::Data::DEFAULT_PHASE { 0 }
staticconstexprinherited

◆ DEFAULT_SLOPE

static constexpr slope_type FrameCPP::Version_9::FrAdcDataImpl::Data::DEFAULT_SLOPE { 1.0 }
staticconstexprinherited

◆ DEFAULT_TIME_OFFSET

static constexpr timeOffset_type FrameCPP::Version_9::FrAdcDataImpl::Data::DEFAULT_TIME_OFFSET { 0 }
staticconstexprinherited

◆ frame_spec_version

const frame_spec_version_type FrameCPP::Common::FrameSpec::Object::frame_spec_version
privateinherited

Version of the frame specification.

The version of the frame specification for which this object was created.

◆ fShift

fShift_type FrameCPP::Version_9::FrAdcDataImpl::Data::fShift { DEFAULT_FSHIFT }
protectedinherited

fShift is the frequency (in Hz) in the original data that corresponds to 0 Hz in the heterodyned series.

◆ m_chkSum

checksum_type FrameCPP::Common::FrameSpec::ObjectWithChecksum< Common::FrameSpec::Object, checksum_type >::m_chkSum
privateinherited

Structure checksum.

The checksum for the structure when the structure is contained in a stream.

◆ m_class

const class_type FrameCPP::Common::FrameSpec::Object::m_class
privateinherited

Storage for the class identifier.

The class identifier uniquely identifies the parent class within the frame specification. All instances of parent class will have the same class identifier.

◆ m_desc

const Description *const FrameCPP::Common::FrameSpec::Object::m_desc
privateinherited

Description for parent class.

The description for the parent class composed of one FrSH and one or more FrSE elements.

◆ MAX_REF

static constexpr unsigned int FrameCPP::Version_9::FrAdcDataImpl::Data::MAX_REF { 2 }
staticconstexprprotectedinherited

◆ name

name_type FrameCPP::Version_9::FrAdcDataImpl::Data::name
protectedinherited

Channel name – must be unique with the frame.

◆ nBits

nBits_type FrameCPP::Version_9::FrAdcDataImpl::Data::nBits
protectedinherited

Number of bits in A/D output.

◆ phase

phase_type FrameCPP::Version_9::FrAdcDataImpl::Data::phase { DEFAULT_PHASE }
protectedinherited

Phase (in radian) of hetrodyning signal at start of dataset

◆ sampleRate

sampleRate_type FrameCPP::Version_9::FrAdcDataImpl::Data::sampleRate
protectedinherited

Data acquisition rate, samples/s.

◆ slope

slope_type FrameCPP::Version_9::FrAdcDataImpl::Data::slope { DEFAULT_SLOPE }
protectedinherited

ADC calibration: input units/ct.

◆ timeOffset

timeOffset_type FrameCPP::Version_9::FrAdcDataImpl::Data::timeOffset { DEFAULT_TIME_OFFSET }
protectedinherited

Offset of 1st sample relative to the frame start time.

◆ units

units_type FrameCPP::Version_9::FrAdcDataImpl::Data::units { DEFAULT_UNITS( ) }
protectedinherited

ADC calibration: input units for slope.


The documentation for this class was generated from the following files: