Diana Software
Public Member Functions | Private Attributes | List of all members
QDaqState Class Reference

Public Member Functions

 QDaqState ()
 constructor More...
 
 QDaqState (const QDaqState_ &other)
 
 QDaqState (const QDaqState &other)
 
QDaqStateoperator= (const QDaqState_ &type)
 assignment operator More...
 
QDaqStateoperator= (const QDaqState &other)
 
bool operator== (const QDaqState_ &type) const
 comparison operator More...
 
 operator QDaqState_ () const
 conversion operator
More...
 
std::string AsString () const
 convert to string More...
 
bool Set (const std::string &name)
 set event type from string More...
 

Private Attributes

QDaqState_ fDaqState
 

Detailed Description

Definition at line 80 of file QDaqCommonDefs.hh.

Constructor & Destructor Documentation

◆ QDaqState() [1/3]

QDaqState::QDaqState ( )
inline

constructor

Definition at line 85 of file QDaqCommonDefs.hh.

◆ QDaqState() [2/3]

QDaqState::QDaqState ( const QDaqState_ other)
inline

Definition at line 86 of file QDaqCommonDefs.hh.

◆ QDaqState() [3/3]

QDaqState::QDaqState ( const QDaqState other)
inline

Definition at line 87 of file QDaqCommonDefs.hh.

Member Function Documentation

◆ AsString()

std::string QDaqState::AsString ( ) const

convert to string

Definition at line 25 of file QDaqCommonDefs.cc.

References fDaqState, Q_Exiting_State, Q_Idle_State, Q_Invalid_State, Q_Paused_State, Q_Running_State, and Q_Unknown_State.

◆ operator QDaqState_()

QDaqState::operator QDaqState_ ( ) const
inline

conversion operator

Definition at line 101 of file QDaqCommonDefs.hh.

References fDaqState.

◆ operator=() [1/2]

QDaqState& QDaqState::operator= ( const QDaqState other)
inline

Definition at line 94 of file QDaqCommonDefs.hh.

References fDaqState.

◆ operator=() [2/2]

QDaqState& QDaqState::operator= ( const QDaqState_ type)
inline

assignment operator

Definition at line 92 of file QDaqCommonDefs.hh.

References fDaqState.

◆ operator==()

bool QDaqState::operator== ( const QDaqState_ type) const
inline

comparison operator

Definition at line 99 of file QDaqCommonDefs.hh.

References fDaqState.

◆ Set()

bool QDaqState::Set ( const std::string &  name)

set event type from string

Definition at line 4 of file QDaqCommonDefs.cc.

References fDaqState, Q_Exiting_State, Q_Idle_State, Q_Invalid_State, Q_Paused_State, Q_Running_State, and Q_Unknown_State.

Member Data Documentation

◆ fDaqState

QDaqState_ QDaqState::fDaqState
private

Definition at line 107 of file QDaqCommonDefs.hh.

Referenced by AsString(), operator QDaqState_(), operator=(), operator==(), and Set().


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