RSeries astromech firmware
JawaCommander< BUFFER_SIZE, MSG_SIZE > Class Template Reference

#include <core/JawaCommander.h>

Detailed Description

template<uint8_t BUFFER_SIZE = 20, uint8_t MSG_SIZE = 20>
class JawaCommander< BUFFER_SIZE, MSG_SIZE >

JAWA Lite command parser.

+ Inheritance diagram for JawaCommander< BUFFER_SIZE, MSG_SIZE >:
+ Collaboration diagram for JawaCommander< BUFFER_SIZE, MSG_SIZE >:

Public Member Functions

 JawaCommander ()
 
- Public Member Functions inherited from JawaCommanderBase
 JawaCommanderBase ()
 
bool parseCommand (const char *inputStr)
 Parse the specified command string. More...
 
void process (const char ch)
 Append a single character to the parsers input buffer. More...
 
void process (const char *msg)
 Append a string of character to the parsers input buffer. More...
 
char * getBuffer ()
 Return a direct pointer to the parsers input buffer. More...
 
size_t getBufferSize ()
 Return the maximum size of the input buffer. More...
 
size_t getMessageSize ()
 Return the maximum size of the input buffer. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from JawaCommanderBase
static JawaCommanderBaseget ()
 
- Static Protected Member Functions inherited from JawaCommanderBase
static JawaCommanderBase ** base ()
 
- Protected Attributes inherited from JawaCommanderBase
bool fNewLine = true
 
bool fSkipEOL = false
 
uint8_t fBufferSize
 
uint8_t fMsgSize
 
char * fBuffer
 
char * fMessageBuffer
 
char * fPtr
 

Constructor & Destructor Documentation

◆ JawaCommander()

template<uint8_t BUFFER_SIZE = 20, uint8_t MSG_SIZE = 20>
JawaCommander< BUFFER_SIZE, MSG_SIZE >::JawaCommander ( )
inline

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