Ginan
Loading...
Searching...
No Matches
ObsStream Struct Reference
Inheritance diagram for ObsStream:
Collaboration diagram for ObsStream:

Public Member Functions

 ObsStream (unique_ptr< Stream > stream_ptr, unique_ptr< Parser > parser_ptr, bool isPseudoRec=false)
 
ObsList getObs ()
 
ObsList getObs (GTime time, double delta=0.5)
 Return a list of observations from the stream, with a specified timestamp.
 
void eatObs ()
 Remove some observations from memory.
 
bool hasObs ()
 
- Public Member Functions inherited from StreamParser
 StreamParser (unique_ptr< Stream > stream_ptr, unique_ptr< Parser > parser_ptr)
 
 operator Stream & ()
 
 operator Parser & ()
 
void parse ()
 
virtual ~StreamParser ()=default
 

Data Fields

E_ObsWaitCode obsWaitCode = E_ObsWaitCode::OK
 
bool isPseudoRec
 
- Data Fields inherited from StreamParser
Streamstream
 
Parserparser
 

Constructor & Destructor Documentation

◆ ObsStream()

ObsStream::ObsStream ( unique_ptr< Stream > stream_ptr,
unique_ptr< Parser > parser_ptr,
bool isPseudoRec = false )
inline

Member Function Documentation

◆ eatObs()

void ObsStream::eatObs ( )
inline

Remove some observations from memory.

Here is the caller graph for this function:

◆ getObs() [1/2]

ObsList ObsStream::getObs ( )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getObs() [2/2]

ObsList ObsStream::getObs ( GTime time,
double delta = 0.5 )
inline

Return a list of observations from the stream, with a specified timestamp.

This function may be overridden by objects that use this interface

Parameters
timeTimestamp to get observations for
deltaAcceptable tolerance around requested time
Here is the call graph for this function:

◆ hasObs()

bool ObsStream::hasObs ( )
inline

Field Documentation

◆ isPseudoRec

bool ObsStream::isPseudoRec

◆ obsWaitCode

E_ObsWaitCode ObsStream::obsWaitCode = E_ObsWaitCode::OK

The documentation for this struct was generated from the following file: