|
DPsim
|
#include <IdentifiedObject.h>
Public Types | |
| typedef std::shared_ptr< IdentifiedObject > | Ptr |
| typedef std::vector< Ptr > | List |
Public Member Functions | |
| IdentifiedObject () | |
| IdentifiedObject (const String &uid, const String &name) | |
| IdentifiedObject (const String &name) | |
| virtual | ~IdentifiedObject ()=default |
| 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 () |
Public Attributes | |
| const Attribute< String >::Ptr | mName |
| Human readable name. | |
| const Attribute< String >::Ptr | mUID |
| Unique identifier. | |
Protected Attributes | |
| AttributeList::Ptr | mAttributes = AttributeList::make() |
| Attribute List. | |
Common base class of all objects which are identified by a name and an unique identifier (UID).
Definition at line 19 of file IdentifiedObject.h.
| typedef std::vector<Ptr> CPS::IdentifiedObject::List |
Definition at line 31 of file IdentifiedObject.h.
| typedef std::shared_ptr<IdentifiedObject> CPS::IdentifiedObject::Ptr |
Definition at line 30 of file IdentifiedObject.h.
|
inline |
Definition at line 33 of file IdentifiedObject.h.
Definition at line 35 of file IdentifiedObject.h.
|
inlineexplicit |
Definition at line 39 of file IdentifiedObject.h.
|
virtualdefault |
|
inline |
Return pointer to an attribute.
Definition at line 45 of file IdentifiedObject.h.
|
inline |
Definition at line 55 of file IdentifiedObject.h.
|
inline |
Return pointer to an attribute.
Definition at line 51 of file IdentifiedObject.h.
|
inlinevirtual |
Reimplemented in CPS::EMT::Ph3::RXLoad.
Definition at line 65 of file IdentifiedObject.h.
|
inline |
Definition at line 59 of file IdentifiedObject.h.
|
inline |
Get component type (cross-platform)
Definition at line 63 of file IdentifiedObject.h.
|
inline |
Returns unique id.
Definition at line 61 of file IdentifiedObject.h.
|
protected |
Definition at line 22 of file IdentifiedObject.h.
Human readable name.
Definition at line 26 of file IdentifiedObject.h.
Unique identifier.
Definition at line 28 of file IdentifiedObject.h.