Mistake on this page?
Report an issue in GitHub or email us
Public Member Functions | Protected Member Functions
MessageParser::Delegate Struct Reference

Report parsing event to the application. More...

#include <MessageParser.h>

Inheritance diagram for MessageParser::Delegate:
SimpleMessageParser

Public Member Functions

virtual void on_parsing_started ()
 Invoked when parsing as started. More...
 
virtual void on_record_parsed (const Record &record)
 Invoked when a record has been parsed. More...
 
virtual void on_parsing_terminated ()
 Invoked when parsing is over. More...
 
virtual void on_parsing_error (error_t error)
 Invoked when an error is present in the message. More...
 

Protected Member Functions

 ~Delegate ()
 Protected non virtual destructor. More...
 

Detailed Description

Report parsing event to the application.

Definition at line 94 of file MessageParser.h.

Constructor & Destructor Documentation

~Delegate ( )
protected

Protected non virtual destructor.

Delegate is not meant to be destroyed in a polymorphic manner.

Definition at line 123 of file MessageParser.h.

Member Function Documentation

virtual void on_parsing_error ( error_t  error)
virtual

Invoked when an error is present in the message.

Parameters
errorThe error present in the message.

Definition at line 116 of file MessageParser.h.

virtual void on_parsing_started ( )
virtual

Invoked when parsing as started.

Definition at line 98 of file MessageParser.h.

virtual void on_parsing_terminated ( )
virtual

Invoked when parsing is over.

Definition at line 110 of file MessageParser.h.

virtual void on_record_parsed ( const Record record)
virtual

Invoked when a record has been parsed.

Parameters
recordThe record obtained from parsing.

Definition at line 105 of file MessageParser.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.