SILICON
Loading...
Searching...
No Matches
TimedEvent Struct Reference

Represents a timed event in the simulation. More...

#include <simulator.hpp>

Public Member Functions

bool operator> (const TimedEvent &other) const
 Comparison operator for priority queue ordering.

Public Attributes

uint64_t time
 Simulation time at which the event occurs.
Wire_ptr targetWire
 The wire to update.
State newState
 The new state to set on the wire.
Component_weakPtr source
 The component that is the source of this state change.

Detailed Description

Represents a timed event in the simulation.

Definition at line 45 of file simulator.hpp.

Member Function Documentation

◆ operator>()

bool operator> ( const TimedEvent & other) const
inline

Comparison operator for priority queue ordering.

Definition at line 59 of file simulator.hpp.

Member Data Documentation

◆ newState

State newState

The new state to set on the wire.

Definition at line 53 of file simulator.hpp.

◆ source

The component that is the source of this state change.

Definition at line 56 of file simulator.hpp.

◆ targetWire

Wire_ptr targetWire

The wire to update.

Definition at line 50 of file simulator.hpp.

◆ time

uint64_t time

Simulation time at which the event occurs.

Definition at line 47 of file simulator.hpp.


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