OpenWalnut
1.5.0dev
|
Represents a single position that is transferable between modules by connectors. More...
#include <WSinglePosition.h>
Public Types | |
typedef std::shared_ptr< WSinglePosition > | SPtr |
Shared pointer abbreviation. More... | |
typedef std::shared_ptr< const WSinglePosition > | ConstSPtr |
Const shared pointer abbreviation. More... | |
Public Member Functions | |
WSinglePosition (const WPosition &position) | |
Copies the specified WPosition instance. More... | |
WSinglePosition () | |
Constructs an empty position. More... | |
virtual | ~WSinglePosition () |
Destructs. More... | |
virtual const std::string | getName () const |
The name of this transferable. More... | |
virtual const std::string | getDescription () const |
The description of this transferable. More... | |
Public Member Functions inherited from WTransferable | |
WTransferable () | |
Default constructor. More... | |
virtual | ~WTransferable () |
Destructor. More... | |
Public Member Functions inherited from WPrototyped | |
WPrototyped () | |
Default constructor. More... | |
virtual | ~WPrototyped () |
Destructor. More... | |
template<typename T > | |
bool | isA () |
Checks whether the actual prototype has the specified runtime type. More... | |
Static Public Member Functions | |
static std::shared_ptr< WPrototyped > | getPrototype () |
Returns a prototype instantiated with the true type of the deriving class. More... | |
Static Protected Attributes | |
static std::shared_ptr< WPrototyped > | m_prototype = std::shared_ptr< WPrototyped >() |
Prototype for this dataset. More... | |
Represents a single position that is transferable between modules by connectors.
Definition at line 37 of file WSinglePosition.h.
typedef std::shared_ptr< const WSinglePosition > WSinglePosition::ConstSPtr |
Const shared pointer abbreviation.
Definition at line 48 of file WSinglePosition.h.
typedef std::shared_ptr< WSinglePosition > WSinglePosition::SPtr |
Shared pointer abbreviation.
Definition at line 43 of file WSinglePosition.h.
|
explicit |
Copies the specified WPosition instance.
position | the instance to clone. |
Definition at line 40 of file WSinglePosition.cpp.
WSinglePosition::WSinglePosition | ( | ) |
Constructs an empty position.
Definition at line 34 of file WSinglePosition.cpp.
Referenced by getPrototype().
|
virtual |
Destructs.
Definition at line 46 of file WSinglePosition.cpp.
|
inlinevirtual |
The description of this transferable.
This is useful information for the users.
Implements WPrototyped.
Definition at line 101 of file WSinglePosition.h.
|
inlinevirtual |
The name of this transferable.
This is useful information for the users.
Implements WPrototyped.
Definition at line 96 of file WSinglePosition.h.
|
static |
Returns a prototype instantiated with the true type of the deriving class.
Definition at line 50 of file WSinglePosition.cpp.
References m_prototype, and WSinglePosition().
|
staticprotected |
Prototype for this dataset.
Definition at line 93 of file WSinglePosition.h.
Referenced by getPrototype().