|
ldas-tools-framecpp 3.0.4
|
Wrapper to properly cast return values into the namespace associated with the frame specification namespace. More...
#include <FrameStreamWrapper.hh>
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. | |
| fr_adc_data_type | ReadFrAdcData (frame_offset_type Frame, const std::string &Channel) |
| Extract the requested FrAdcData structure from the stream. | |
| fr_adc_data_type | ReadFrAdcData (frame_offset_type Frame, INT_4U Channel) |
| Extract the requested FrAdcData structure from the stream. | |
| fr_adc_data_type | ReadFrAdcStruct (frame_offset_type Frame, const std::string &Channel) |
| Extract the requested FrAdcData structure from the stream. | |
| fr_adc_data_type | ReadFrAdcStruct (frame_offset_type Frame, INT_4U Channel) |
| Extract the requested FrAdcData structure from the stream. | |
| fr_event_type | ReadFrEvent (frame_offset_type Frame, const std::string &Channel) |
| Extract the requested FrEvent structure from the stream. | |
| fr_event_type | ReadFrEvent (const std::string &EventType, fr_event_offset_type Offset) |
| Extract the requested FrEvent structure from the stream. | |
| fr_event_type | ReadFrEventStruct (frame_offset_type Frame, const std::string &Channel) |
| Extract the requested FrEvent structure from the stream. | |
| fr_proc_data_type | ReadFrProcData (frame_offset_type Frame, const std::string &Channel) |
| Extract the requested FrProcData structure from the stream. | |
| fr_proc_data_type | ReadFrProcData (frame_offset_type Frame, INT_4U Channel) |
| Extract the requested FrProcData structure from the stream. | |
| fr_proc_data_type | ReadFrProcStruct (frame_offset_type Frame, const std::string &Channel) |
| Extract the requested FrProcData structure from the stream. | |
| fr_proc_data_type | ReadFrProcStruct (frame_offset_type Frame, INT_4U Channel) |
| Extract the requested FrProcData structure from the stream. | |
| fr_raw_data_type | ReadFrRawData (frame_offset_type Frame) |
| Extract the requested FrRawData structure from the stream. | |
| fr_ser_data_type | ReadFrSerData (frame_offset_type Frame, const std::string &Channel) |
| Extract the requested FrSerData structure from the stream. | |
| fr_ser_data_type | ReadFrSerStruct (frame_offset_type Frame, const std::string &Channel) |
| Extract the requested FrSerData structure from the stream. | |
| fr_sim_event_type | ReadFrSimEvent (frame_offset_type Frame, const std::string &Channel) |
| Extract the requested FrSimEvent structure from the stream. | |
| fr_sim_event_type | ReadFrSimEvent (const std::string &SimEventType, fr_sim_event_offset_type Offset) |
| Extract the requested FrSimEvent structure from the stream. | |
| fr_sim_event_type | ReadFrSimEventStruct (frame_offset_type Frame, const std::string &Channel) |
| Extract the requested FrSimEvent structure from the stream. | |
| fr_sim_data_type | ReadFrSimStruct (frame_offset_type Frame, const std::string &Channel) |
| Extract the requested FrSerData structure from the stream. | |
| fr_sim_data_type | ReadFrSimData (frame_offset_type Frame, const std::string &Channel) |
| Extract the requested FrSerData structure from the stream. | |
| frame_h_type | ReadNextFrame () |
| Extract the next FrameH structure from the stream. | |
| 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. | |
| fr_adc_data_type | ReadFrAdcData (frame_offset_type Frame, const std::string &Channel) |
| Extract the requested FrAdcData structure from the stream. | |
| fr_adc_data_type | ReadFrAdcData (frame_offset_type Frame, INT_4U Channel) |
| Extract the requested FrAdcData structure from the stream. | |
| fr_adc_data_type | ReadFrAdcStruct (frame_offset_type Frame, const std::string &Channel) |
| Extract the requested FrAdcData structure from the stream. | |
| fr_adc_data_type | ReadFrAdcStruct (frame_offset_type Frame, INT_4U Channel) |
| Extract the requested FrAdcData structure from the stream. | |
| fr_event_type | ReadFrEvent (frame_offset_type Frame, const std::string &Channel) |
| Extract the requested FrEvent structure from the stream. | |
| fr_event_type | ReadFrEvent (const std::string &EventType, fr_event_offset_type Offset) |
| Extract the requested FrEvent structure from the stream. | |
| fr_event_type | ReadFrEventStruct (frame_offset_type Frame, const std::string &Channel) |
| Extract the requested FrEvent structure from the stream. | |
| fr_proc_data_type | ReadFrProcData (frame_offset_type Frame, const std::string &Channel) |
| Extract the requested FrProcData structure from the stream. | |
| fr_proc_data_type | ReadFrProcData (frame_offset_type Frame, INT_4U Channel) |
| Extract the requested FrProcData structure from the stream. | |
| fr_proc_data_type | ReadFrProcStruct (frame_offset_type Frame, const std::string &Channel) |
| Extract the requested FrProcData structure from the stream. | |
| fr_proc_data_type | ReadFrProcStruct (frame_offset_type Frame, INT_4U Channel) |
| Extract the requested FrProcData structure from the stream. | |
| fr_raw_data_type | ReadFrRawData (frame_offset_type Frame) |
| Extract the requested FrRawData structure from the stream. | |
| fr_ser_data_type | ReadFrSerData (frame_offset_type Frame, const std::string &Channel) |
| Extract the requested FrSerData structure from the stream. | |
| fr_ser_data_type | ReadFrSerStruct (frame_offset_type Frame, const std::string &Channel) |
| Extract the requested FrSerData structure from the stream. | |
| fr_sim_event_type | ReadFrSimEvent (frame_offset_type Frame, const std::string &Channel) |
| Extract the requested FrSimEvent structure from the stream. | |
| fr_sim_event_type | ReadFrSimEvent (const std::string &SimEventType, fr_sim_event_offset_type Offset) |
| Extract the requested FrSimEvent structure from the stream. | |
| fr_sim_event_type | ReadFrSimEventStruct (frame_offset_type Frame, const std::string &Channel) |
| Extract the requested FrSimEvent structure from the stream. | |
| fr_sim_data_type | ReadFrSimStruct (frame_offset_type Frame, const std::string &Channel) |
| Extract the requested FrSerData structure from the stream. | |
| fr_sim_data_type | ReadFrSimData (frame_offset_type Frame, const std::string &Channel) |
| Extract the requested FrSerData structure from the stream. | |
| frame_h_type | ReadNextFrame () |
| Extract the next FrameH structure from the stream. | |
| size_type | GetCurrentFrameOffset () const |
| Retrieve the current frame. | |
| size_type | GetCurrentFrameOffset () const |
| Retrieve the current frame. | |
| object_type | Read () |
| object_type | ReadDetector (const std::string &Name) |
| Read the detector via the table of contents. | |
| object_type | ReadDetector (const std::string &Name) |
| Read the detector via the table of contents. | |
| IFrameStream::object_type | ReadFrStatData (INT_8U Position) |
| Read FrStatData at a given postion in the stream. | |
| IFrameStream::object_type | ReadFrStatData (INT_8U Position) |
| Read FrStatData at a given postion in the stream. | |
| ptr_struct_base_type | ReadPtrStruct () |
| void | Resolve () |
| Method to resolve links. | |
| cmn_streamsize_type | Size () |
| Return the size of the stream. | |
| cmn_streamsize_type | Size () |
| Return the size of the stream. | |
Protected Member Functions | |
| object_type | readObject (const StreamRefInterface *StreamRef) |
| Read an Object referenced in the stream. | |
| object_type | readObject (const StreamRefInterface *StreamRef) |
| Read an Object referenced in the stream. | |
| object_type | morph (object_type Obj) |
| Modify an object so it is appropriate for the stream. | |
| object_type | morph (object_type Obj) |
| Modify an object so it is appropriate for the stream. | |
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.
|
protectedinherited |
Modify an object so it is appropriate for the stream.
| [in] | Obj | The object that should be transformed. |
|
protectedinherited |
Modify an object so it is appropriate for the stream.
| [in] | Obj | The object that should be transformed. |
|
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.