|
ldas-tools-framecpp
2.7.0
|
Indexed elements of the FrAdcData structure. More...
#include <FrTOCAdcData.hh>

Public Types | |
| typedef Previous::FrTOCAdcData::nadc_type | nadc_type |
| typedef Previous::FrTOCAdcData::name_type | name_type |
| typedef Previous::FrTOCAdcData::channel_id_type | channel_id_type |
| typedef Previous::FrTOCAdcData::group_id_type | group_id_type |
| typedef Previous::FrTOCAdcData::position_type | position_type |
| typedef Previous::FrTOCAdcData::adc_info_type | adc_info_type |
| typedef std::vector< name_type > | key_container_type |
| typedef std::map< name_type, adc_info_type > | MapADC_type |
| Container of indexed FrAdcData elements. More... | |
| typedef Previous::FrTOCAdcData::nadc_type | nadc_type |
| typedef Previous::FrTOCAdcData::name_type | name_type |
| typedef Previous::FrTOCAdcData::channel_id_type | channel_id_type |
| typedef Previous::FrTOCAdcData::group_id_type | group_id_type |
| typedef Previous::FrTOCAdcData::position_type | position_type |
| typedef Previous::FrTOCAdcData::adc_info_type | adc_info_type |
| typedef std::vector< name_type > | key_container_type |
| typedef std::map< name_type, adc_info_type > | MapADC_type |
| Container of indexed FrAdcData elements. More... | |
Public Member Functions | |
| FrTOCAdcData () | |
| Default constructor. More... | |
| Common::FrameSpec::size_type | Bytes (const Common::StreamBase &Stream) const |
| Number of bytes needed to write this structure. More... | |
| const MapADC_type & | GetADC () 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 index) const |
| Return the indexed data for an indexed channel. More... | |
| const key_container_type & | GetKeys () const |
| Retrieve the keys. More... | |
| void | QueryAdc (const Common::TOCInfo &Info, INT_4U FrameOffset, INT_8U Position) |
| Gather TOC info for FrAdcData being written. More... | |
| const FrTOCAdcData & | operator= (const Previous::FrTOCAdcData &Source) |
| asignment operator More... | |
| bool | operator== (const FrTOCAdcData &RHS) const |
| equality operator More... | |
| FrTOCAdcData () | |
| Default constructor. More... | |
| Common::FrameSpec::size_type | Bytes (const Common::StreamBase &Stream) const |
| Number of bytes needed to write this structure. More... | |
| const MapADC_type & | GetADC () 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 index) const |
| Return the indexed data for an indexed channel. More... | |
| const key_container_type & | GetKeys () const |
| Retrieve the keys. More... | |
| void | QueryAdc (const Common::TOCInfo &Info, INT_4U FrameOffset, INT_8U Position) |
| Gather TOC info for FrAdcData being written. More... | |
| const FrTOCAdcData & | operator= (const Previous::FrTOCAdcData &Source) |
| asignment operator More... | |
| bool | operator== (const FrTOCAdcData &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... | |
Public Attributes | |
| position_type | m_positions_start |
Protected Member Functions | |
| FrTOCAdcData (Common::IStream &Stream, INT_4U FrameCount) | |
| Stream constructor. 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... | |
| FrTOCAdcData (Common::IStream &Stream, INT_4U FrameCount) | |
| Stream constructor. 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_type > | positions_cache_type |
| typedef LDASTools::AL::unordered_map< std::string, INT_4U > | reverse_lookup_type |
| typedef std::vector< position_type > | positions_cache_type |
Private Member Functions | |
| MapADC_type & | getADC () |
| MapADC_type::iterator | getADC (const std::string &Name) |
| MapADC_type::iterator | getADC (INT_4U index) |
| reverse_lookup_type::mapped_type | reverse_lookup (const reverse_lookup_type::key_type &key) const |
| MapADC_type & | getADC () |
| MapADC_type::iterator | getADC (const std::string &Name) |
| MapADC_type::iterator | getADC (INT_4U index) |
| 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_ |
Indexed elements of the FrAdcData structure.
| typedef Previous::FrTOCAdcData::adc_info_type FrameCPP::Version_8::FrTOCAdcData::adc_info_type |
| typedef Previous::FrTOCAdcData::adc_info_type FrameCPP::Version_8::FrTOCAdcData::adc_info_type |
| typedef Previous::FrTOCAdcData::channel_id_type FrameCPP::Version_8::FrTOCAdcData::channel_id_type |
| typedef Previous::FrTOCAdcData::channel_id_type FrameCPP::Version_8::FrTOCAdcData::channel_id_type |
| typedef Previous::FrTOCAdcData::group_id_type FrameCPP::Version_8::FrTOCAdcData::group_id_type |
| typedef Previous::FrTOCAdcData::group_id_type FrameCPP::Version_8::FrTOCAdcData::group_id_type |
| typedef std::vector< name_type > FrameCPP::Version_8::FrTOCAdcData::key_container_type |
| typedef std::vector< name_type > FrameCPP::Version_8::FrTOCAdcData::key_container_type |
| typedef std::map< name_type, adc_info_type > FrameCPP::Version_8::FrTOCAdcData::MapADC_type |
| typedef std::map< name_type, adc_info_type > FrameCPP::Version_8::FrTOCAdcData::MapADC_type |
| typedef Previous::FrTOCAdcData::nadc_type FrameCPP::Version_8::FrTOCAdcData::nadc_type |
| typedef Previous::FrTOCAdcData::nadc_type FrameCPP::Version_8::FrTOCAdcData::nadc_type |
| typedef Previous::FrTOCAdcData::name_type FrameCPP::Version_8::FrTOCAdcData::name_type |
| typedef Previous::FrTOCAdcData::name_type FrameCPP::Version_8::FrTOCAdcData::name_type |
| typedef Previous::FrTOCAdcData::position_type FrameCPP::Version_8::FrTOCAdcData::position_type |
| typedef Previous::FrTOCAdcData::position_type FrameCPP::Version_8::FrTOCAdcData::position_type |
|
private |
|
private |
|
private |
|
private |
| FrameCPP::Version_8::FrTOCAdcData::FrTOCAdcData | ( | ) |
Default constructor.
|
protected |
Stream constructor.
| [in] | Stream | The input stream from where the object is being read. |
| [in] | FrameCount | The frame offset. |
| FrameCPP::Version_8::FrTOCAdcData::FrTOCAdcData | ( | ) |
Default constructor.
|
protected |
Stream constructor.
| [in] | Stream | The input stream from where the object is being read. |
| [in] | FrameCount | The frame offset. |
|
inline |
Number of bytes needed to write this structure.
| [in] | Stream | The stream from which to the object is being read or written. |
| Common::FrameSpec::size_type FrameCPP::Version_8::FrTOCAdcData::Bytes | ( | const Common::StreamBase & | Stream | ) | const |
Number of bytes needed to write this structure.
| [in] | Stream | The stream from which to the object is being read or written. |
|
inlineprotected |
Cache where the positions of the Adc channels.
| [in,out] | Stream | The Stream being read |
|
protected |
Cache where the positions of the Adc channels.
| [in,out] | Stream | The Stream being read |
|
static |
The description of structure.
| [out] | Desc | Storage for the description of the structure. |
|
static |
The description of structure.
| [out] | Desc | Storage for the description of the structure. |
|
protected |
Iterate over contents.
| [in] | Info | Specifies the type of information to be searched. |
| [in] | Action | Action to be taken for each piece of information found. |
This method allows for iterting over each element of information and allows the caller to gather information about each element.
|
protected |
Iterate over contents.
| [in] | Info | Specifies the type of information to be searched. |
| [in] | Action | Action to be taken for each piece of information found. |
|
inline |
Return all channels.
| const MapADC_type& FrameCPP::Version_8::FrTOCAdcData::GetADC | ( | ) | const |
Return all channels.
| MapADC_type::const_iterator FrameCPP::Version_8::FrTOCAdcData::GetADC | ( | const std::string & | Name | ) | const |
Return the indexed data for a named channel.
| [in] | Name | The name of the channel. |
| FrTOCAdcData::MapADC_type::const_iterator FrameCPP::Version_8::FrTOCAdcData::GetADC | ( | const std::string & | Name | ) | const |
Return the indexed data for a named channel.
| [in] | Name | The name of the channel. |
| FrTOCAdcData::MapADC_type::const_iterator FrameCPP::Version_8::FrTOCAdcData::GetADC | ( | INT_4U | index | ) | const |
Return the indexed data for an indexed channel.
| [in] | index | The numeric offset of the channel. |
| MapADC_type::const_iterator FrameCPP::Version_8::FrTOCAdcData::GetADC | ( | INT_4U | index | ) | const |
Return the indexed data for an indexed channel.
| [in] | index | The numeric offset of the channel. |
|
private |
|
inlineprivate |
|
inlineprivate |
|
private |
|
private |
|
inlineprivate |
|
inline |
Retrieve the keys.
| const key_container_type& FrameCPP::Version_8::FrTOCAdcData::GetKeys | ( | ) | const |
Retrieve the keys.
| const FrTOCAdcData& FrameCPP::Version_8::FrTOCAdcData::operator= | ( | const Previous::FrTOCAdcData & | Source | ) |
asignment operator
| [in] | Source | The source to be copied. |
| const FrTOCAdcData & FrameCPP::Version_8::FrTOCAdcData::operator= | ( | const Previous::FrTOCAdcData & | Source | ) |
asignment operator
| [in] | Source | The source to be copied. |
| bool FrameCPP::Version_8::FrTOCAdcData::operator== | ( | const FrTOCAdcData & | RHS | ) | const |
equality operator
| [in] | RHS | The FrTOCAdcData object to be compared. |
| bool FrameCPP::Version_8::FrTOCAdcData::operator== | ( | const FrTOCAdcData & | RHS | ) | const |
equality operator
| [in] | RHS | The FrTOCAdcData object to be compared. |
| void FrameCPP::Version_8::FrTOCAdcData::QueryAdc | ( | const Common::TOCInfo & | Info, |
| INT_4U | FrameOffset, | ||
| INT_8U | Position | ||
| ) |
Gather TOC info for FrAdcData being written.
| [in] | Info | Information |
| [in] | FrameOffset | The frame offset of the frame being written. The frame offsets start at 0 (zero). |
| [in] | Position | The byte offset from the start of the file where the structure is written. |
| void FrameCPP::Version_8::FrTOCAdcData::QueryAdc | ( | const Common::TOCInfo & | Info, |
| INT_4U | FrameOffset, | ||
| INT_8U | Position | ||
| ) |
Gather TOC info for FrAdcData being written.
| [in] | Info | Information |
| [in] | FrameOffset | The frame offset of the frame being written. The frame offsets start at 0 (zero). |
| [in] | Position | The byte offset from the start of the file where the structure is written. |
|
inlineprivate |
|
private |
|
protected |
Advance to the specified Adc channel.
| [in,out] | Stream | The Stream being read |
| [in] | Channel | The requested channel |
|
inlineprotected |
Advance to the specified Adc channel.
| [in,out] | Stream | The Stream being read |
| [in] | Channel | The requested channel |
|
protected |
Advance to the specified Adc channel.
| [in,out] | Stream | The Stream being read |
| [in] | Channel | The requested channel |
|
inlineprotected |
Advance to the specified Adc channel.
| [in,out] | Stream | The Stream being read |
| [in] | Channel | The requested channel |
|
protected |
Write the structure to the stream.
| [in] | Stream | The output stream where the object is to be written. |
|
protected |
Write the structure to the stream.
| [in] | Stream | The output stream where the object is to be written. |
|
protected |
|
protected |
| position_type FrameCPP::Version_8::FrTOCAdcData::m_positions_start |
|
private |
A cache of the positions of the FrAdcData structures within the stream.
|
private |
The number of bytes from the end of the stream where the array containing the FrAdcData offsets.
|
mutableprivate |
Provide means where a channel index can be mapped to a channel name
1.8.14