CMSDK 2.0.1
Cross-platform C++ base library and SDK for the Psyclone AIOS platform
Loading...
Searching...
No Matches
cmsdk::EventStreamFrameParser Class Reference

#include <StreamDecoders.h>

Classes

struct  Frame

Public Member Functions

 EventStreamFrameParser ()
bool feed (const char *data, size_t count)
bool feed (const std::string &data)
bool hasFrame () const
bool nextFrame (Frame &out)
bool hasError () const
void reset ()

Detailed Description

Definition at line 315 of file StreamDecoders.h.

Constructor & Destructor Documentation

◆ EventStreamFrameParser()

cmsdk::EventStreamFrameParser::EventStreamFrameParser ( )
inline

Definition at line 322 of file StreamDecoders.h.

Member Function Documentation

◆ feed() [1/2]

bool cmsdk::EventStreamFrameParser::feed ( const char * data,
size_t count )
inline

Definition at line 325 of file StreamDecoders.h.

Referenced by cmsdk::pumpEventStream().

◆ feed() [2/2]

bool cmsdk::EventStreamFrameParser::feed ( const std::string & data)
inline

Definition at line 335 of file StreamDecoders.h.

References feed().

Referenced by feed().

◆ hasError()

bool cmsdk::EventStreamFrameParser::hasError ( ) const
inline

Definition at line 345 of file StreamDecoders.h.

◆ hasFrame()

bool cmsdk::EventStreamFrameParser::hasFrame ( ) const
inline

Definition at line 337 of file StreamDecoders.h.

◆ nextFrame()

bool cmsdk::EventStreamFrameParser::nextFrame ( Frame & out)
inline

Definition at line 339 of file StreamDecoders.h.

Referenced by cmsdk::pumpEventStream().

◆ reset()

void cmsdk::EventStreamFrameParser::reset ( )
inline

Definition at line 347 of file StreamDecoders.h.


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