#include <SimSignalComp.h>
|
enum | Behaviour { Initialization
, Simulation
} |
|
typedef std::shared_ptr< SimSignalComp > | Ptr |
|
typedef std::vector< Ptr > | List |
|
typedef std::shared_ptr< TopologicalSignalComp > | Ptr |
|
typedef std::vector< Ptr > | List |
|
typedef std::shared_ptr< IdentifiedObject > | Ptr |
|
typedef std::vector< Ptr > | List |
|
|
| SimSignalComp (String uid, String name, Logger::Level logLevel=Logger::Level::off) |
|
| SimSignalComp (String name, Logger::Level logLevel=Logger::Level::off) |
|
virtual void | initialize (Real timeStep) |
|
virtual void | initialize (Real omega, Real timeStep) |
|
virtual Task::List | getTasks () |
|
void | setBehaviour (Behaviour behaviour) |
| Set behavior of component, e.g. initialization.
|
|
| TopologicalSignalComp (String uid, String name, Logger::Level logLevel=Logger::Level::off) |
| Basic constructor that takes UID, name and log level.
|
|
| TopologicalSignalComp (String name, Logger::Level logLevel=Logger::Level::off) |
| Basic constructor that takes name and log level and sets the UID to name as well.
|
|
| IdentifiedObject (const String &uid, const String &name) |
|
| IdentifiedObject (const String &name) |
|
AttributeBase::Ptr | attribute (const String &name) const |
| Return pointer to an attribute.
|
|
template<typename T > |
Attribute< T >::Ptr | attributeTyped (const String &name) const |
| Return pointer to an attribute.
|
|
const AttributeBase::Map & | attributes () const |
|
String | name () |
|
String | uid () |
| Returns unique id.
|
|
String | type () |
| Get component type (cross-platform)
|
|
Base class for all signal type components that have only unidirectional connections
Definition at line 17 of file SimSignalComp.h.
◆ mBehaviour
Bool CPS::SimSignalComp::mBehaviour = Behaviour::Simulation |
|
protected |
Determine state of the simulation, e.g. to implement special behavior for components during initialization
Definition at line 24 of file SimSignalComp.h.
The documentation for this class was generated from the following file: