libuav original
Dependents: UAVCAN UAVCAN_Subscriber
FileEventTracer Class Reference
This interface implements a POSIX compliant file based IEventTracer interface. More...
#include <file_event_tracer.hpp>
Inherits uavcan::dynamic_node_id_server::IEventTracer.
Inherited by EventTracer.
Public Member Functions | |
| int | init (const PathString &path) |
| Initializes the file based event tracer. | |
| 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 implements a POSIX compliant file based IEventTracer interface.
Definition at line 25 of file file_event_tracer.hpp.
Member Function Documentation
| static const char* getEventName | ( | TraceCode | code ) | [static, inherited] |
| int init | ( | const PathString & | path ) |
Initializes the file based event tracer.
Definition at line 78 of file file_event_tracer.hpp.
| virtual void onEvent | ( | TraceCode | event_code, |
| int64_t | event_argument | ||
| ) | [pure virtual, inherited] |
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:38 by
1.7.2