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

Public Member Functions | |
| virtual | ~IFunctionNode ()=default |
| Destructor. | |
| virtual bool | invokeFunction (const Operations &operation) const =0 |
| virtual bool | invokeFunction (const Operations &operation, uint64_t arg1, uint64_t arg2) const =0 |
| Invokes the stored function using the two arguments as input. | |
Protected Attributes | |
| Operations | operationType_ |
| The operation type of the stored function. | |
Definition at line 17 of file IFunctionNode.h.
|
pure virtual |
TODO: Need to refactor to allow for passing in arguments. Otherwise, FunctionNode classes can not support non-empty signatures. Invokes the stored function if the sent operation type matches the operation type the function is stored as.
Implemented in GenericFunctionNode, and TwoUint64ArgFunctionNode.
|
pure virtual |
Invokes the stored function using the two arguments as input.
Implemented in GenericFunctionNode, and TwoUint64ArgFunctionNode.
|
protected |
The operation type of the stored function.
Definition at line 32 of file IFunctionNode.h.