|
| bool | posted (void *match_data=nullptr) const override |
| | Returns true if the event is in the queue, and false otherwise.
|
| |
| void | remove (void *match_data=nullptr) const override |
| | Removes all events of this type with matching data from the queue.
|
| |
| void | post (pc_step_t steps, void *data=nullptr) override |
| | Posts the event on the associated queue of the device.
|
| |
| pc_step_t | next (void *match_data=nullptr) const override |
| | Returns the steps to the next occurrence of the event in the queue (relative to the current time)
|
| |
| | Event (ConfObject *obj, event_class_t *ev) |
| |
| | Event (ConfObject *obj, const std::string &name) |
| |
| | Event (ConfObject *obj, event_class_t *ev) |
| |
| | Event (ConfObject *obj, const std::string &name) |
| |
| void | destroy (void *data) override |
| | Called when the event is removed from the queue without being called.
|
| |
| attr_value_t | get_value (void *data) override |
| | Called to convert the event data into a value that can be saved in a configuration.
|
| |
| void * | set_value (attr_value_t value) override |
| | Called to convert a configuration value into event data.
|
| |
| char * | describe (void *data) const override |
| | Called to generate a human-readable description of the event to be used in the print-event-queue command.
|
| |
| | operator event_class_t * () const |
| |
| 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.
|
| |
| virtual | ~StepEventInterface ()=default |
| |
| virtual void | remove (void *match_data) const =0 |
| | Removes all events of this type with matching data from the queue.
|
| |
| virtual bool | posted (void *match_data) const =0 |
| | Returns true if the event is in the queue, and false otherwise.
|
| |
| virtual pc_step_t | next (void *match_data) const =0 |
| | Returns the steps to the next occurrence of the event in the queue (relative to the current time)
|
| |
| virtual void | post (pc_step_t steps, void *data)=0 |
| | Posts the event on the associated queue of the device.
|
| |
template<typename T = ConfObject>
class simics::StepEvent< T >
Not commonly used for device model. Step-based event type.