ldas-tools-framecpp  2.6.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
FrameCPP::Version_6::FrTOCEvent Class Reference

#include <FrTOCEvent.hh>

Inheritance diagram for FrameCPP::Version_6::FrTOCEvent:
FrameCPP::Version_6::FrTOC

Classes

struct  event_type
 

Public Types

typedef INT_4U nevent_type
 
typedef STRING name_type
 
typedef INT_4U gtimesEvent_type
 
typedef INT_4U gtimenEvent_type
 
typedef REAL_4 amplitudeEvent_type
 
typedef INT_8U positionEvent_type
 
typedef std::vector< event_typeevents_container_type
 
typedef std::map< name_type,
events_container_type
nameEvent_container_type
 

Public Member Functions

 FrTOCEvent ()
 
Common::FrameSpec::size_type Bytes (const Common::StreamBase &Stream) const
 
const nameEvent_container_typeGetEvent () const
 
void QueryEvent (const Common::TOCInfo &Info, INT_4U FrameOffset, INT_8U Position)
 
bool operator== (const FrTOCEvent &RHS) const
 

Static Public Member Functions

template<typename SE >
static void Description (Common::Description &Desc)
 

Static Public Attributes

static const int event_type_size
 

Protected Member Functions

 FrTOCEvent (Common::IStream &Stream)
 
positionEvent_type positionEvent (INT_4U Frame, const std::string &Channel) const
 Locate the position of the event. More...
 
positionEvent_type positionEvent (const std::string &EventType, INT_4U Index) const
 Locate the position of the event. More...
 
void write (Common::OStream &Stream) const
 

Protected Attributes

nameEvent_container_type m_info
 

Member Typedef Documentation

Constructor & Destructor Documentation

FrameCPP::Version_6::FrTOCEvent::FrTOCEvent ( )
FrameCPP::Version_6::FrTOCEvent::FrTOCEvent ( Common::IStream Stream)
protected

Member Function Documentation

Common::FrameSpec::size_type FrameCPP::Version_6::FrTOCEvent::Bytes ( const Common::StreamBase Stream) const
inline
template<typename SE >
void FrameCPP::Version_6::FrTOCEvent::Description ( Common::Description Desc)
static
const FrTOCEvent::nameEvent_container_type & FrameCPP::Version_6::FrTOCEvent::GetEvent ( ) const
inline
bool FrameCPP::Version_6::FrTOCEvent::operator== ( const FrTOCEvent RHS) const
FrTOCEvent::positionEvent_type FrameCPP::Version_6::FrTOCEvent::positionEvent ( INT_4U  Frame,
const std::string &  Channel 
) const
protected

Locate the position of the event.

Parameters
[in]FrameFrame offset of the event.
[in]EventThe name of the event.
Returns
The file position of the requested event.
FrTOCEvent::positionEvent_type FrameCPP::Version_6::FrTOCEvent::positionEvent ( const std::string &  EventType,
INT_4U  Index 
) const
protected

Locate the position of the event.

Parameters
[in]EventTypeThe name of the event.
[in]IndexOffset of the event.
Returns
The file position of the requested event.
void FrameCPP::Version_6::FrTOCEvent::QueryEvent ( const Common::TOCInfo Info,
INT_4U  FrameOffset,
INT_8U  Position 
)
void FrameCPP::Version_6::FrTOCEvent::write ( Common::OStream Stream) const
protected

Member Data Documentation

const int FrameCPP::Version_6::FrTOCEvent::event_type_size
static
Initial value:
= sizeof( gtimesEvent_type )
+ sizeof( gtimenEvent_type )
+ sizeof( amplitudeEvent_type )
+ sizeof( positionEvent_type )
nameEvent_container_type FrameCPP::Version_6::FrTOCEvent::m_info
protected

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