|
Graphitti
A toolkit/software architecture to ease creating high-performance neural network simulators
|


Public Member Functions | |
| GenericFunctionNode (const Operations &operationType, const std::function< void()> &function) | |
| Constructor, Function Signature: void () | |
| ~GenericFunctionNode ()=default | |
| Destructor. | |
| bool | invokeFunction (const Operations &operation) const override |
| Invokes the stored function if the sent operation type matches the operation type the function is stored as. | |
Public Member Functions inherited from IFunctionNode | |
| virtual | ~IFunctionNode ()=default |
| Destructor. | |
Additional Inherited Members | |
Protected Attributes inherited from IFunctionNode | |
| Operations | operationType_ |
| The operation type of the stored function. | |
Definition at line 17 of file GenericFunctionNode.h.
| GenericFunctionNode::GenericFunctionNode | ( | const Operations & | operationType, |
| const std::function< void()> & | function ) |
Constructor, Function Signature: void ()
Definition at line 17 of file GenericFunctionNode.cpp.
|
overridevirtual |
Invokes the stored function if the sent operation type matches the operation type the function is stored as.
Implements IFunctionNode.
Definition at line 25 of file GenericFunctionNode.cpp.