CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Attributes
RBCConfiguration Class Referenceabstract

#include <interface/RBCConfiguration.h>

Inheritance diagram for RBCConfiguration:
RBCBasicConfig

Public Member Functions

virtual bool initialise ()=0
 
RBCConfigurationoperator= (RBCConfiguration &&)=default
 
virtual void preprocess (RBCInput &)=0
 
 RBCConfiguration ()
 
 RBCConfiguration (const RBCBoardSpecs *rbcspecs)
 
 RBCConfiguration (const char *_logic)
 
 RBCConfiguration (RBCConfiguration &&)=default
 
RBCLogicUnitrbclogic ()
 
virtual ~RBCConfiguration ()=default
 

Protected Attributes

const RBCBoardSpecsm_rbcboardspecs
 
std::unique_ptr< RBCLogicUnitm_rbclogic
 

Detailed Description

Configuration Interface: Deals with configuration of RBC hardware

Author
Andres Osorio
Date
2008-10-29

Definition at line 20 of file RBCConfiguration.h.

Constructor & Destructor Documentation

◆ RBCConfiguration() [1/4]

RBCConfiguration::RBCConfiguration ( )
inline

Definition at line 22 of file RBCConfiguration.h.

22 : m_rbcboardspecs(nullptr) {}
const RBCBoardSpecs * m_rbcboardspecs

◆ RBCConfiguration() [2/4]

RBCConfiguration::RBCConfiguration ( const RBCBoardSpecs rbcspecs)

Definition at line 29 of file RBCConfiguration.cc.

30  : m_rbcboardspecs{rbcspecs}, m_rbclogic{std::make_unique<RBCLogicUnit>()} {}
std::unique_ptr< RBCLogicUnit > m_rbclogic
const RBCBoardSpecs * m_rbcboardspecs

◆ RBCConfiguration() [3/4]

RBCConfiguration::RBCConfiguration ( const char *  _logic)

Definition at line 32 of file RBCConfiguration.cc.

33  : m_rbcboardspecs{nullptr}, m_rbclogic{std::make_unique<RBCLogicUnit>(_logic)} {}
std::unique_ptr< RBCLogicUnit > m_rbclogic
const RBCBoardSpecs * m_rbcboardspecs

◆ RBCConfiguration() [4/4]

RBCConfiguration::RBCConfiguration ( RBCConfiguration &&  )
default

◆ ~RBCConfiguration()

virtual RBCConfiguration::~RBCConfiguration ( )
virtualdefault

Member Function Documentation

◆ initialise()

virtual bool RBCConfiguration::initialise ( )
pure virtual

Implemented in RBCBasicConfig.

◆ operator=()

RBCConfiguration& RBCConfiguration::operator= ( RBCConfiguration &&  )
default

◆ preprocess()

virtual void RBCConfiguration::preprocess ( RBCInput )
pure virtual

Implemented in RBCBasicConfig.

◆ rbclogic()

RBCLogicUnit* RBCConfiguration::rbclogic ( )
inline

Definition at line 34 of file RBCConfiguration.h.

References m_rbclogic.

34 { return m_rbclogic.get(); }
std::unique_ptr< RBCLogicUnit > m_rbclogic

Member Data Documentation

◆ m_rbcboardspecs

const RBCBoardSpecs* RBCConfiguration::m_rbcboardspecs
protected

Definition at line 37 of file RBCConfiguration.h.

Referenced by RBCBasicConfig::initialise().

◆ m_rbclogic

std::unique_ptr<RBCLogicUnit> RBCConfiguration::m_rbclogic
protected

Definition at line 38 of file RBCConfiguration.h.

Referenced by RBCBasicConfig::initialise(), and rbclogic().