SCTDAL::Channel Class Reference

Channel of MUR in SCT rod. More...

#include <Channel.h>


Public Member Functions

 Channel (::Configuration &conf,::ConfigObject &obj)
virtual ~Channel ()
bool destroy (::Configuration &conf)
 Destroy object of the Channel class.
virtual void init (bool init_children)
virtual void print (unsigned int, bool, std::ostream &) const
unsigned short get_id () const
 Get "id" attribute value.
unsigned short id () const
bool set_id (unsigned short value)
 Set "id" attribute value.
unsigned short get_outputCurrent () const
 Get "outputCurrent" attribute value.
unsigned short outputCurrent () const
bool set_outputCurrent (unsigned short value)
 Set "outputCurrent" attribute value.
unsigned short get_outputDelay () const
 Get "outputDelay" attribute value.
unsigned short outputDelay () const
bool set_outputDelay (unsigned short value)
 Set "outputDelay" attribute value.
unsigned short get_outputMarkSpace () const
 Get "outputMarkSpace" attribute value.
unsigned short outputMarkSpace () const
bool set_outputMarkSpace (unsigned short value)
 Set "outputMarkSpace" attribute value.
unsigned short get_stream0Threshold () const
 Get "stream0Threshold" attribute value.
unsigned short stream0Threshold () const
bool set_stream0Threshold (unsigned short value)
 Set "stream0Threshold" attribute value.
unsigned short get_stream0Delay () const
 Get "stream0Delay" attribute value.
unsigned short stream0Delay () const
bool set_stream0Delay (unsigned short value)
 Set "stream0Delay" attribute value.
unsigned short get_stream0ErrMask () const
 Get "stream0ErrMask" attribute value.
unsigned short stream0ErrMask () const
bool set_stream0ErrMask (unsigned short value)
 Set "stream0ErrMask" attribute value.
unsigned short get_stream1Threshold () const
 Get "stream1Threshold" attribute value.
unsigned short stream1Threshold () const
bool set_stream1Threshold (unsigned short value)
 Set "stream1Threshold" attribute value.
unsigned short get_stream1Delay () const
 Get "stream1Delay" attribute value.
unsigned short stream1Delay () const
bool set_stream1Delay (unsigned short value)
 Set "stream1Delay" attribute value.
unsigned short get_stream1ErrMask () const
 Get "stream1ErrMask" attribute value.
unsigned short stream1ErrMask () const
bool set_stream1ErrMask (unsigned short value)
 Set "stream1ErrMask" attribute value.
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 Channelcreate (::Configuration &conf, const std::string &id="")
 Create new object of the Channel 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_id
unsigned short m_outputCurrent
unsigned short m_outputDelay
unsigned short m_outputMarkSpace
unsigned short m_stream0Threshold
unsigned short m_stream0Delay
unsigned short m_stream0ErrMask
unsigned short m_stream1Threshold
unsigned short m_stream1Delay
unsigned short m_stream1ErrMask
unsigned short m_outputFibre
unsigned short m_stream0Fibre
unsigned short m_stream1Fibre

Friends

class ::Configuration


Detailed Description

Channel of MUR in SCT rod.

Definition at line 21 of file Channel.h.


Member Function Documentation

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

Create new object of the Channel 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::Channel::destroy ::Configuration &  conf  ) 
 

Destroy object of the Channel class.

Returns:
true in case of success or false if failed

unsigned short SCTDAL::Channel::get_id  )  const [inline]
 

Get "id" attribute value.

Definition at line 88 of file Channel.h.

References check_init(), and m_id.

Here is the call graph for this function:

unsigned short SCTDAL::Channel::get_outputCurrent  )  const [inline]
 

Get "outputCurrent" attribute value.

Definition at line 101 of file Channel.h.

References check_init(), and m_outputCurrent.

Here is the call graph for this function:

unsigned short SCTDAL::Channel::get_outputDelay  )  const [inline]
 

Get "outputDelay" attribute value.

Definition at line 114 of file Channel.h.

References check_init(), and m_outputDelay.

Here is the call graph for this function:

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

Get "outputFibre" attribute value.

Definition at line 218 of file Channel.h.

References check_init(), and m_outputFibre.

Here is the call graph for this function:

unsigned short SCTDAL::Channel::get_outputMarkSpace  )  const [inline]
 

Get "outputMarkSpace" attribute value.

Definition at line 127 of file Channel.h.

References check_init(), and m_outputMarkSpace.

Here is the call graph for this function:

unsigned short SCTDAL::Channel::get_stream0Delay  )  const [inline]
 

Get "stream0Delay" attribute value.

Definition at line 153 of file Channel.h.

References check_init(), and m_stream0Delay.

Here is the call graph for this function:

unsigned short SCTDAL::Channel::get_stream0ErrMask  )  const [inline]
 

Get "stream0ErrMask" attribute value.

Definition at line 166 of file Channel.h.

References check_init(), and m_stream0ErrMask.

Here is the call graph for this function:

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

Get "stream0Fibre" attribute value.

Definition at line 231 of file Channel.h.

References check_init(), and m_stream0Fibre.

Here is the call graph for this function:

unsigned short SCTDAL::Channel::get_stream0Threshold  )  const [inline]
 

Get "stream0Threshold" attribute value.

Definition at line 140 of file Channel.h.

References check_init(), and m_stream0Threshold.

Here is the call graph for this function:

unsigned short SCTDAL::Channel::get_stream1Delay  )  const [inline]
 

Get "stream1Delay" attribute value.

Definition at line 192 of file Channel.h.

References check_init(), and m_stream1Delay.

Here is the call graph for this function:

unsigned short SCTDAL::Channel::get_stream1ErrMask  )  const [inline]
 

Get "stream1ErrMask" attribute value.

Definition at line 205 of file Channel.h.

References check_init(), and m_stream1ErrMask.

Here is the call graph for this function:

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

Get "stream1Fibre" attribute value.

Definition at line 244 of file Channel.h.

References check_init(), and m_stream1Fibre.

Here is the call graph for this function:

unsigned short SCTDAL::Channel::get_stream1Threshold  )  const [inline]
 

Get "stream1Threshold" attribute value.

Definition at line 179 of file Channel.h.

References check_init(), and m_stream1Threshold.

Here is the call graph for this function:

bool SCTDAL::Channel::set_id unsigned short  value  )  [inline]
 

Set "id" attribute value.

Definition at line 95 of file Channel.h.

bool SCTDAL::Channel::set_outputCurrent unsigned short  value  )  [inline]
 

Set "outputCurrent" attribute value.

Definition at line 108 of file Channel.h.

bool SCTDAL::Channel::set_outputDelay unsigned short  value  )  [inline]
 

Set "outputDelay" attribute value.

Definition at line 121 of file Channel.h.

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

Set "outputFibre" attribute value.

Definition at line 225 of file Channel.h.

bool SCTDAL::Channel::set_outputMarkSpace unsigned short  value  )  [inline]
 

Set "outputMarkSpace" attribute value.

Definition at line 134 of file Channel.h.

bool SCTDAL::Channel::set_stream0Delay unsigned short  value  )  [inline]
 

Set "stream0Delay" attribute value.

Definition at line 160 of file Channel.h.

bool SCTDAL::Channel::set_stream0ErrMask unsigned short  value  )  [inline]
 

Set "stream0ErrMask" attribute value.

Definition at line 173 of file Channel.h.

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

Set "stream0Fibre" attribute value.

Definition at line 238 of file Channel.h.

bool SCTDAL::Channel::set_stream0Threshold unsigned short  value  )  [inline]
 

Set "stream0Threshold" attribute value.

Definition at line 147 of file Channel.h.

bool SCTDAL::Channel::set_stream1Delay unsigned short  value  )  [inline]
 

Set "stream1Delay" attribute value.

Definition at line 199 of file Channel.h.

bool SCTDAL::Channel::set_stream1ErrMask unsigned short  value  )  [inline]
 

Set "stream1ErrMask" attribute value.

Definition at line 212 of file Channel.h.

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

Set "stream1Fibre" attribute value.

Definition at line 251 of file Channel.h.

bool SCTDAL::Channel::set_stream1Threshold unsigned short  value  )  [inline]
 

Set "stream1Threshold" attribute value.

Definition at line 186 of file Channel.h.


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