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

#include <event-interface.h>

Inheritance diagram for simics::CycleEventInterface:
simics::CycleEvent< T >

Public Member Functions

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

Constructor & Destructor Documentation

◆ ~CycleEventInterface()

virtual simics::CycleEventInterface::~CycleEventInterface ( )
virtualdefault

Member Function Documentation

◆ next()

virtual cycles_t simics::CycleEventInterface::next ( void *  match_data) const
pure virtual

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

Implemented in simics::CycleEvent< T >.

◆ post()

virtual void simics::CycleEventInterface::post ( cycles_t  cycles,
void *  data 
)
pure virtual

Posts the event on the associated queue of the device.

Implemented in simics::CycleEvent< T >.

◆ posted()

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

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

Implemented in simics::CycleEvent< T >.

◆ remove()

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

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

Implemented in simics::CycleEvent< T >.


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