VPTissue Reference Manual
SimPT_Sim::Event::SimEvent Class Reference

An event transmitted by a simulator. More...

#include <SimEvent.h>

Collaboration diagram for SimPT_Sim::Event::SimEvent:
Collaboration graph

Public Types

using Source = std::shared_ptr< Sim >
 Convenience typedef for clients of this class.
 
using Type = SimEventType
 Type of events triggered by sim.
 

Public Member Functions

 SimEvent (Source sim, int step, Type type)
 Initialize all data members.
 
Source GetSource () const
 Get the data member value.
 
int GetStep () const
 Get step.
 
Type GetType () const
 Get Event type.
 

Detailed Description

An event transmitted by a simulator.

Really a POD but packaged to force users to initialize all data members.

Definition at line 35 of file SimEvent.h.


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