Belle II Software development
WithAutomatonCell< T > Class Template Reference

Mixin class to attach an automaton cell to an object or pointer. More...

#include <WithAutomatonCell.h>

Inheritance diagram for WithAutomatonCell< T >:

Public Member Functions

 WithAutomatonCell (const T &obj)
 Mixin class wraps an object a.
 
AutomatonCellgetAutomatonCell () const
 Mutable getter for the automaton cell.
 
void unsetAndForwardMaskedFlag () const
 Mockup as we do not have any sub-items.
 
void setAndForwardMaskedFlag () const
 Mockup as we do not have any sub-items.
 
void receiveMaskedFlag () const
 Mockup as we do not have any sub-items.
 

Private Types

using Super = ScalarToClass< T >
 Base class of the mixin.
 

Private Attributes

AutomatonCell m_automatonCell
 Memory for the automaton cell.
 

Detailed Description

template<class T>
class Belle2::TrackFindingCDC::WithAutomatonCell< T >

Mixin class to attach an automaton cell to an object or pointer.

Definition at line 22 of file WithAutomatonCell.h.

Member Typedef Documentation

◆ Super

using Super = ScalarToClass<T>
private

Base class of the mixin.

Definition at line 26 of file WithAutomatonCell.h.

Constructor & Destructor Documentation

◆ WithAutomatonCell()

WithAutomatonCell ( const T &  obj)
inlineexplicit

Mixin class wraps an object a.

Definition at line 30 of file WithAutomatonCell.h.

31 : Super(obj)
33 {
34 }
ScalarToClass< T > Super
Base class of the mixin.
AutomatonCell m_automatonCell
Memory for the automaton cell.

Member Function Documentation

◆ getAutomatonCell()

AutomatonCell & getAutomatonCell ( ) const
inline

Mutable getter for the automaton cell.

Definition at line 37 of file WithAutomatonCell.h.

38 {
39 return m_automatonCell;
40 }

◆ receiveMaskedFlag()

void receiveMaskedFlag ( ) const
inline

Mockup as we do not have any sub-items.

Definition at line 55 of file WithAutomatonCell.h.

55{}

◆ setAndForwardMaskedFlag()

void setAndForwardMaskedFlag ( ) const
inline

Mockup as we do not have any sub-items.

Definition at line 49 of file WithAutomatonCell.h.

50 {
52 }
void setMaskedFlag(bool setTo=true)
Sets the masked flag to the given value. Default value true.
AutomatonCell & getAutomatonCell() const
Mutable getter for the automaton cell.

◆ unsetAndForwardMaskedFlag()

void unsetAndForwardMaskedFlag ( ) const
inline

Mockup as we do not have any sub-items.

Definition at line 43 of file WithAutomatonCell.h.

44 {
46 }
void unsetMaskedFlag()
Resets the masked flag to false.

Member Data Documentation

◆ m_automatonCell

AutomatonCell m_automatonCell
mutableprivate

Memory for the automaton cell.

Definition at line 59 of file WithAutomatonCell.h.


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