An event is required to implement the interface.
More...
#include <event-interface.h>
|
| 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.
◆ ~EventInterface()
| virtual simics::iface::EventInterface::~EventInterface |
( |
| ) |
|
|
virtualdefault |
◆ callback()
| virtual void simics::iface::EventInterface::callback |
( |
void * |
data | ) |
|
|
pure virtual |
Called when the event expires.
◆ describe()
| virtual char * simics::iface::EventInterface::describe |
( |
void * |
data | ) |
const |
|
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.
◆ destroy()
| virtual void simics::iface::EventInterface::destroy |
( |
void * |
data | ) |
|
|
pure virtual |
Called when the event is removed from the queue without being called.
Implemented in simics::Event.
◆ get_value()
| virtual attr_value_t simics::iface::EventInterface::get_value |
( |
void * |
data | ) |
|
|
pure virtual |
Called to convert the event data into a value that can be saved in a configuration.
Implemented in simics::Event.
◆ set_value()
| virtual void * simics::iface::EventInterface::set_value |
( |
attr_value_t |
value | ) |
|
|
pure virtual |
Called to convert a configuration value into event data.
Implemented in simics::Event.
The documentation for this class was generated from the following file: