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

template<class T>
using Super = ScalarToClass<T>
private

Base class of the mixin.

Definition at line 26 of file WithAutomatonCell.h.

Constructor & Destructor Documentation

◆ WithAutomatonCell()

template<class T>
WithAutomatonCell ( const T & obj)
inlineexplicit

Mixin class wraps an object a.

Definition at line 30 of file WithAutomatonCell.h.

31 : Super(obj)
32 , m_automatonCell()
33 {
34 }

Member Function Documentation

◆ getAutomatonCell()

template<class T>
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()

template<class T>
void receiveMaskedFlag ( ) const
inline

Mockup as we do not have any sub-items.

Definition at line 55 of file WithAutomatonCell.h.

55{}

◆ setAndForwardMaskedFlag()

template<class T>
void setAndForwardMaskedFlag ( ) const
inline

Mockup as we do not have any sub-items.

Definition at line 49 of file WithAutomatonCell.h.

50 {
51 getAutomatonCell().setMaskedFlag();
52 }

◆ unsetAndForwardMaskedFlag()

template<class T>
void unsetAndForwardMaskedFlag ( ) const
inline

Mockup as we do not have any sub-items.

Definition at line 43 of file WithAutomatonCell.h.

44 {
45 getAutomatonCell().unsetMaskedFlag();
46 }

Member Data Documentation

◆ m_automatonCell

template<class T>
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: