CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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.

22 : m_rbcboardspecs(nullptr) {}
const RBCBoardSpecs * m_rbcboardspecs
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::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::RBCConfiguration ( RBCConfiguration &&  )
default
virtual RBCConfiguration::~RBCConfiguration ( )
virtualdefault

Member Function Documentation

virtual bool RBCConfiguration::initialise ( )
pure virtual

Implemented in RBCBasicConfig.

RBCConfiguration& RBCConfiguration::operator= ( RBCConfiguration &&  )
default
virtual void RBCConfiguration::preprocess ( RBCInput )
pure virtual

Implemented in RBCBasicConfig.

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(), and rbclogic().