Covalent Bond  0.0.1-alpha
'covalent bond' is a data middle office. As a 2022-2023 Fall SWE final project.
Public Member Functions | Public Attributes | List of all members
cb::graph::cbOperatorNode Struct Reference

A operator node. Generate all go task. Then pass the output to the next node's inputs. More...

#include <cbComputeGraph.hpp>

Inheritance diagram for cb::graph::cbOperatorNode:
Inheritance graph
[legend]
Collaboration diagram for cb::graph::cbOperatorNode:
Collaboration graph
[legend]

Public Member Functions

 ~cbOperatorNode () override
 
 cbOperatorNode (baseOp *op)
 
void * generateTask () override
 
void overload (sol::function &funcPtr)
 
- Public Member Functions inherited from cb::graph::cbNode
virtual ~cbNode ()
 Destroy the cb Node object Virtual function. More...
 
 cbNode (const nodeType &nt)
 
void PointTo (cbNode *ptr)
 

Public Attributes

friend cbComputeGraph
 
baseOpOp
 
- Public Attributes inherited from cb::graph::cbNode
cbOpIO io
 
bool isFinalOutput = false
 
bool visited = false
 
nodeType nodeT
 
void * task = nullptr
 
cbNodenextNode = nullptr
 
cbComputeGraphgraph = nullptr
 

Additional Inherited Members

- Static Public Member Functions inherited from cb::graph::cbNode
static WFMySQLTask * asSQLTask (void *metaTask)
 
static WFGoTask * asGoTask (void *metaTask)
 

Detailed Description

A operator node. Generate all go task. Then pass the output to the next node's inputs.

Definition at line 313 of file cbComputeGraph.hpp.

Constructor & Destructor Documentation

◆ ~cbOperatorNode()

cb::graph::cbOperatorNode::~cbOperatorNode ( )
override

Definition at line 141 of file cbComputeGraph.cpp.

References baseOp::luaOverrideFunc, and Op.

◆ cbOperatorNode()

cb::graph::cbOperatorNode::cbOperatorNode ( baseOp op)

Definition at line 146 of file cbComputeGraph.cpp.

References cb::graph::Operator.

Member Function Documentation

◆ generateTask()

void * cb::graph::cbOperatorNode::generateTask ( )
overridevirtual
Returns
void*

Implements cb::graph::cbNode.

Definition at line 148 of file cbComputeGraph.cpp.

References baseOp::execMain(), cbOpIO::I, baseOp::io, cb::graph::cbNode::io, cb::graph::cbNode::nextNode, cbOpIO::O, Op, and cb::graph::cbNode::task.

Here is the call graph for this function:

◆ overload()

void cb::graph::cbOperatorNode::overload ( sol::function &  funcPtr)
Parameters
funcPtrThe functions belong to lua.

Definition at line 172 of file cbComputeGraph.cpp.

Member Data Documentation

◆ cbComputeGraph

friend cb::graph::cbOperatorNode::cbComputeGraph

Definition at line 314 of file cbComputeGraph.hpp.

◆ Op

baseOp* cb::graph::cbOperatorNode::Op

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