Graphitti
A toolkit/software architecture to ease creating high-performance neural network simulators
Loading...
Searching...
No Matches
TwoUint64ArgFunctionNode Class Reference
Inheritance diagram for TwoUint64ArgFunctionNode:
Collaboration diagram for TwoUint64ArgFunctionNode:

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.
 

Detailed Description

Definition at line 17 of file TwoUint64ArgFunctionNode.h.

Constructor & Destructor Documentation

◆ TwoUint64ArgFunctionNode()

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.

Member Function Documentation

◆ invokeFunction() [1/2]

virtual bool TwoUint64ArgFunctionNode::invokeFunction ( const Operations & operation) const
inlinevirtual

TODO: Remove when IFunctionNode supports functions with non-empty signatures.

Implements IFunctionNode.

Definition at line 27 of file TwoUint64ArgFunctionNode.h.

◆ invokeFunction() [2/2]

bool TwoUint64ArgFunctionNode::invokeFunction ( const Operations & operation,
uint64_t arg1,
uint64_t arg2 ) const
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.


The documentation for this class was generated from the following files: