|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef EVENT_LOOP_ALGS__WHITE_BOARD_SVC_H
6 #define EVENT_LOOP_ALGS__WHITE_BOARD_SVC_H
78 const float*&
values)
const;
88 template<
class T> T *
retrieve (
const std::string&
name)
const;
139 const float*&
values)
const;
virtual void doGetArray(const std::string &name, std::size_t &size, const float *&values) const
virtual bool doHasVar(const std::string &name) const
returns: whether we have the given variable guarantee: strong failures: out of memory II rationale: t...
virtual TObject * doGetTObject(const std::string &name) const
ClassDef(WhiteBoardSvc, 1)
void setArray(const std::string &name, std::size_t size, const float *values)
void testInvariant() const
effects: test the invariant of this object guarantee: no-fail
TObject * getTObject(const std::string &name) const
#define RCU_ASSERT2_SOFT(x, y)
void getArray(const std::string &name, std::size_t &size, const float *&values) const
void setArray(const std::string &name, const std::vector< float > &value)
the interface for algorithms to access IWorker
float getFloat(const std::string &name) const
returns: the content of the variable, assuming the given type guarantee: strong failures: variable no...
This module defines the arguments passed from the BATCH driver to the BATCH worker.
virtual const char * GetName() const
effects: return the name of this algorithm guarantee: no-fail
virtual const std::string & name() const
virtual void doSetFloat(const std::string &name, float value)
returns: set/create a variable, assuming the given type guarantee: strong failures: given type not su...
WhiteBoardSvc()
effects: standard constructor guarantee: strong failures: out of memory I rationale: this constructor...
void setTObject(TObject *object, bool swallow=true)
virtual void doSetArray(const std::string &name, std::size_t size, const float *values)
bool hasVar(const std::string &name) const
returns: whether we have the given variable guarantee: strong failures: out of memory II
virtual void doSetTObject(TObject *object, bool swallow)
void setFloat(const std::string &name, float value)
returns: set/create a variable, assuming the given type guarantee: strong failures: given type not su...
WhiteBoardSvc * getWhiteBoardSvc(IWorker *worker)
effects: get the whiteboard service for this worker guarantee: strong failures: formula service not c...
T * retrieve(const std::string &name) const
returns: the content of the variable, casted to the given type guarantee: strong failures: variable n...
virtual float doGetFloat(const std::string &name) const
returns: the content of the variable, assuming the given type guarantee: strong failures: variable no...