Hedgehog
3.1.0
A library to generate hybrid pipeline workflow systems
|
Core abstraction for copyable nodes. More...
#include "copyable_abstraction.h"
Public Member Functions | |
CopyableAbstraction (CopyableNode *const copyableNode) | |
Constructor using a node abstraction. | |
virtual | ~CopyableAbstraction ()=default |
Default destructor. | |
Protected Member Functions | |
std::shared_ptr< CopyableNode > | callCopy () |
Interface to call user-defined copy method. | |
Private Attributes | |
CopyableNode *const | copyableNode_ = nullptr |
Pointer to copyable node abstraction. | |
std::unique_ptr< std::set< std::shared_ptr< CopyableNode > > > | nodeCopies_ = nullptr |
Set of copies of the node. | |
Core abstraction for copyable nodes.
CopyableNode | Type of node to be copied |
Definition at line 36 of file copyable_abstraction.h.
|
inlineexplicit |
Constructor using a node abstraction.
copyableNode | Node to copy |
Definition at line 44 of file copyable_abstraction.h.
|
virtualdefault |
Default destructor.
|
inlineprotected |
Interface to call user-defined copy method.
std::runtime_error | A copy of the node is not valid |
Definition at line 56 of file copyable_abstraction.h.
|
private |
Pointer to copyable node abstraction.
Definition at line 38 of file copyable_abstraction.h.
|
private |
Set of copies of the node.
Definition at line 39 of file copyable_abstraction.h.