DPsim
Loading...
Searching...
No Matches
DPsim::AttributeEvent< T > Class Template Reference
Inheritance diagram for DPsim::AttributeEvent< T >:
[legend]
Collaboration diagram for DPsim::AttributeEvent< T >:
[legend]

Public Member Functions

 AttributeEvent (CPS::Real t, typename CPS::Attribute< T >::Ptr attr, T val)
 
void execute ()
 
- Public Member Functions inherited from DPsim::Event
 Event (CPS::Real t)
 

Protected Attributes

CPS::Attribute< T >::Ptr mAttribute
 
mNewValue
 
- 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< AttributeEvent< T > >
static std::shared_ptr< T > make (Args &&...args)
 

Detailed Description

template<typename T>
class DPsim::AttributeEvent< T >

Definition at line 53 of file Event.h.

Constructor & Destructor Documentation

◆ AttributeEvent()

template<typename T>
DPsim::AttributeEvent< T >::AttributeEvent ( CPS::Real t,
typename CPS::Attribute< T >::Ptr attr,
T val )
inline

Definition at line 59 of file Event.h.

Member Function Documentation

◆ execute()

template<typename T>
void DPsim::AttributeEvent< T >::execute ( )
inlinevirtual

Implements DPsim::Event.

Definition at line 62 of file Event.h.

Member Data Documentation

◆ mAttribute

template<typename T>
CPS::Attribute<T>::Ptr DPsim::AttributeEvent< T >::mAttribute
protected

Definition at line 55 of file Event.h.

◆ mNewValue

template<typename T>
T DPsim::AttributeEvent< T >::mNewValue
protected

Definition at line 56 of file Event.h.


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