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


Public Member Functions | |
| TwoUint64ArgFunctionNode (const Operations &operationType, const std::function< void(uint64_t, uint64_t)> &function) | |
| Constructor, Function Signature: void () | |
| ~TwoUint64ArgFunctionNode ()=default | |
| Destructor. | |
| virtual bool | invokeFunction (const Operations &operation) const |
| TODO: Remove when IFunctionNode supports functions with non-empty signatures. | |
| virtual bool | invokeFunction (const Operations &operation, uint64_t arg1, uint64_t arg2) 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 TwoUint64ArgFunctionNode.h.
| TwoUint64ArgFunctionNode::TwoUint64ArgFunctionNode | ( | const Operations & | operationType, |
| const std::function< void(uint64_t, uint64_t)> & | function ) |
Constructor, Function Signature: void ()
Constructor, Function Signature: void (uint64_t, uint64_t)
Definition at line 17 of file TwoUint64ArgFunctionNode.cpp.
|
inlinevirtual |
TODO: Remove when IFunctionNode supports functions with non-empty signatures.
Implements IFunctionNode.
Definition at line 27 of file TwoUint64ArgFunctionNode.h.
|
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 TwoUint64ArgFunctionNode.cpp.