![]() |
GM6000 Digital Heater Controller Build: 20 (Branch = develop)
SDX-1330
|
This concrete class is a "Maker" that assembles the objects needed for a 'basic' TShell Processor engine that has POLLED semantics. More...
This concrete class is a "Maker" that assembles the objects needed for a 'basic' TShell Processor engine that has POLLED semantics.
#include <PolledMaker.h>
Public Member Functions | |
| PolledMaker (Cpl::Container::SList< Command > &cmdlist, Cpl::System::Mutex &lock=Cpl::System::Locks_::tracingOutput()) | |
| Constructor. | |
| ProcessorApi & | getCommandProcessor (void) noexcept |
| Returns a reference to the Command processor. | |
| operator ProcessorApi & () | |
| Cast-operator: Short-hand for getCommandProcessor() | |
Protected Attributes | |
| Cpl::Text::Frame::StreamEncoder | m_framer |
| Framer for the output. | |
| Cpl::Text::Frame::LineDecoder< OPTION_CPL_TSHELL_PROCESSOR_INPUT_SIZE > | m_deframer |
| De-framer for the input stream. | |
| PolledProcessor | m_processor |
| Command Processor. | |
| Cpl::TShell::PolledMaker::PolledMaker | ( | Cpl::Container::SList< Command > & | cmdlist, |
| Cpl::System::Mutex & | lock = Cpl::System::Locks_::tracingOutput() ) |
Constructor.
The application is responsible for supplying the set of commands and the mutex to ensure atomic output.
|
inlinenoexcept |
Returns a reference to the Command processor.
|
inline |
Cast-operator: Short-hand for getCommandProcessor()
|
protected |
De-framer for the input stream.
|
protected |
Framer for the output.
|
protected |