SCTDAL::ChannelMapping Class Reference

Optional mapping of fibres in MUR. More...

#include <ChannelMapping.h>


Public Member Functions

 ChannelMapping (::Configuration &conf,::ConfigObject &obj)
virtual ~ChannelMapping ()
bool destroy (::Configuration &conf)
 Destroy object of the ChannelMapping class.
virtual void init (bool init_children)
virtual void print (unsigned int, bool, std::ostream &) const
unsigned short get_outputFibre () const
 Get "outputFibre" attribute value.
unsigned short outputFibre () const
bool set_outputFibre (unsigned short value)
 Set "outputFibre" attribute value.
unsigned short get_stream0Fibre () const
 Get "stream0Fibre" attribute value.
unsigned short stream0Fibre () const
bool set_stream0Fibre (unsigned short value)
 Set "stream0Fibre" attribute value.
unsigned short get_stream1Fibre () const
 Get "stream1Fibre" attribute value.
unsigned short stream1Fibre () const
bool set_stream1Fibre (unsigned short value)
 Set "stream1Fibre" attribute value.

Static Public Member Functions

static ChannelMappingcreate (::Configuration &conf, const std::string &id="")
 Create new object of the ChannelMapping class.

Static Public Attributes

static const std::string s_class_name

Private Member Functions

void check_init () const

Static Private Member Functions

static void update (::Configuration &conf, const ::ConfigurationChange *change)
static void reset (::Configuration &conf, bool re_initialise_obj)

Private Attributes

unsigned short m_outputFibre
unsigned short m_stream0Fibre
unsigned short m_stream1Fibre

Friends

class ::Configuration


Detailed Description

Optional mapping of fibres in MUR.

Definition at line 21 of file ChannelMapping.h.


Member Function Documentation

static ChannelMapping* SCTDAL::ChannelMapping::create ::Configuration &  conf,
const std::string &  id = ""
[static]
 

Create new object of the ChannelMapping class.

Parameters:
conf configuration object
id optional identity for new object
Returns:
non-null pointer on new object in case of success or null pointer if failed

bool SCTDAL::ChannelMapping::destroy ::Configuration &  conf  ) 
 

Destroy object of the ChannelMapping class.

Returns:
true in case of success or false if failed

unsigned short SCTDAL::ChannelMapping::get_outputFibre  )  const [inline]
 

Get "outputFibre" attribute value.

Definition at line 78 of file ChannelMapping.h.

References check_init(), and m_outputFibre.

Here is the call graph for this function:

unsigned short SCTDAL::ChannelMapping::get_stream0Fibre  )  const [inline]
 

Get "stream0Fibre" attribute value.

Definition at line 91 of file ChannelMapping.h.

References check_init(), and m_stream0Fibre.

Here is the call graph for this function:

unsigned short SCTDAL::ChannelMapping::get_stream1Fibre  )  const [inline]
 

Get "stream1Fibre" attribute value.

Definition at line 104 of file ChannelMapping.h.

References check_init(), and m_stream1Fibre.

Here is the call graph for this function:

bool SCTDAL::ChannelMapping::set_outputFibre unsigned short  value  )  [inline]
 

Set "outputFibre" attribute value.

Definition at line 85 of file ChannelMapping.h.

bool SCTDAL::ChannelMapping::set_stream0Fibre unsigned short  value  )  [inline]
 

Set "stream0Fibre" attribute value.

Definition at line 98 of file ChannelMapping.h.

bool SCTDAL::ChannelMapping::set_stream1Fibre unsigned short  value  )  [inline]
 

Set "stream1Fibre" attribute value.

Definition at line 111 of file ChannelMapping.h.


The documentation for this class was generated from the following files:
Generated on Mon Feb 6 14:06:30 2006 for SCT DAQ/DCS Software - C++ by  doxygen 1.4.6