ldas-tools-framecpp 2.9.2
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Private Types | Private Member Functions | Private Attributes | List of all members
FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO Class Reference

#include <FrTOCAdcDataClassicIO.hh>

Inheritance diagram for FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO:
Inheritance graph
[legend]
Collaboration diagram for FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO:
Collaboration graph
[legend]

Public Types

typedef INT_4U nadc_type
 
typedef INT_4U nadc_type
 
typedef INT_4U nadc_type
 
typedef STRING name_type
 
typedef STRING name_type
 
typedef STRING name_type
 
typedef INT_4U channel_id_type
 
typedef INT_4U channel_id_type
 
typedef INT_4U channel_id_type
 
typedef INT_4U group_id_type
 
typedef INT_4U group_id_type
 
typedef INT_4U group_id_type
 
typedef INT_8U position_type
 
typedef INT_8U position_type
 
typedef INT_8U position_type
 
typedef std::vector< name_typekey_container_type
 
typedef std::vector< name_typekey_container_type
 
typedef std::vector< name_typekey_container_type
 
typedef std::map< name_type, adc_info_typeMapADC_type
 Container of indexed FrAdcData elements. More...
 
typedef std::map< name_type, adc_info_typeMapADC_type
 Container of indexed FrAdcData elements. More...
 
typedef std::map< name_type, adc_info_typeMapADC_type
 Container of indexed FrAdcData elements. More...
 

Public Member Functions

 FrTOCAdcDataClassicIO ()=default
 Default constructor. More...
 
Common::FrameSpec::size_type Bytes (const Common::StreamBase &Stream) const
 Number of bytes needed to write this structure. More...
 
void QueryAdc (const Common::TOCInfo &Info, INT_4U FrameOffset, INT_8U Position)
 Gather TOC info for FrAdcData being written. More...
 
const FrTOCAdcDataClassicIOoperator= (const Previous::FrTOCAdcData &Source)
 asignment operator More...
 
FrTOCAdcDataClassicIOoperator= (FrTOCAdcDataClassicIO &&TOC)
 
 FrTOCAdcDataClassicIO ()=default
 Default constructor. More...
 
Common::FrameSpec::size_type Bytes (const Common::StreamBase &Stream) const
 Number of bytes needed to write this structure. More...
 
void QueryAdc (const Common::TOCInfo &Info, INT_4U FrameOffset, INT_8U Position)
 Gather TOC info for FrAdcData being written. More...
 
const FrTOCAdcDataClassicIOoperator= (const Previous::FrTOCAdcData &Source)
 asignment operator More...
 
FrTOCAdcDataClassicIOoperator= (FrTOCAdcDataClassicIO &&TOC)
 
 FrTOCAdcDataClassicIO ()=default
 Default constructor. More...
 
Common::FrameSpec::size_type Bytes (const Common::StreamBase &Stream) const
 Number of bytes needed to write this structure. More...
 
void QueryAdc (const Common::TOCInfo &Info, INT_4U FrameOffset, INT_8U Position)
 Gather TOC info for FrAdcData being written. More...
 
const FrTOCAdcDataClassicIOoperator= (const Previous::FrTOCAdcData &Source)
 asignment operator More...
 
FrTOCAdcDataClassicIOoperator= (FrTOCAdcDataClassicIO &&TOC)
 
const MapADC_typeGetADC () const
 Return all channels. More...
 
MapADC_type::const_iterator GetADC (const std::string &Name) const
 Return the indexed data for a named channel. More...
 
MapADC_type::const_iterator GetADC (INT_4U Channel) const
 Return the indexed data for an indexed channel. More...
 
const MapADC_typeGetADC () const
 Return all channels. More...
 
MapADC_type::const_iterator GetADC (const std::string &Name) const
 Return the indexed data for a named channel. More...
 
MapADC_type::const_iterator GetADC (INT_4U Channel) const
 Return the indexed data for an indexed channel. More...
 
const MapADC_typeGetADC () const
 Return all channels. More...
 
MapADC_type::const_iterator GetADC (const std::string &Name) const
 Return the indexed data for a named channel. More...
 
MapADC_type::const_iterator GetADC (INT_4U Channel) const
 Return the indexed data for an indexed channel. More...
 
const key_container_typeGetKeys () const
 Retrieve the keys. More...
 
const key_container_typeGetKeys () const
 Retrieve the keys. More...
 
const key_container_typeGetKeys () const
 Retrieve the keys. More...
 
bool operator== (const FrTOCAdcDataData &RHS) const
 equality operator More...
 
bool operator== (const FrTOCAdcDataData &RHS) const
 equality operator More...
 
bool operator== (const FrTOCAdcDataData &RHS) const
 equality operator More...
 

Static Public Member Functions

template<typename SE >
static void Description (Common::Description &Desc)
 The description of structure. More...
 
template<typename SE >
static void Description (Common::Description &Desc)
 The description of structure. More...
 
template<typename SE >
static void Description (Common::Description &Desc)
 The description of structure. More...
 

Public Attributes

position_type m_positions_start
 

Protected Member Functions

void Load (istream_type &Stream, INT_4U FrameCount)
 Read contents from stream. More...
 
void forEach (Common::FrTOC::query_info_type Info, Common::FrTOC::FunctionBase &Action) const
 Iterate over contents. More...
 
void cachePositions (istream_type &Stream)
 Cache where the positions of the Adc channels. More...
 
void seekPositions (istream_type &Stream, channel_id_type Channel)
 Advance to the specified Adc channel. More...
 
void seekPositions (istream_type &Stream, const std::string &Channel)
 Advance to the specified Adc channel. More...
 
void write (Common::OStream &Stream) const
 Write the structure to the stream. More...
 
void Load (istream_type &Stream, INT_4U FrameCount)
 Read contents from stream. More...
 
void forEach (Common::FrTOC::query_info_type Info, Common::FrTOC::FunctionBase &Action) const
 Iterate over contents. More...
 
void cachePositions (istream_type &Stream)
 Cache where the positions of the Adc channels. More...
 
void seekPositions (istream_type &Stream, channel_id_type Channel)
 Advance to the specified Adc channel. More...
 
void seekPositions (istream_type &Stream, const std::string &Channel)
 Advance to the specified Adc channel. More...
 
void write (Common::OStream &Stream) const
 Write the structure to the stream. More...
 
void Load (istream_type &Stream, INT_4U FrameCount)
 Read contents from stream. More...
 
void forEach (Common::FrTOC::query_info_type Info, Common::FrTOC::FunctionBase &Action) const
 Iterate over contents. More...
 
void cachePositions (istream_type &Stream)
 Cache where the positions of the Adc channels. More...
 
void seekPositions (istream_type &Stream, channel_id_type Channel)
 Advance to the specified Adc channel. More...
 
void seekPositions (istream_type &Stream, const std::string &Channel)
 Advance to the specified Adc channel. More...
 
void write (Common::OStream &Stream) const
 Write the structure to the stream. More...
 

Protected Attributes

key_container_type m_keys
 
MapADC_type m_info
 

Private Types

typedef LDASTools::AL::unordered_map< std::string, INT_4U > reverse_lookup_type
 
typedef std::vector< position_typepositions_cache_type
 
typedef LDASTools::AL::unordered_map< std::string, INT_4U > reverse_lookup_type
 
typedef std::vector< position_typepositions_cache_type
 
typedef LDASTools::AL::unordered_map< std::string, INT_4U > reverse_lookup_type
 
typedef std::vector< position_typepositions_cache_type
 

Private Member Functions

MapADC_typegetADC ()
 
MapADC_type::iterator getADC (const std::string &Channel)
 
MapADC_type::iterator getADC (INT_4U Channel)
 
reverse_lookup_type::mapped_type reverse_lookup (const reverse_lookup_type::key_type &Key) const
 
MapADC_typegetADC ()
 
MapADC_type::iterator getADC (const std::string &Channel)
 
MapADC_type::iterator getADC (INT_4U Channel)
 
reverse_lookup_type::mapped_type reverse_lookup (const reverse_lookup_type::key_type &Key) const
 
MapADC_typegetADC ()
 
MapADC_type::iterator getADC (const std::string &Channel)
 
MapADC_type::iterator getADC (INT_4U Channel)
 
reverse_lookup_type::mapped_type reverse_lookup (const reverse_lookup_type::key_type &Key) const
 

Private Attributes

positions_cache_type positions_cache
 
position_type positions_cache_offset
 
reverse_lookup_type reverse_lookup_
 

Member Typedef Documentation

◆ channel_id_type [1/3]

◆ channel_id_type [2/3]

◆ channel_id_type [3/3]

◆ group_id_type [1/3]

◆ group_id_type [2/3]

◆ group_id_type [3/3]

◆ key_container_type [1/3]

◆ key_container_type [2/3]

◆ key_container_type [3/3]

◆ MapADC_type [1/3]

Container of indexed FrAdcData elements.

This structure is ordered by the name of the FrAdcData channel name. There is one element for each channel of indexed data.

◆ MapADC_type [2/3]

Container of indexed FrAdcData elements.

This structure is ordered by the name of the FrAdcData channel name. There is one element for each channel of indexed data.

◆ MapADC_type [3/3]

Container of indexed FrAdcData elements.

This structure is ordered by the name of the FrAdcData channel name. There is one element for each channel of indexed data.

◆ nadc_type [1/3]

◆ nadc_type [2/3]

◆ nadc_type [3/3]

◆ name_type [1/3]

◆ name_type [2/3]

◆ name_type [3/3]

◆ position_type [1/3]

◆ position_type [2/3]

◆ position_type [3/3]

◆ positions_cache_type [1/3]

◆ positions_cache_type [2/3]

◆ positions_cache_type [3/3]

◆ reverse_lookup_type [1/3]

typedef LDASTools::AL::unordered_map< std::string, INT_4U > FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::reverse_lookup_type
private

◆ reverse_lookup_type [2/3]

typedef LDASTools::AL::unordered_map< std::string, INT_4U > FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::reverse_lookup_type
private

◆ reverse_lookup_type [3/3]

typedef LDASTools::AL::unordered_map< std::string, INT_4U > FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::reverse_lookup_type
private

Constructor & Destructor Documentation

◆ FrTOCAdcDataClassicIO() [1/3]

FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::FrTOCAdcDataClassicIO ( )
default

Default constructor.

◆ FrTOCAdcDataClassicIO() [2/3]

FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::FrTOCAdcDataClassicIO ( )
default

Default constructor.

◆ FrTOCAdcDataClassicIO() [3/3]

FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::FrTOCAdcDataClassicIO ( )
default

Default constructor.

Member Function Documentation

◆ Bytes() [1/3]

Common::FrameSpec::size_type FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::Bytes ( const Common::StreamBase Stream) const
inline

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.

◆ Bytes() [2/3]

Common::FrameSpec::size_type FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::Bytes ( const Common::StreamBase Stream) const
inline

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.

◆ Bytes() [3/3]

Common::FrameSpec::size_type FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::Bytes ( const Common::StreamBase Stream) const
inline

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.

◆ cachePositions() [1/3]

void FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::cachePositions ( istream_type Stream)
inlineprotected

Cache where the positions of the Adc channels.

Parameters
[in,out]StreamThe Stream being read

◆ cachePositions() [2/3]

void FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::cachePositions ( istream_type Stream)
inlineprotected

Cache where the positions of the Adc channels.

Parameters
[in,out]StreamThe Stream being read

◆ cachePositions() [3/3]

void FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::cachePositions ( istream_type Stream)
inlineprotected

Cache where the positions of the Adc channels.

Parameters
[in,out]StreamThe Stream being read

◆ Description() [1/3]

template<typename SE >
static void FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::Description ( Common::Description Desc)
inlinestatic

The description of structure.

Parameters
[out]DescStorage for the description of the structure.
Returns
A Description object which describes this structure as specified by the frame specification.

◆ Description() [2/3]

template<typename SE >
static void FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::Description ( Common::Description Desc)
inlinestatic

The description of structure.

Parameters
[out]DescStorage for the description of the structure.
Returns
A Description object which describes this structure as specified by the frame specification.

◆ Description() [3/3]

template<typename SE >
static void FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::Description ( Common::Description Desc)
inlinestatic

The description of structure.

Parameters
[out]DescStorage for the description of the structure.
Returns
A Description object which describes this structure as specified by the frame specification.

◆ forEach() [1/3]

void FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::forEach ( Common::FrTOC::query_info_type  Info,
Common::FrTOC::FunctionBase &  Action 
) const
inlineprotected

Iterate over contents.

Parameters
[in]InfoSpecifies the type of information to be searched.
[in]ActionAction to be taken for each piece of information found.

◆ forEach() [2/3]

void FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::forEach ( Common::FrTOC::query_info_type  Info,
Common::FrTOC::FunctionBase &  Action 
) const
inlineprotected

Iterate over contents.

Parameters
[in]InfoSpecifies the type of information to be searched.
[in]ActionAction to be taken for each piece of information found.

◆ forEach() [3/3]

void FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::forEach ( Common::FrTOC::query_info_type  Info,
Common::FrTOC::FunctionBase &  Action 
) const
inlineprotected

Iterate over contents.

Parameters
[in]InfoSpecifies the type of information to be searched.
[in]ActionAction to be taken for each piece of information found.

◆ getADC() [1/9]

MapADC_type & FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::getADC ( )
inlineprivate

◆ getADC() [2/9]

MapADC_type & FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::getADC ( )
inlineprivate

◆ getADC() [3/9]

MapADC_type & FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::getADC ( )
inlineprivate

◆ GetADC() [1/9]

const FrTOCAdcDataData::MapADC_type & FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataData::GetADC ( ) const
inlineinherited

Return all channels.

Returns
Constant container to the indexed FrAdcData elements.

◆ GetADC() [2/9]

const MapADC_type & FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataData::GetADC ( ) const
inlineinherited

Return all channels.

Returns
Constant container to the indexed FrAdcData elements.

◆ GetADC() [3/9]

const MapADC_type & FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataData::GetADC ( ) const
inlineinherited

Return all channels.

Returns
Constant container to the indexed FrAdcData elements.

◆ getADC() [4/9]

MapADC_type::iterator FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::getADC ( const std::string &  Channel)
inlineprivate

◆ getADC() [5/9]

MapADC_type::iterator FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::getADC ( const std::string &  Channel)
inlineprivate

◆ getADC() [6/9]

MapADC_type::iterator FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::getADC ( const std::string &  Channel)
inlineprivate

◆ GetADC() [4/9]

FrTOCAdcDataData::MapADC_type::const_iterator FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataData::GetADC ( const std::string &  Name) const
inlineinherited

Return the indexed data for a named channel.

Parameters
[in]ChannelThe name of the channel.
Returns
Constant iterator to the indexed FrAdcData element.

◆ GetADC() [5/9]

MapADC_type::const_iterator FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataData::GetADC ( const std::string &  Name) const
inherited

Return the indexed data for a named channel.

Parameters
[in]ChannelThe name of the channel.
Returns
Constant iterator to the indexed FrAdcData element.

◆ GetADC() [6/9]

MapADC_type::const_iterator FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataData::GetADC ( const std::string &  Name) const
inherited

Return the indexed data for a named channel.

Parameters
[in]ChannelThe name of the channel.
Returns
Constant iterator to the indexed FrAdcData element.

◆ getADC() [7/9]

MapADC_type::iterator FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::getADC ( INT_4U  Channel)
inlineprivate

◆ getADC() [8/9]

MapADC_type::iterator FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::getADC ( INT_4U  Channel)
inlineprivate

◆ getADC() [9/9]

MapADC_type::iterator FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::getADC ( INT_4U  Channel)
inlineprivate

◆ GetADC() [7/9]

FrTOCAdcDataData::MapADC_type::const_iterator FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataData::GetADC ( INT_4U  Channel) const
inlineinherited

Return the indexed data for an indexed channel.

Parameters
[in]ChannelThe numeric offset of the channel.
Returns
Constant iterator to the indexed FrAdcData element.

◆ GetADC() [8/9]

MapADC_type::const_iterator FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataData::GetADC ( INT_4U  Channel) const
inherited

Return the indexed data for an indexed channel.

Parameters
[in]ChannelThe numeric offset of the channel.
Returns
Constant iterator to the indexed FrAdcData element.

◆ GetADC() [9/9]

MapADC_type::const_iterator FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataData::GetADC ( INT_4U  Channel) const
inherited

Return the indexed data for an indexed channel.

Parameters
[in]ChannelThe numeric offset of the channel.
Returns
Constant iterator to the indexed FrAdcData element.

◆ GetKeys() [1/3]

const FrTOCAdcDataData::key_container_type & FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataData::GetKeys ( ) const
inlineinherited

Retrieve the keys.

Returns
Constant container of keys.

◆ GetKeys() [2/3]

const key_container_type & FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataData::GetKeys ( ) const
inlineinherited

Retrieve the keys.

Returns
Constant container of keys.

◆ GetKeys() [3/3]

const key_container_type & FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataData::GetKeys ( ) const
inlineinherited

Retrieve the keys.

Returns
Constant container of keys.

◆ Load() [1/3]

void FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::Load ( istream_type Stream,
INT_4U  FrameCount 
)
protected

Read contents from stream.

Parameters
[in]StreamThe stream from which the object is being read.
Returns
A new instance of this object.

◆ Load() [2/3]

void FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::Load ( istream_type Stream,
INT_4U  FrameCount 
)
protected

Read contents from stream.

Parameters
[in]StreamThe stream from which the object is being read.
Returns
A new instance of this object.

◆ Load() [3/3]

void FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::Load ( istream_type Stream,
INT_4U  FrameCount 
)
protected

Read contents from stream.

Parameters
[in]StreamThe stream from which the object is being read.
Returns
A new instance of this object.

◆ operator=() [1/6]

const FrTOCAdcDataClassicIO & FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::operator= ( const Previous::FrTOCAdcData &  Source)
inline

asignment operator

Parameters
[in]SourceThe source to be copied.

◆ operator=() [2/6]

const FrTOCAdcDataClassicIO & FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::operator= ( const Previous::FrTOCAdcData &  Source)
inline

asignment operator

Parameters
[in]SourceThe source to be copied.

◆ operator=() [3/6]

const FrTOCAdcDataClassicIO & FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::operator= ( const Previous::FrTOCAdcData &  Source)
inline

asignment operator

Parameters
[in]SourceThe source to be copied.

◆ operator=() [4/6]

FrTOCAdcDataClassicIO & FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::operator= ( FrTOCAdcDataClassicIO &&  TOC)
inline

◆ operator=() [5/6]

FrTOCAdcDataClassicIO & FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::operator= ( FrTOCAdcDataClassicIO &&  TOC)
inline

◆ operator=() [6/6]

FrTOCAdcDataClassicIO & FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::operator= ( FrTOCAdcDataClassicIO &&  TOC)
inline

◆ operator==() [1/3]

bool FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataData::operator== ( const FrTOCAdcDataData RHS) const
inherited

equality operator

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

◆ operator==() [2/3]

bool FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataData::operator== ( const FrTOCAdcDataData RHS) const
inherited

equality operator

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

◆ operator==() [3/3]

bool FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataData::operator== ( const FrTOCAdcDataData RHS) const
inherited

equality operator

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

◆ QueryAdc() [1/3]

void FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::QueryAdc ( const Common::TOCInfo Info,
INT_4U  FrameOffset,
INT_8U  Position 
)
inline

Gather TOC info for FrAdcData being written.

Parameters
[in]InfoInformation
[in]FrameOffsetThe frame offset of the frame being written. The frame offsets start at 0 (zero).
[in]PositionThe byte offset from the start of the file where the structure is written.

◆ QueryAdc() [2/3]

void FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::QueryAdc ( const Common::TOCInfo Info,
INT_4U  FrameOffset,
INT_8U  Position 
)
inline

Gather TOC info for FrAdcData being written.

Parameters
[in]InfoInformation
[in]FrameOffsetThe frame offset of the frame being written. The frame offsets start at 0 (zero).
[in]PositionThe byte offset from the start of the file where the structure is written.

◆ QueryAdc() [3/3]

void FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::QueryAdc ( const Common::TOCInfo Info,
INT_4U  FrameOffset,
INT_8U  Position 
)
inline

Gather TOC info for FrAdcData being written.

Parameters
[in]InfoInformation
[in]FrameOffsetThe frame offset of the frame being written. The frame offsets start at 0 (zero).
[in]PositionThe byte offset from the start of the file where the structure is written.

◆ reverse_lookup() [1/3]

reverse_lookup_type::mapped_type FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::reverse_lookup ( const reverse_lookup_type::key_type &  Key) const
inlineprivate

◆ reverse_lookup() [2/3]

reverse_lookup_type::mapped_type FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::reverse_lookup ( const reverse_lookup_type::key_type &  Key) const
inlineprivate

◆ reverse_lookup() [3/3]

reverse_lookup_type::mapped_type FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::reverse_lookup ( const reverse_lookup_type::key_type &  Key) const
inlineprivate

◆ seekPositions() [1/6]

void FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::seekPositions ( istream_type Stream,
channel_id_type  Channel 
)
inlineprotected

Advance to the specified Adc channel.

Parameters
[in,out]StreamThe Stream being read
[in]ChannelThe requested channel

◆ seekPositions() [2/6]

void FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::seekPositions ( istream_type Stream,
channel_id_type  Channel 
)
inlineprotected

Advance to the specified Adc channel.

Parameters
[in,out]StreamThe Stream being read
[in]ChannelThe requested channel

◆ seekPositions() [3/6]

void FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::seekPositions ( istream_type Stream,
channel_id_type  Channel 
)
inlineprotected

Advance to the specified Adc channel.

Parameters
[in,out]StreamThe Stream being read
[in]ChannelThe requested channel

◆ seekPositions() [4/6]

void FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::seekPositions ( istream_type Stream,
const std::string &  Channel 
)
inlineprotected

Advance to the specified Adc channel.

Parameters
[in,out]StreamThe Stream being read
[in]ChannelThe requested channel

◆ seekPositions() [5/6]

void FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::seekPositions ( istream_type Stream,
const std::string &  Channel 
)
inlineprotected

Advance to the specified Adc channel.

Parameters
[in,out]StreamThe Stream being read
[in]ChannelThe requested channel

◆ seekPositions() [6/6]

void FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::seekPositions ( istream_type Stream,
const std::string &  Channel 
)
inlineprotected

Advance to the specified Adc channel.

Parameters
[in,out]StreamThe Stream being read
[in]ChannelThe requested channel

◆ write() [1/3]

void FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::write ( Common::OStream Stream) const
inlineprotected

Write the structure to the stream.

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

◆ write() [2/3]

void FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::write ( Common::OStream Stream) const
inlineprotected

Write the structure to the stream.

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

◆ write() [3/3]

void FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::write ( Common::OStream Stream) const
inlineprotected

Write the structure to the stream.

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

Member Data Documentation

◆ m_info

MapADC_type FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataData::m_info
protectedinherited

◆ m_keys

key_container_type FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataData::m_keys
protectedinherited

◆ m_positions_start

position_type FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::m_positions_start

◆ positions_cache

positions_cache_type FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::positions_cache
private

A cache of the positions of the FrAdcData structures within the stream.

◆ positions_cache_offset

position_type FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::positions_cache_offset
private

The number of bytes from the end of the stream where the array containing the FrAdcData offsets.

◆ reverse_lookup_

reverse_lookup_type FrameCPP::Version_8::FrTOCImpl::FrTOCAdcDataClassicIO::reverse_lookup_
mutableprivate

Provide means where a channel index can be mapped to a channel name


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