Graphitti
A toolkit/software architecture to ease creating high-performance neural network simulators
|
Public Member Functions | |
GenericFunctionNode (const Operations::op &operationType, const std::function< void()> &function) | |
Constructor, Function Signature: void () | |
~GenericFunctionNode ()=default | |
Destructor. | |
bool | invokeFunction (const Operations::op &operation) const override |
Invokes the stored function if the sent operation type matches the operation type the function is stored as. | |
![]() | |
virtual | ~IFunctionNode ()=default |
Destructor. | |
Additional Inherited Members | |
![]() | |
Operations::op | operationType_ |
The operation type of the stored function. | |
Definition at line 17 of file GenericFunctionNode.h.
GenericFunctionNode::GenericFunctionNode | ( | const Operations::op & | 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.