![]() |
Mbed OS Reference
|
Report parsing event to the application. More...
#include <MessageParser.h>
Public Member Functions | |
| virtual void | on_parsing_started () |
| Invoked when parsing as started. | |
| virtual void | on_record_parsed (const Record &record) |
| Invoked when a record has been parsed. | |
| virtual void | on_parsing_terminated () |
| Invoked when parsing is over. | |
| virtual void | on_parsing_error (error_t error) |
| Invoked when an error is present in the message. | |
Protected Member Functions | |
| ~Delegate () | |
| Protected non virtual destructor. | |
Report parsing event to the application.
Definition at line 94 of file MessageParser.h.
|
protected |
Protected non virtual destructor.
Delegate is not meant to be destroyed in a polymorphic manner.
Definition at line 123 of file MessageParser.h.
|
virtual |
Invoked when parsing as started.
Definition at line 98 of file MessageParser.h.
|
virtual |
Invoked when a record has been parsed.
| record | The record obtained from parsing. |
Definition at line 105 of file MessageParser.h.
|
virtual |
Invoked when parsing is over.
Definition at line 110 of file MessageParser.h.
|
virtual |
Invoked when an error is present in the message.
| error | The error present in the message. |
Definition at line 116 of file MessageParser.h.