pocolog_cpp
Public Member Functions | Protected Member Functions | Friends | List of all members
pocolog_cpp::ControlStream Class Reference

#include <Read.hpp>

Inheritance diagram for pocolog_cpp::ControlStream:
pocolog_cpp::Stream

Public Member Functions

virtual BlockHeader newDataBlock (BlockHeader header)
 
- Public Member Functions inherited from pocolog_cpp::Stream
virtual ~Stream ()
 
bool isValid () const
 
StreamType getType () const
 
size_t getIndex () const
 
size_t getBeginPos () const
 
size_t getEndPos () const
 
size_t getSize () const
 
size_t getDataSize () const
 
virtual ~Stream ()
 
bool isValid () const
 
std::string getName () const
 
std::string getTypeName () const
 
StreamType getStreamType () const
 
const base::Time & getFistSampleTime () const
 
const base::Time & getLastSampleTime () const
 
size_t getIndex () const
 
IndexgetFileIndex () const
 
size_t getSize () const
 
bool getSampleData (std::vector< uint8_t > &result, size_t sampleNr)
 
template<typename T >
bool readSample (T &sample, size_t sampleNr)
 

Protected Member Functions

 ControlStream (std::istream &input, size_t index)
 
- Protected Member Functions inherited from pocolog_cpp::Stream
 Stream (std::istream &input, StreamType type=UnknownStreamType, size_t index=Input::nstream)
 
void newBlockAt (size_t pos, size_t size)
 
std::istream & getInputStream ()
 
 Stream (const StreamDescription &desc, Index &index)
 
bool loadSampleHeader (std::streampos pos, pocolog_cpp::SampleHeaderData &header)
 

Friends

class Input
 

Additional Inherited Members

- Protected Attributes inherited from pocolog_cpp::Stream
const StreamDescriptiondesc
 
Indexindex
 
FileStream fileStream
 

Constructor & Destructor Documentation

pocolog_cpp::ControlStream::ControlStream ( std::istream &  input,
size_t  index 
)
protected

Member Function Documentation

BlockHeader pocolog_cpp::ControlStream::newDataBlock ( BlockHeader  header)
virtual

Implements pocolog_cpp::Stream.

Friends And Related Function Documentation

friend class Input
friend

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