SCTDAL::Slave Class Reference

DSP code files. More...

#include <Slave.h>

Collaboration diagram for SCTDAL::Slave:

Collaboration graph
[legend]

Public Member Functions

 Slave (::Configuration &conf,::ConfigObject &obj)
virtual ~Slave ()
bool destroy (::Configuration &conf)
 Destroy object of the Slave 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.
const std::string & get_ipramFile () const
 Get "ipramFile" attribute value.
const std::string & ipramFile () const
bool set_ipramFile (const std::string &value)
 Set "ipramFile" attribute value.
const std::string & get_idramFile () const
 Get "idramFile" attribute value.
const std::string & idramFile () const
bool set_idramFile (const std::string &value)
 Set "idramFile" attribute value.
const std::string & get_extFile () const
 Get "extFile" attribute value.
const std::string & extFile () const
bool set_extFile (const std::string &value)
 Set "extFile" attribute value.

Static Public Member Functions

static Slavecreate (::Configuration &conf, const std::string &id="")
 Create new object of the Slave 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
std::string m_ipramFile
std::string m_idramFile
std::string m_extFile

Friends

class ::Configuration

Detailed Description

DSP code files.

Definition at line 21 of file Slave.h.


Member Function Documentation

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

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

Destroy object of the Slave class.

Returns:
true in case of success or false if failed

const std::string& SCTDAL::Slave::get_extFile  )  const [inline]
 

Get "extFile" attribute value.

Definition at line 120 of file Slave.h.

References check_init(), and m_extFile.

Here is the call graph for this function:

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

Get "id" attribute value.

slave ID

Definition at line 80 of file Slave.h.

References check_init(), and m_id.

Here is the call graph for this function:

const std::string& SCTDAL::Slave::get_idramFile  )  const [inline]
 

Get "idramFile" attribute value.

Definition at line 107 of file Slave.h.

References check_init(), and m_idramFile.

Here is the call graph for this function:

const std::string& SCTDAL::Slave::get_ipramFile  )  const [inline]
 

Get "ipramFile" attribute value.

Definition at line 94 of file Slave.h.

References check_init(), and m_ipramFile.

Here is the call graph for this function:

bool SCTDAL::Slave::set_extFile const std::string &  value  )  [inline]
 

Set "extFile" attribute value.

Definition at line 127 of file Slave.h.

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

Set "id" attribute value.

slave ID

Definition at line 88 of file Slave.h.

bool SCTDAL::Slave::set_idramFile const std::string &  value  )  [inline]
 

Set "idramFile" attribute value.

Definition at line 114 of file Slave.h.

bool SCTDAL::Slave::set_ipramFile const std::string &  value  )  [inline]
 

Set "ipramFile" attribute value.

Definition at line 101 of file Slave.h.


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