RecoBlackBoard Class Reference
[The reconstruction framework (odinreco)]

#include <blackboard.h>

List of all members.

Public Member Functions

 RecoBlackBoard ()
void announce (const STD_string &label)
void post (const STD_string &label, const RecoData &data)
bool announced (const STD_string &label) const
bool inquire (const STD_string &label, RecoData &data, bool blocking=false)


Detailed Description

Manages data transfer between functors

Definition at line 35 of file blackboard.h.


Constructor & Destructor Documentation

RecoBlackBoard::RecoBlackBoard (  )  [inline]

Constructs empty blackboard

Definition at line 42 of file blackboard.h.


Member Function Documentation

void RecoBlackBoard::announce ( const STD_string &  label  )  [inline]

Announces that data with identifier 'label' will become available during pipeline execution.

Definition at line 49 of file blackboard.h.

void RecoBlackBoard::post ( const STD_string &  label,
const RecoData data 
)

Posts 'data' with identifier 'label', it will be indexed according to the k-space coordinate in 'data'.

bool RecoBlackBoard::announced ( const STD_string &  label  )  const [inline]

Returns true only if data with identifier 'label' will become available during pipeline execution.

Definition at line 59 of file blackboard.h.

bool RecoBlackBoard::inquire ( const STD_string &  label,
RecoData data,
bool  blocking = false 
)

Returns 'data' with identifier 'label' for k-space coordinate set in 'data'. If 'blocking' is 'true', the function will return only if data becomes available. Returns 'true' if data is available, otherwise returns 'false' if data not yet available.


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

Generated on Wed Sep 30 15:33:09 2009 by  doxygen 1.5.6