Belle II Software  release-08-01-10
NNTParam< T > Class Template Reference

Class to represent a complete set to describe a Neurotrigger. More...

#include <NeuroTriggerParameters.h>

Collaboration diagram for NNTParam< T >:

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
 
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

m_value
 holding the value
 
bool m_set = false
 
bool m_locked = false
 saves the "locked" state
 

Detailed Description

template<class T>
class Belle2::NNTParam< T >

Class to represent a complete set to describe a Neurotrigger.

Definition at line 24 of file NeuroTriggerParameters.h.

Constructor & Destructor Documentation

◆ NNTParam()

NNTParam ( )
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.

28 {}

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