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

#include <StreamDecoders.h>

Public Member Functions

 SSEEventParser ()
bool feed (const char *data, size_t count)
bool feed (const std::string &data)
bool hasEvent () const
bool nextEvent (std::string &out)
bool isDone () const
bool hasError () const
void reset ()

Detailed Description

Definition at line 134 of file StreamDecoders.h.

Constructor & Destructor Documentation

◆ SSEEventParser()

cmsdk::SSEEventParser::SSEEventParser ( )
inline

Definition at line 136 of file StreamDecoders.h.

Member Function Documentation

◆ feed() [1/2]

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

Definition at line 139 of file StreamDecoders.h.

Referenced by cmsdk::pumpSSEStream().

◆ feed() [2/2]

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

Definition at line 144 of file StreamDecoders.h.

References feed().

Referenced by feed().

◆ hasError()

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

Definition at line 155 of file StreamDecoders.h.

◆ hasEvent()

bool cmsdk::SSEEventParser::hasEvent ( ) const
inline

Definition at line 146 of file StreamDecoders.h.

◆ isDone()

bool cmsdk::SSEEventParser::isDone ( ) const
inline

Definition at line 154 of file StreamDecoders.h.

Referenced by cmsdk::pumpSSEStream().

◆ nextEvent()

bool cmsdk::SSEEventParser::nextEvent ( std::string & out)
inline

Definition at line 148 of file StreamDecoders.h.

Referenced by cmsdk::pumpSSEStream().

◆ reset()

void cmsdk::SSEEventParser::reset ( )
inline

Definition at line 157 of file StreamDecoders.h.


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