Belle II Software
release-08-01-10
|
Class to represent a complete set to describe a Neurotrigger. More...
#include <NeuroTriggerParameters.h>
Public Member Functions | |
NNTParam () | |
this is a typewrapper class for the parameters for the neurotrigger. More... | |
NNTParam (const T &xvalue) | |
copy constructor | |
operator T () const | |
return the value of the data type this wrapper class is holding | |
T | operator= (const T t) |
assignment operator, but checks first if the variable is already locked | |
NNTParam | operator() () const |
return the value of the data type this wrapper class is holding | |
bool | isSet () const |
check, if variable was already initialized | |
void | lock () |
lock the variable, to make it read only | |
bool | isLocked () const |
check, if variable was already locked and is read only now | |
Private Attributes | |
T | m_value |
holding the value | |
bool | m_set = false |
bool | m_locked = false |
saves the "locked" state | |
Class to represent a complete set to describe a Neurotrigger.
Definition at line 24 of file NeuroTriggerParameters.h.
|
inline |
this is a typewrapper class for the parameters for the neurotrigger.
for every parameter, it can also store the information wether the parameter was aleady set or if it is locked.
Definition at line 28 of file NeuroTriggerParameters.h.