CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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::RBCConfiguration ( )
inline

Definition at line 22 of file RBCConfiguration.h.

References initialise(), operator=(), preprocess(), and ~RBCConfiguration().

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

Definition at line 30 of file RBCConfiguration.cc.

References m_rbclogic.

30  :
31  m_rbcboardspecs{rbcspecs},
32  m_rbclogic{std::make_unique<RBCLogicUnit>()}
33 {
34 }
std::unique_ptr< RBCLogicUnit > m_rbclogic
const RBCBoardSpecs * m_rbcboardspecs
RBCConfiguration::RBCConfiguration ( const char *  _logic)

Definition at line 36 of file RBCConfiguration.cc.

References m_rbclogic.

36  :
37  m_rbcboardspecs{nullptr},
38  m_rbclogic{std::make_unique<RBCLogicUnit>( _logic )}
39 {}
std::unique_ptr< RBCLogicUnit > m_rbclogic
const RBCBoardSpecs * m_rbcboardspecs
RBCConfiguration::RBCConfiguration ( RBCConfiguration &&  )
default
virtual RBCConfiguration::~RBCConfiguration ( )
virtualdefault

Referenced by RBCConfiguration().

Member Function Documentation

virtual bool RBCConfiguration::initialise ( )
pure virtual

Implemented in RBCBasicConfig.

Referenced by RBCConfiguration().

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

Referenced by RBCConfiguration().

virtual void RBCConfiguration::preprocess ( RBCInput )
pure virtual

Implemented in RBCBasicConfig.

Referenced by RBCConfiguration().

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

const RBCBoardSpecs* RBCConfiguration::m_rbcboardspecs
protected

Definition at line 37 of file RBCConfiguration.h.

Referenced by RBCBasicConfig::initialise().

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

Definition at line 38 of file RBCConfiguration.h.

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