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

#include <pipeline.hpp>

Public Member Functions

 ~graphContainer ()
 
 graphContainer (int32_t n)
 
 graphContainer (graphContainer &)=delete
 
 graphContainer (const graphContainer &)=delete
 
graphContainer operator= (graphContainer &)=delete
 
graphContainer operator= (const graphContainer &)=delete
 
void addGraph (graph::cbComputeGraph *g)
 
graph::cbComputeGraphgetGraph (int32_t idx)
 Get the Graph object. More...
 
void execMain ()
 
void setTerminated (bool enable)
 Set the Terminated object. More...
 
size_t nums ()
 

Private Attributes

bool m_isTerminated = false
 
std::vector< graph::cbComputeGraph * > m_graphs
 
int32_t m_loopTime = 10
 

Detailed Description

Definition at line 35 of file pipeline.hpp.

Constructor & Destructor Documentation

◆ ~graphContainer()

cb::pipeline::graphContainer::~graphContainer ( )

Definition at line 13 of file pipeline.cpp.

References m_graphs.

◆ graphContainer() [1/3]

cb::pipeline::graphContainer::graphContainer ( int32_t  n)

Definition at line 11 of file pipeline.cpp.

◆ graphContainer() [2/3]

cb::pipeline::graphContainer::graphContainer ( graphContainer )
delete

◆ graphContainer() [3/3]

cb::pipeline::graphContainer::graphContainer ( const graphContainer )
delete

Member Function Documentation

◆ addGraph()

void cb::pipeline::graphContainer::addGraph ( graph::cbComputeGraph g)
Parameters
g

Definition at line 17 of file pipeline.cpp.

References m_graphs.

Referenced by cb::pipeline::app::initRHttp().

Here is the caller graph for this function:

◆ execMain()

void cb::pipeline::graphContainer::execMain ( )

Definition at line 26 of file pipeline.cpp.

References m_graphs, m_isTerminated, and m_loopTime.

◆ getGraph()

graph::cbComputeGraph * cb::pipeline::graphContainer::getGraph ( int32_t  idx)

Get the Graph object.

Parameters
idx
Returns
graph::cbComputeGraph*

Definition at line 19 of file pipeline.cpp.

References m_graphs.

Referenced by cb::pipeline::app::initRHttp().

Here is the caller graph for this function:

◆ nums()

size_t cb::pipeline::graphContainer::nums ( )
Returns
size_t

Definition at line 58 of file pipeline.cpp.

References m_graphs.

Referenced by cb::pipeline::app::initRHttp().

Here is the caller graph for this function:

◆ operator=() [1/2]

graphContainer cb::pipeline::graphContainer::operator= ( const graphContainer )
delete

◆ operator=() [2/2]

graphContainer cb::pipeline::graphContainer::operator= ( graphContainer )
delete

◆ setTerminated()

void cb::pipeline::graphContainer::setTerminated ( bool  enable)

Set the Terminated object.

Parameters
enable

Definition at line 56 of file pipeline.cpp.

References m_isTerminated.

Member Data Documentation

◆ m_graphs

std::vector<graph::cbComputeGraph*> cb::pipeline::graphContainer::m_graphs
private

Definition at line 81 of file pipeline.hpp.

Referenced by addGraph(), execMain(), getGraph(), nums(), and ~graphContainer().

◆ m_isTerminated

bool cb::pipeline::graphContainer::m_isTerminated = false
private

Definition at line 80 of file pipeline.hpp.

Referenced by execMain(), and setTerminated().

◆ m_loopTime

int32_t cb::pipeline::graphContainer::m_loopTime = 10
private

Definition at line 82 of file pipeline.hpp.

Referenced by execMain().


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