| The Gaudi Framework v27r1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Private Attributes | List of all members
concurrency::DataNode Class Reference

`#include <src/ExecutionFlowGraph.h>`

Collaboration diagram for concurrency::DataNode:
[legend]

## Public Member Functions
| DataNode (ExecutionFlowGraph &, const DataObjID &path)
| Constructor. More...
| ~DataNode ()
| Destructor. More...
const DataObjID & | getPath ()
void | addProducerNode (AlgorithmNode *node)
| Associate an AlgorithmNode, which is a data supplier for this one. More...
void | addConsumerNode (AlgorithmNode *node)
| Associate an AlgorithmNode, which is a data consumer of this one. More...
const std::vector< AlgorithmNode * > & | getProducers () const
| Get all data object producers. More...
const std::vector< AlgorithmNode * > & | getConsumers () const
| Get all data object consumers. More...

## Private Attributes
DataObjID | m_data_object_path
std::vector< AlgorithmNode * > | m_producers
std::vector< AlgorithmNode * > | m_consumers

## Detailed Description

Definition at line 232 of file ExecutionFlowGraph.h.

## Constructor & Destructor Documentation

concurrency::DataNode::DataNode | ( | ExecutionFlowGraph & | ,
|  | const DataObjID & | path
| ) |  |
| inline

Constructor.

Definition at line 235 of file ExecutionFlowGraph.h.

235 : m_data_object_path(path) {}
concurrency::DataNode::m_data_object_path
DataObjID m_data_object_path
Definition: ExecutionFlowGraph.h:254

concurrency::DataNode::~DataNode | ( |  | ) |
| inline

Destructor.

Definition at line 237 of file ExecutionFlowGraph.h.

237 {}

## Member Function Documentation

void concurrency::DataNode::addConsumerNode | ( | AlgorithmNode * | node | ) |
| inline

Associate an AlgorithmNode, which is a data consumer of this one.

Definition at line 245 of file ExecutionFlowGraph.h.

245 {
246 if (std::find(m_consumers.begin(),m_consumers.end(),node) == m_consumers.end())
247 m_consumers.push_back(node);
248 }
concurrency::DataNode::m_consumers
std::vector< AlgorithmNode * > m_consumers
Definition: ExecutionFlowGraph.h:256
std::find
T find(T...args)

void concurrency::DataNode::addProducerNode | ( | AlgorithmNode * | node | ) |
| inline

Associate an AlgorithmNode, which is a data supplier for this one.

Definition at line 240 of file ExecutionFlowGraph.h.

240 {
241 if (std::find(m_producers.begin(),m_producers.end(),node) == m_producers.end())
242 m_producers.push_back(node);
243 }
std::find
T find(T...args)
concurrency::DataNode::m_producers
std::vector< AlgorithmNode * > m_producers
Definition: ExecutionFlowGraph.h:255

const std::vector<AlgorithmNode*>& concurrency::DataNode::getConsumers | ( |  | ) | const
| inline

Get all data object consumers.

Definition at line 252 of file ExecutionFlowGraph.h.

252 {return m_consumers;}
concurrency::DataNode::m_consumers
std::vector< AlgorithmNode * > m_consumers
Definition: ExecutionFlowGraph.h:256

const DataObjID& concurrency::DataNode::getPath | ( |  | ) |
| inline

Definition at line 238 of file ExecutionFlowGraph.h.

238 {return m_data_object_path;}
concurrency::DataNode::m_data_object_path
DataObjID m_data_object_path
Definition: ExecutionFlowGraph.h:254

const std::vector<AlgorithmNode*>& concurrency::DataNode::getProducers | ( |  | ) | const
| inline

Get all data object producers.

Definition at line 250 of file ExecutionFlowGraph.h.

250 {return m_producers;}
concurrency::DataNode::m_producers
std::vector< AlgorithmNode * > m_producers
Definition: ExecutionFlowGraph.h:255

## Member Data Documentation

std::vector<AlgorithmNode*> concurrency::DataNode::m_consumers
| private

Definition at line 256 of file ExecutionFlowGraph.h.

DataObjID concurrency::DataNode::m_data_object_path
| private

Definition at line 254 of file ExecutionFlowGraph.h.

std::vector<AlgorithmNode*> concurrency::DataNode::m_producers
| private

Definition at line 255 of file ExecutionFlowGraph.h.

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

- GaudiHive/src/ExecutionFlowGraph.h