The Gaudi Framework
master (37c0b60a)
|
#include </builds/gaudi/Gaudi/GaudiTestSuite/include/GaudiTestSuite/Counter.h>
Classes | |
class | GaudiHistoAlgorithm |
Example of algorithm using histograms accumulators. More... | |
class | GaudiRootHistoAlgorithm |
Example of algorithm using root histograms accumulators. More... | |
class | HistoTimingAlg |
Simple timing of counter based histograms filling. More... | |
Public Types | |
using | HistoTimingAlgDA = HistoTimingAlg< double, Gaudi::Accumulators::atomicity::full > |
using | HistoTimingAlgIA = HistoTimingAlg< unsigned int, Gaudi::Accumulators::atomicity::full > |
using | HistoTimingAlgD = HistoTimingAlg< double, Gaudi::Accumulators::atomicity::none > |
using | HistoTimingAlgI = HistoTimingAlg< unsigned int, Gaudi::Accumulators::atomicity::none > |
Public Member Functions | |
Counter () | |
Constructors. More... | |
const CLID & | clID () const override |
Retrieve reference to class definition structure. More... | |
int | value () const |
Retrieve counter value. More... | |
int | increment () |
Increment counter. More... | |
int | decrement () |
Decrement counter. More... | |
void | set (int val) |
Set value. More... | |
Public Member Functions inherited from DataObject | |
DataObject () | |
Standard Constructor. More... | |
DataObject (const DataObject &rhs) | |
Copy Constructor. More... | |
DataObject & | operator= (const DataObject &rhs) |
Assignment Operator. More... | |
DataObject (DataObject &&rhs) | |
Move Constructor. More... | |
DataObject & | operator= (DataObject &&rhs) |
Move Assignment Operator. More... | |
virtual | ~DataObject () |
Standard Destructor. More... | |
virtual unsigned long | addRef () |
Add reference to object. More... | |
virtual unsigned long | release () |
release reference to object More... | |
const std::string & | name () const |
Retreive DataObject name. It is the name when registered in the store. More... | |
virtual StatusCode | update () |
Provide empty placeholder for internal object reconfiguration callback. More... | |
void | setRegistry (IRegistry *pRegistry) |
Set pointer to Registry. More... | |
IRegistry * | registry () const |
Get pointer to Registry. More... | |
LinkManager * | linkMgr () |
Retrieve Link manager. More... | |
const LinkManager * | linkMgr () const |
unsigned char | version () const |
Retrieve version number of this object representation. More... | |
void | setVersion (unsigned char vsn) |
Set version number of this object representation. More... | |
unsigned long | refCount () const |
Return the refcount. More... | |
virtual std::ostream & | fillStream (std::ostream &s) const |
Fill the output stream (ASCII) More... | |
Static Public Member Functions | |
static const CLID & | classID () |
Static Public Member Functions inherited from DataObject | |
static const CLID & | classID () |
Retrieve reference to class definition structure (static access) More... | |
Private Attributes | |
int | m_counter |
Counter number. More... | |
using Gaudi::TestSuite::Counter::HistoTimingAlgD = HistoTimingAlg<double, Gaudi::Accumulators::atomicity::none> |
Definition at line 71 of file CounterHistos.cpp.
using Gaudi::TestSuite::Counter::HistoTimingAlgDA = HistoTimingAlg<double, Gaudi::Accumulators::atomicity::full> |
Definition at line 67 of file CounterHistos.cpp.
using Gaudi::TestSuite::Counter::HistoTimingAlgI = HistoTimingAlg<unsigned int, Gaudi::Accumulators::atomicity::none> |
Definition at line 73 of file CounterHistos.cpp.
using Gaudi::TestSuite::Counter::HistoTimingAlgIA = HistoTimingAlg<unsigned int, Gaudi::Accumulators::atomicity::full> |
Definition at line 69 of file CounterHistos.cpp.
Gaudi::TestSuite::Counter::Counter | ( | ) |
|
inlinestatic |
|
inlineoverridevirtual |
Retrieve reference to class definition structure.
Reimplemented from DataObject.
Definition at line 37 of file Counter.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
private |