DPsim
Loading...
Searching...
No Matches
CPS::TopologicalSignalComp Class Reference

#include <TopologicalSignalComp.h>

Inheritance diagram for CPS::TopologicalSignalComp:
[legend]
Collaboration diagram for CPS::TopologicalSignalComp:
[legend]

Public Types

typedef std::shared_ptr< TopologicalSignalCompPtr
 
typedef std::vector< Ptr > List
 
- Public Types inherited from CPS::IdentifiedObject
typedef std::shared_ptr< IdentifiedObjectPtr
 
typedef std::vector< Ptr > List
 

Public Member Functions

 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.
 
- Public Member Functions inherited from CPS::IdentifiedObject
 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)
 
virtual String description ()
 

Protected Attributes

Logger::Log mSLog
 Component logger.
 
Logger::Level mLogLevel
 Component logger control for internal variables.
 
- Protected Attributes inherited from CPS::IdentifiedObject
AttributeList::Ptr mAttributes = AttributeList::make()
 Attribute List.
 

Additional Inherited Members

- Public Attributes inherited from CPS::IdentifiedObject
const Attribute< String >::Ptr mName
 Human readable name.
 
const Attribute< String >::Ptr mUID
 Unique identifier.
 

Detailed Description

Base class for all signal type components that have only unidirectional connections

Definition at line 18 of file TopologicalSignalComp.h.

Member Typedef Documentation

◆ List

typedef std::vector<Ptr> CPS::TopologicalSignalComp::List

Definition at line 27 of file TopologicalSignalComp.h.

◆ Ptr

typedef std::shared_ptr<TopologicalSignalComp> CPS::TopologicalSignalComp::Ptr

Definition at line 26 of file TopologicalSignalComp.h.

Constructor & Destructor Documentation

◆ TopologicalSignalComp() [1/2]

CPS::TopologicalSignalComp::TopologicalSignalComp ( String uid,
String name,
Logger::Level logLevel = Logger::Level::off )
inline

Basic constructor that takes UID, name and log level.

Definition at line 30 of file TopologicalSignalComp.h.

◆ TopologicalSignalComp() [2/2]

CPS::TopologicalSignalComp::TopologicalSignalComp ( String name,
Logger::Level logLevel = Logger::Level::off )
inline

Basic constructor that takes name and log level and sets the UID to name as well.

Definition at line 40 of file TopologicalSignalComp.h.

◆ ~TopologicalSignalComp()

virtual CPS::TopologicalSignalComp::~TopologicalSignalComp ( )
inlinevirtual

Definition at line 44 of file TopologicalSignalComp.h.

Member Data Documentation

◆ mLogLevel

Logger::Level CPS::TopologicalSignalComp::mLogLevel
protected

Component logger control for internal variables.

Definition at line 23 of file TopologicalSignalComp.h.

◆ mSLog

Logger::Log CPS::TopologicalSignalComp::mSLog
protected

Component logger.

Definition at line 21 of file TopologicalSignalComp.h.


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