Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: UAVCAN UAVCAN_Subscriber
IEventTracer Class Reference
This interface allows the application to trace events that happen in the server. More...
#include <event.hpp>
Inherited by EventTracer, and FileEventTracer.
Public Member Functions | |
| virtual void | onEvent (TraceCode event_code, int64_t event_argument)=0 |
| The server invokes this method every time it believes that a noteworthy event has happened. | |
Static Public Member Functions | |
| static const char * | getEventName (TraceCode code) |
| It is safe to call this function with any argument. | |
Detailed Description
This interface allows the application to trace events that happen in the server.
Definition at line 90 of file event.hpp.
Member Function Documentation
| static const char* getEventName | ( | TraceCode | code ) | [static] |
| virtual void onEvent | ( | TraceCode | event_code, |
| int64_t | event_argument | ||
| ) | [pure virtual] |
The server invokes this method every time it believes that a noteworthy event has happened.
It is guaranteed that event code values will never change, but new ones can be added in future. This ensures full backward compatibility.
- Parameters:
-
event_code Event code, see the sources for the enum with values. event_argument Value associated with the event; its meaning depends on the event code.
Generated on Tue Jul 12 2022 17:17:37 by
1.7.2