Belle II Software development
|
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. | |
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.
|
inline |
copy constructor
Definition at line 30 of file NeuroTriggerParameters.h.
|
inline |
check, if variable was already locked and is read only now
Definition at line 59 of file NeuroTriggerParameters.h.
|
inline |
check, if variable was already initialized
Definition at line 55 of file NeuroTriggerParameters.h.
|
inline |
|
inline |
return the value of the data type this wrapper class is holding
Definition at line 36 of file NeuroTriggerParameters.h.
|
inline |
return the value of the data type this wrapper class is holding
Definition at line 51 of file NeuroTriggerParameters.h.
|
inline |
assignment operator, but checks first if the variable is already locked
Definition at line 39 of file NeuroTriggerParameters.h.
|
private |
saves the "locked" state
Definition at line 67 of file NeuroTriggerParameters.h.
|
private |
Definition at line 65 of file NeuroTriggerParameters.h.
|
private |
holding the value
Definition at line 63 of file NeuroTriggerParameters.h.