|
DPsim
|
#include <Event.h>
Public Member Functions | |
| SwitchEvent (CPS::Real t, const std::shared_ptr< CPS::Base::Ph1::Switch > &sw, CPS::Bool state) | |
| void | execute () |
Public Member Functions inherited from DPsim::Event | |
| Event (CPS::Real t) | |
| virtual | ~Event () |
Protected Attributes | |
| std::shared_ptr< CPS::Base::Ph1::Switch > | mSwitch |
| CPS::Bool | mNewState |
Protected Attributes inherited from DPsim::Event | |
| CPS::Real | mTime |
Additional Inherited Members | |
Public Types inherited from DPsim::Event | |
| using | Ptr = std::shared_ptr<Event> |
Static Public Member Functions inherited from SharedFactory< SwitchEvent > | |
| static std::shared_ptr< SwitchEvent > | make (Args &&...args) |
|
inline |
|
inlinevirtual |
Implements DPsim::Event.
|
protected |