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

#include <cbComputeGraph.hpp>

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

Public Member Functions

virtual ~cbNode ()
 Destroy the cb Node object Virtual function. More...
 
 cbNode (const nodeType &nt)
 
void PointTo (cbNode *ptr)
 
virtual void * generateTask ()=0
 

Static Public Member Functions

static WFMySQLTask * asSQLTask (void *metaTask)
 
static WFGoTask * asGoTask (void *metaTask)
 

Public Attributes

cbOpIO io
 
bool isFinalOutput = false
 
bool visited = false
 
nodeType nodeT
 
void * task = nullptr
 
cbNodenextNode = nullptr
 
cbComputeGraphgraph = nullptr
 

Detailed Description

Definition at line 219 of file cbComputeGraph.hpp.

Constructor & Destructor Documentation

◆ ~cbNode()

virtual cb::graph::cbNode::~cbNode ( )
inlinevirtual

Destroy the cb Node object Virtual function.

Definition at line 224 of file cbComputeGraph.hpp.

◆ cbNode()

cb::graph::cbNode::cbNode ( const nodeType nt)

Definition at line 64 of file cbComputeGraph.cpp.

Member Function Documentation

◆ asGoTask()

WFGoTask * cb::graph::cbNode::asGoTask ( void *  metaTask)
static

Definition at line 70 of file cbComputeGraph.cpp.

◆ asSQLTask()

WFMySQLTask * cb::graph::cbNode::asSQLTask ( void *  metaTask)
static

Definition at line 68 of file cbComputeGraph.cpp.

◆ generateTask()

virtual void* cb::graph::cbNode::generateTask ( )
pure virtual

◆ PointTo()

void cb::graph::cbNode::PointTo ( cbNode ptr)

Definition at line 66 of file cbComputeGraph.cpp.

References nextNode.

Referenced by cb::graph::cbComputeGraph::cbComputeGraph().

Here is the caller graph for this function:

Member Data Documentation

◆ graph

cbComputeGraph* cb::graph::cbNode::graph = nullptr

◆ io

cbOpIO cb::graph::cbNode::io

◆ isFinalOutput

bool cb::graph::cbNode::isFinalOutput = false

Definition at line 237 of file cbComputeGraph.hpp.

Referenced by cb::graph::cbVirtualDeviceNode::generateTask().

◆ nextNode

cbNode* cb::graph::cbNode::nextNode = nullptr

◆ nodeT

nodeType cb::graph::cbNode::nodeT

Definition at line 239 of file cbComputeGraph.hpp.

◆ task

void* cb::graph::cbNode::task = nullptr

◆ visited

bool cb::graph::cbNode::visited = false

Definition at line 238 of file cbComputeGraph.hpp.


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