ldas-tools-framecpp
2.7.0
|
Wrapper to properly cast return values into the namespace associated with the frame specification namespace. More...
#include <FrameStreamWrapper.hh>
Inherits FrameCPP::Common::IFrameStream, and FrameCPP::Common::IFrameStream.
Public Types | |
typedef IFrameStream::buffer_type | buffer_type |
Definition of buffer_type. | |
typedef IFrameStream::buffer_type | buffer_type |
Definition of buffer_type. | |
Public Member Functions | |
IFrameStreamWrapper (buffer_type *Buffer) | |
Constructor. | |
IFrameStreamWrapper (bool AutoDelete, buffer_type *Buffer) | |
Constructor. | |
frame_h_type | ReadFrameH (frame_offset_type Frame, INT_4U ContainerSet) |
Extract the requested FrameH structure from the stream. More... | |
fr_adc_data_type | ReadFrAdcData (frame_offset_type Frame, const std::string &Channel) |
Extract the requested FrAdcData structure from the stream. More... | |
fr_adc_data_type | ReadFrAdcData (frame_offset_type Frame, INT_4U Channel) |
Extract the requested FrAdcData structure from the stream. More... | |
fr_adc_data_type | ReadFrAdcStruct (frame_offset_type Frame, const std::string &Channel) |
Extract the requested FrAdcData structure from the stream. More... | |
fr_adc_data_type | ReadFrAdcStruct (frame_offset_type Frame, INT_4U Channel) |
Extract the requested FrAdcData structure from the stream. More... | |
fr_event_type | ReadFrEvent (frame_offset_type Frame, const std::string &Channel) |
Extract the requested FrEvent structure from the stream. More... | |
fr_event_type | ReadFrEvent (const std::string &EventType, fr_event_offset_type Offset) |
Extract the requested FrEvent structure from the stream. More... | |
fr_event_type | ReadFrEventStruct (frame_offset_type Frame, const std::string &Channel) |
Extract the requested FrEvent structure from the stream. More... | |
fr_proc_data_type | ReadFrProcData (frame_offset_type Frame, const std::string &Channel) |
Extract the requested FrProcData structure from the stream. More... | |
fr_proc_data_type | ReadFrProcData (frame_offset_type Frame, INT_4U Channel) |
Extract the requested FrProcData structure from the stream. More... | |
fr_proc_data_type | ReadFrProcStruct (frame_offset_type Frame, const std::string &Channel) |
Extract the requested FrProcData structure from the stream. More... | |
fr_proc_data_type | ReadFrProcStruct (frame_offset_type Frame, INT_4U Channel) |
Extract the requested FrProcData structure from the stream. More... | |
fr_raw_data_type | ReadFrRawData (frame_offset_type Frame) |
Extract the requested FrRawData structure from the stream. More... | |
fr_ser_data_type | ReadFrSerData (frame_offset_type Frame, const std::string &Channel) |
Extract the requested FrSerData structure from the stream. More... | |
fr_ser_data_type | ReadFrSerStruct (frame_offset_type Frame, const std::string &Channel) |
Extract the requested FrSerData structure from the stream. More... | |
fr_sim_event_type | ReadFrSimEvent (frame_offset_type Frame, const std::string &Channel) |
Extract the requested FrSimEvent structure from the stream. More... | |
fr_sim_event_type | ReadFrSimEvent (const std::string &SimEventType, fr_sim_event_offset_type Offset) |
Extract the requested FrSimEvent structure from the stream. More... | |
fr_sim_event_type | ReadFrSimEventStruct (frame_offset_type Frame, const std::string &Channel) |
Extract the requested FrSimEvent structure from the stream. More... | |
fr_sim_data_type | ReadFrSimStruct (frame_offset_type Frame, const std::string &Channel) |
Extract the requested FrSerData structure from the stream. More... | |
fr_sim_data_type | ReadFrSimData (frame_offset_type Frame, const std::string &Channel) |
Extract the requested FrSerData structure from the stream. More... | |
frame_h_type | ReadNextFrame () |
Extract the next FrameH structure from the stream. More... | |
IFrameStreamWrapper (buffer_type *Buffer) | |
Constructor. | |
IFrameStreamWrapper (bool AutoDelete, buffer_type *Buffer) | |
Constructor. | |
frame_h_type | ReadFrameH (frame_offset_type Frame, INT_4U ContainerSet) |
Extract the requested FrameH structure from the stream. More... | |
fr_adc_data_type | ReadFrAdcData (frame_offset_type Frame, const std::string &Channel) |
Extract the requested FrAdcData structure from the stream. More... | |
fr_adc_data_type | ReadFrAdcData (frame_offset_type Frame, INT_4U Channel) |
Extract the requested FrAdcData structure from the stream. More... | |
fr_adc_data_type | ReadFrAdcStruct (frame_offset_type Frame, const std::string &Channel) |
Extract the requested FrAdcData structure from the stream. More... | |
fr_adc_data_type | ReadFrAdcStruct (frame_offset_type Frame, INT_4U Channel) |
Extract the requested FrAdcData structure from the stream. More... | |
fr_event_type | ReadFrEvent (frame_offset_type Frame, const std::string &Channel) |
Extract the requested FrEvent structure from the stream. More... | |
fr_event_type | ReadFrEvent (const std::string &EventType, fr_event_offset_type Offset) |
Extract the requested FrEvent structure from the stream. More... | |
fr_event_type | ReadFrEventStruct (frame_offset_type Frame, const std::string &Channel) |
Extract the requested FrEvent structure from the stream. More... | |
fr_proc_data_type | ReadFrProcData (frame_offset_type Frame, const std::string &Channel) |
Extract the requested FrProcData structure from the stream. More... | |
fr_proc_data_type | ReadFrProcData (frame_offset_type Frame, INT_4U Channel) |
Extract the requested FrProcData structure from the stream. More... | |
fr_proc_data_type | ReadFrProcStruct (frame_offset_type Frame, const std::string &Channel) |
Extract the requested FrProcData structure from the stream. More... | |
fr_proc_data_type | ReadFrProcStruct (frame_offset_type Frame, INT_4U Channel) |
Extract the requested FrProcData structure from the stream. More... | |
fr_raw_data_type | ReadFrRawData (frame_offset_type Frame) |
Extract the requested FrRawData structure from the stream. More... | |
fr_ser_data_type | ReadFrSerData (frame_offset_type Frame, const std::string &Channel) |
Extract the requested FrSerData structure from the stream. More... | |
fr_ser_data_type | ReadFrSerStruct (frame_offset_type Frame, const std::string &Channel) |
Extract the requested FrSerData structure from the stream. More... | |
fr_sim_event_type | ReadFrSimEvent (frame_offset_type Frame, const std::string &Channel) |
Extract the requested FrSimEvent structure from the stream. More... | |
fr_sim_event_type | ReadFrSimEvent (const std::string &SimEventType, fr_sim_event_offset_type Offset) |
Extract the requested FrSimEvent structure from the stream. More... | |
fr_sim_event_type | ReadFrSimEventStruct (frame_offset_type Frame, const std::string &Channel) |
Extract the requested FrSimEvent structure from the stream. More... | |
fr_sim_data_type | ReadFrSimStruct (frame_offset_type Frame, const std::string &Channel) |
Extract the requested FrSerData structure from the stream. More... | |
fr_sim_data_type | ReadFrSimData (frame_offset_type Frame, const std::string &Channel) |
Extract the requested FrSerData structure from the stream. More... | |
frame_h_type | ReadNextFrame () |
Extract the next FrameH structure from the stream. More... | |
size_type | GetCurrentFrameOffset () const |
Retrieve the current frame. More... | |
size_type | GetCurrentFrameOffset () const |
Retrieve the current frame. More... | |
object_type | Read () |
object_type | ReadDetector (const std::string &Name) |
Read the detector via the table of contents. More... | |
object_type | ReadDetector (const std::string &Name) |
Read the detector via the table of contents. More... | |
IFrameStream::object_type | ReadFrStatData (INT_8U Position) |
Read FrStatData at a given postion in the stream. More... | |
IFrameStream::object_type | ReadFrStatData (INT_8U Position) |
Read FrStatData at a given postion in the stream. More... | |
Protected Member Functions | |
object_type | readObject (const StreamRefInterface *StreamRef) |
Read an Object referenced in the stream. More... | |
object_type | readObject (const StreamRefInterface *StreamRef) |
Read an Object referenced in the stream. More... | |
ptr_struct_base_type | ReadPtrStruct () |
void | Resolve () |
Method to resolve links. | |
cmn_streamsize_type | Size () |
Return the size of the stream. More... | |
cmn_streamsize_type | Size () |
Return the size of the stream. More... | |
Wrapper to properly cast return values into the namespace associated with the frame specification namespace.
|
inlineinherited |
Retrieve the current frame.
|
inherited |
Retrieve the current frame.
|
inherited |
|
inherited |
Read the detector via the table of contents.
[in] | Name | The name of the detector to be read |
|
inherited |
Read the detector via the table of contents.
[in] | Name | The name of the detector to be read |
IFrameStreamWrapper< DECL_PARAMS >::fr_adc_data_type FrameCPP::Common::IFrameStreamWrapper< DECL >::ReadFrAdcData | ( | frame_offset_type | Frame, |
const std::string & | Channel | ||
) |
Extract the requested FrAdcData structure from the stream.
[in] | Frame | Zero based index of the frame. |
[in] | Channel | Name of the channel being requested. |
fr_adc_data_type FrameCPP::Common::IFrameStreamWrapper< DECL >::ReadFrAdcData | ( | frame_offset_type | Frame, |
const std::string & | Channel | ||
) |
Extract the requested FrAdcData structure from the stream.
[in] | Frame | Zero based index of the frame. |
[in] | Channel | Name of the channel being requested. |
IFrameStreamWrapper< DECL_PARAMS >::fr_adc_data_type FrameCPP::Common::IFrameStreamWrapper< DECL >::ReadFrAdcData | ( | frame_offset_type | Frame, |
INT_4U | Channel | ||
) |
Extract the requested FrAdcData structure from the stream.
[in] | Frame | Zero based index of the frame. |
[in] | Channel | Zero based index of channel being requested. |
fr_adc_data_type FrameCPP::Common::IFrameStreamWrapper< DECL >::ReadFrAdcData | ( | frame_offset_type | Frame, |
INT_4U | Channel | ||
) |
Extract the requested FrAdcData structure from the stream.
[in] | Frame | Zero based index of the frame. |
[in] | Channel | Zero based index of channel being requested. |
IFrameStreamWrapper< DECL_PARAMS >::fr_adc_data_type FrameCPP::Common::IFrameStreamWrapper< DECL >::ReadFrAdcStruct | ( | frame_offset_type | Frame, |
const std::string & | Channel | ||
) |
Extract the requested FrAdcData structure from the stream.
[in] | Frame | Zero based index of the frame. |
[in] | Channel | Name of the channel being requested. |
fr_adc_data_type FrameCPP::Common::IFrameStreamWrapper< DECL >::ReadFrAdcStruct | ( | frame_offset_type | Frame, |
const std::string & | Channel | ||
) |
Extract the requested FrAdcData structure from the stream.
[in] | Frame | Zero based index of the frame. |
[in] | Channel | Name of the channel being requested. |
IFrameStreamWrapper< DECL_PARAMS >::fr_adc_data_type FrameCPP::Common::IFrameStreamWrapper< DECL >::ReadFrAdcStruct | ( | frame_offset_type | Frame, |
INT_4U | Channel | ||
) |
Extract the requested FrAdcData structure from the stream.
[in] | Frame | Zero based index of the frame. |
[in] | Channel | Zero based index of channel being requested. |
fr_adc_data_type FrameCPP::Common::IFrameStreamWrapper< DECL >::ReadFrAdcStruct | ( | frame_offset_type | Frame, |
INT_4U | Channel | ||
) |
Extract the requested FrAdcData structure from the stream.
[in] | Frame | Zero based index of the frame. |
[in] | Channel | Zero based index of channel being requested. |
IFrameStreamWrapper< DECL_PARAMS >::frame_h_type FrameCPP::Common::IFrameStreamWrapper< DECL >::ReadFrameH | ( | frame_offset_type | Frame, |
INT_4U | ContainerSet | ||
) |
Extract the requested FrameH structure from the stream.
[in] | Frame | Zero based index of the frame. |
[in] | ContainerSet | Bit map of components to included. |
frame_h_type FrameCPP::Common::IFrameStreamWrapper< DECL >::ReadFrameH | ( | frame_offset_type | Frame, |
INT_4U | ContainerSet | ||
) |
Extract the requested FrameH structure from the stream.
[in] | Frame | Zero based index of the frame. |
[in] | ContainerSet | Bit map of components to included. |
IFrameStreamWrapper< DECL_PARAMS >::fr_event_type FrameCPP::Common::IFrameStreamWrapper< DECL >::ReadFrEvent | ( | const std::string & | EventType, |
fr_event_offset_type | Offset | ||
) |
Extract the requested FrEvent structure from the stream.
[in] | EventType | Name of the event being requested. |
[in] | Offset | Index into the Event array for the Event type |
fr_event_type FrameCPP::Common::IFrameStreamWrapper< DECL >::ReadFrEvent | ( | const std::string & | EventType, |
fr_event_offset_type | Offset | ||
) |
Extract the requested FrEvent structure from the stream.
[in] | EventType | Name of the event being requested. |
[in] | Offset | Index into the Event array for the Event type |
IFrameStreamWrapper< DECL_PARAMS >::fr_event_type FrameCPP::Common::IFrameStreamWrapper< DECL >::ReadFrEvent | ( | frame_offset_type | Frame, |
const std::string & | Channel | ||
) |
Extract the requested FrEvent structure from the stream.
[in] | Frame | Zero based index of the frame. |
[in] | Channel | Name of the channel being requested. |
fr_event_type FrameCPP::Common::IFrameStreamWrapper< DECL >::ReadFrEvent | ( | frame_offset_type | Frame, |
const std::string & | Channel | ||
) |
Extract the requested FrEvent structure from the stream.
[in] | Frame | Zero based index of the frame. |
[in] | Channel | Name of the channel being requested. |
IFrameStreamWrapper< DECL_PARAMS >::fr_event_type FrameCPP::Common::IFrameStreamWrapper< DECL >::ReadFrEventStruct | ( | frame_offset_type | Frame, |
const std::string & | Channel | ||
) |
Extract the requested FrEvent structure from the stream.
[in] | Frame | Zero based index of the frame. |
[in] | Channel | Name of the channel being requested. |
fr_event_type FrameCPP::Common::IFrameStreamWrapper< DECL >::ReadFrEventStruct | ( | frame_offset_type | Frame, |
const std::string & | Channel | ||
) |
Extract the requested FrEvent structure from the stream.
[in] | Frame | Zero based index of the frame. |
[in] | Channel | Name of the channel being requested. |
IFrameStreamWrapper< DECL_PARAMS >::fr_proc_data_type FrameCPP::Common::IFrameStreamWrapper< DECL >::ReadFrProcData | ( | frame_offset_type | Frame, |
const std::string & | Channel | ||
) |
Extract the requested FrProcData structure from the stream.
[in] | Frame | Zero based index of the frame. |
[in] | Channel | Name of the channel being requested. |
fr_proc_data_type FrameCPP::Common::IFrameStreamWrapper< DECL >::ReadFrProcData | ( | frame_offset_type | Frame, |
const std::string & | Channel | ||
) |
Extract the requested FrProcData structure from the stream.
[in] | Frame | Zero based index of the frame. |
[in] | Channel | Name of the channel being requested. |
IFrameStreamWrapper< DECL_PARAMS >::fr_proc_data_type FrameCPP::Common::IFrameStreamWrapper< DECL >::ReadFrProcData | ( | frame_offset_type | Frame, |
INT_4U | Channel | ||
) |
Extract the requested FrProcData structure from the stream.
[in] | Frame | Zero based index of the frame. |
[in] | Channel | Zero based index of channel being requested. |
fr_proc_data_type FrameCPP::Common::IFrameStreamWrapper< DECL >::ReadFrProcData | ( | frame_offset_type | Frame, |
INT_4U | Channel | ||
) |
Extract the requested FrProcData structure from the stream.
[in] | Frame | Zero based index of the frame. |
[in] | Channel | Zero based index of channel being requested. |
IFrameStreamWrapper< DECL_PARAMS >::fr_proc_data_type FrameCPP::Common::IFrameStreamWrapper< DECL >::ReadFrProcStruct | ( | frame_offset_type | Frame, |
const std::string & | Channel | ||
) |
Extract the requested FrProcData structure from the stream.
[in] | Frame | Zero based index of the frame. |
[in] | Channel | Name of the channel being requested. |
fr_proc_data_type FrameCPP::Common::IFrameStreamWrapper< DECL >::ReadFrProcStruct | ( | frame_offset_type | Frame, |
const std::string & | Channel | ||
) |
Extract the requested FrProcData structure from the stream.
[in] | Frame | Zero based index of the frame. |
[in] | Channel | Name of the channel being requested. |
IFrameStreamWrapper< DECL_PARAMS >::fr_proc_data_type FrameCPP::Common::IFrameStreamWrapper< DECL >::ReadFrProcStruct | ( | frame_offset_type | Frame, |
INT_4U | Channel | ||
) |
Extract the requested FrProcData structure from the stream.
[in] | Frame | Zero based index of the frame. |
[in] | Channel | Zero based index of channel being requested. |
fr_proc_data_type FrameCPP::Common::IFrameStreamWrapper< DECL >::ReadFrProcStruct | ( | frame_offset_type | Frame, |
INT_4U | Channel | ||
) |
Extract the requested FrProcData structure from the stream.
[in] | Frame | Zero based index of the frame. |
[in] | Channel | Zero based index of channel being requested. |
IFrameStreamWrapper< DECL_PARAMS >::fr_raw_data_type FrameCPP::Common::IFrameStreamWrapper< DECL >::ReadFrRawData | ( | frame_offset_type | Frame | ) |
Extract the requested FrRawData structure from the stream.
[in] | Frame | Zero based index of the frame. |
fr_raw_data_type FrameCPP::Common::IFrameStreamWrapper< DECL >::ReadFrRawData | ( | frame_offset_type | Frame | ) |
Extract the requested FrRawData structure from the stream.
[in] | Frame | Zero based index of the frame. |
IFrameStreamWrapper< DECL_PARAMS >::fr_ser_data_type FrameCPP::Common::IFrameStreamWrapper< DECL >::ReadFrSerData | ( | frame_offset_type | Frame, |
const std::string & | Channel | ||
) |
Extract the requested FrSerData structure from the stream.
[in] | Frame | Zero based index of the frame. |
[in] | Channel | Name of the channel being requested. |
fr_ser_data_type FrameCPP::Common::IFrameStreamWrapper< DECL >::ReadFrSerData | ( | frame_offset_type | Frame, |
const std::string & | Channel | ||
) |
Extract the requested FrSerData structure from the stream.
[in] | Frame | Zero based index of the frame. |
[in] | Channel | Name of the channel being requested. |
IFrameStreamWrapper< DECL_PARAMS >::fr_ser_data_type FrameCPP::Common::IFrameStreamWrapper< DECL >::ReadFrSerStruct | ( | frame_offset_type | Frame, |
const std::string & | Channel | ||
) |
Extract the requested FrSerData structure from the stream.
[in] | Frame | Zero based index of the frame. |
[in] | Channel | Name of the channel being requested. |
fr_ser_data_type FrameCPP::Common::IFrameStreamWrapper< DECL >::ReadFrSerStruct | ( | frame_offset_type | Frame, |
const std::string & | Channel | ||
) |
Extract the requested FrSerData structure from the stream.
[in] | Frame | Zero based index of the frame. |
[in] | Channel | Name of the channel being requested. |
IFrameStreamWrapper< DECL_PARAMS >::fr_sim_data_type FrameCPP::Common::IFrameStreamWrapper< DECL >::ReadFrSimData | ( | frame_offset_type | Frame, |
const std::string & | Channel | ||
) |
Extract the requested FrSerData structure from the stream.
[in] | Frame | Zero based index of the frame. |
[in] | Channel | Name of the channel being requested. |
fr_sim_data_type FrameCPP::Common::IFrameStreamWrapper< DECL >::ReadFrSimData | ( | frame_offset_type | Frame, |
const std::string & | Channel | ||
) |
Extract the requested FrSerData structure from the stream.
[in] | Frame | Zero based index of the frame. |
[in] | Channel | Name of the channel being requested. |
IFrameStreamWrapper< DECL_PARAMS >::fr_sim_event_type FrameCPP::Common::IFrameStreamWrapper< DECL >::ReadFrSimEvent | ( | const std::string & | SimEventType, |
fr_sim_event_offset_type | Offset | ||
) |
Extract the requested FrSimEvent structure from the stream.
[in] | SimEventType | Name of the simulated event being requested. |
[in] | Offset | Index into the Event array for the Event type |
fr_sim_event_type FrameCPP::Common::IFrameStreamWrapper< DECL >::ReadFrSimEvent | ( | const std::string & | SimEventType, |
fr_sim_event_offset_type | Offset | ||
) |
Extract the requested FrSimEvent structure from the stream.
[in] | SimEventType | Name of the simulated event being requested. |
[in] | Offset | Index into the Event array for the Event type |
IFrameStreamWrapper< DECL_PARAMS >::fr_sim_event_type FrameCPP::Common::IFrameStreamWrapper< DECL >::ReadFrSimEvent | ( | frame_offset_type | Frame, |
const std::string & | Channel | ||
) |
Extract the requested FrSimEvent structure from the stream.
[in] | Frame | Zero based index of the frame. |
[in] | Channel | Name of the channel being requested. |
fr_sim_event_type FrameCPP::Common::IFrameStreamWrapper< DECL >::ReadFrSimEvent | ( | frame_offset_type | Frame, |
const std::string & | Channel | ||
) |
Extract the requested FrSimEvent structure from the stream.
[in] | Frame | Zero based index of the frame. |
[in] | Channel | Name of the channel being requested. |
IFrameStreamWrapper< DECL_PARAMS >::fr_sim_event_type FrameCPP::Common::IFrameStreamWrapper< DECL >::ReadFrSimEventStruct | ( | frame_offset_type | Frame, |
const std::string & | Channel | ||
) |
Extract the requested FrSimEvent structure from the stream.
[in] | Frame | Zero based index of the frame. |
[in] | Channel | Name of the channel being requested. |
fr_sim_event_type FrameCPP::Common::IFrameStreamWrapper< DECL >::ReadFrSimEventStruct | ( | frame_offset_type | Frame, |
const std::string & | Channel | ||
) |
Extract the requested FrSimEvent structure from the stream.
[in] | Frame | Zero based index of the frame. |
[in] | Channel | Name of the channel being requested. |
IFrameStreamWrapper< DECL_PARAMS >::fr_sim_data_type FrameCPP::Common::IFrameStreamWrapper< DECL >::ReadFrSimStruct | ( | frame_offset_type | Frame, |
const std::string & | Channel | ||
) |
Extract the requested FrSerData structure from the stream.
[in] | Frame | Zero based index of the frame. |
[in] | Channel | Name of the channel being requested. |
fr_sim_data_type FrameCPP::Common::IFrameStreamWrapper< DECL >::ReadFrSimStruct | ( | frame_offset_type | Frame, |
const std::string & | Channel | ||
) |
Extract the requested FrSerData structure from the stream.
[in] | Frame | Zero based index of the frame. |
[in] | Channel | Name of the channel being requested. |
|
inherited |
Read FrStatData at a given postion in the stream.
Position | Offset of the FrStatData in the stream |
|
inherited |
Read FrStatData at a given postion in the stream.
Position | Offset of the FrStatData in the stream |
IFrameStreamWrapper< DECL_PARAMS >::frame_h_type FrameCPP::Common::IFrameStreamWrapper< DECL >::ReadNextFrame |
Extract the next FrameH structure from the stream.
frame_h_type FrameCPP::Common::IFrameStreamWrapper< DECL >::ReadNextFrame | ( | ) |
Extract the next FrameH structure from the stream.
|
protectedinherited |
Read an Object referenced in the stream.
StreamRef | Stream reference information for the requested object. |
|
protectedinherited |
Read an Object referenced in the stream.
StreamRef | Stream reference information for the requested object. |
|
inherited |
Reads the next group of bytes from the stream as a PTR_STRUCT as defined by the active frame specification associated with the stream.
|
inlineinherited |
Return the size of the stream.
|
inherited |
Return the size of the stream.