C++ Device API Reference Manual
Reference documentation for the Simics C++ Device API.
 
Loading...
Searching...
No Matches
simics::StepEventInterface Class Referenceabstract

#include <event-interface.h>

Inheritance diagram for simics::StepEventInterface:
simics::StepEvent< T >

Public Member Functions

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.
 

Constructor & Destructor Documentation

◆ ~StepEventInterface()

virtual simics::StepEventInterface::~StepEventInterface ( )
virtualdefault

Member Function Documentation

◆ next()

virtual pc_step_t simics::StepEventInterface::next ( void *  match_data) const
pure virtual

Returns the steps to the next occurrence of the event in the queue (relative to the current time)

Implemented in simics::StepEvent< T >.

◆ post()

virtual void simics::StepEventInterface::post ( pc_step_t  steps,
void *  data 
)
pure virtual

Posts the event on the associated queue of the device.

Implemented in simics::StepEvent< T >.

◆ posted()

virtual bool simics::StepEventInterface::posted ( void *  match_data) const
pure virtual

Returns true if the event is in the queue, and false otherwise.

Implemented in simics::StepEvent< T >.

◆ remove()

virtual void simics::StepEventInterface::remove ( void *  match_data) const
pure virtual

Removes all events of this type with matching data from the queue.

Implemented in simics::StepEvent< T >.


The documentation for this class was generated from the following file: