An event is required to implement the interface. More...
#include <event-interface.h>
Public Member Functions | |
| virtual | ~EventInterface ()=default |
| virtual void | callback (void *data)=0 |
| Called when the event expires. | |
| virtual void | destroy (void *data)=0 |
| Called when the event is removed from the queue without being called. | |
| virtual attr_value_t | get_value (void *data)=0 |
| Called to convert the event data into a value that can be saved in a configuration. | |
| virtual void * | set_value (attr_value_t value)=0 |
| Called to convert a configuration value into event data. | |
| virtual char * | describe (void *data) const =0 |
| Called to generate a human-readable description of the event to be used in the print-event-queue command. | |
An event is required to implement the interface.
|
virtualdefault |
|
pure virtual |
Called when the event expires.
Implemented in simics::AfterEvent.
|
pure virtual |
Called to generate a human-readable description of the event to be used in the print-event-queue command.
Implemented in simics::Event.
|
pure virtual |
Called when the event is removed from the queue without being called.
Implemented in simics::Event.
|
pure virtual |
Called to convert the event data into a value that can be saved in a configuration.
Implemented in simics::AfterEvent, and simics::Event.
|
pure virtual |
Called to convert a configuration value into event data.
Implemented in simics::AfterEvent, and simics::Event.