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

#include <event-interface.h>

Inheritance diagram for simics::TimeEventInterface:
simics::TimeEvent< T >

Public Member Functions

virtual ~TimeEventInterface ()=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 double next (void *data) const =0
 Returns the time to the next occurrence of the event in the queue (relative to the current time)
 
virtual void post (double seconds, void *data)=0
 Posts the event on the associated queue of the device.
 

Constructor & Destructor Documentation

◆ ~TimeEventInterface()

virtual simics::TimeEventInterface::~TimeEventInterface ( )
virtualdefault

Member Function Documentation

◆ next()

virtual double simics::TimeEventInterface::next ( void *  data) const
pure virtual

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

Implemented in simics::TimeEvent< T >.

◆ post()

virtual void simics::TimeEventInterface::post ( double  seconds,
void *  data 
)
pure virtual

Posts the event on the associated queue of the device.

Implemented in simics::TimeEvent< T >.

◆ posted()

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

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

Implemented in simics::TimeEvent< T >.

◆ remove()

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

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

Implemented in simics::TimeEvent< T >.


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