SCTDAL::Geography Class Reference

Overall geography, may contain several barrels. More...

#include <Geography.h>


Public Member Functions

 Geography (::Configuration &conf,::ConfigObject &obj)
virtual ~Geography ()
bool destroy (::Configuration &conf)
 Destroy object of the Geography class.
virtual void init (bool init_children)
virtual void print (unsigned int, bool, std::ostream &) const
const std::vector< const SCTDAL::Barrel * > & get_barrels () const
 Get "barrels" relationship value.
const std::vector< const SCTDAL::Barrel * > & barrels () const
bool set_barrels (const std::vector< const SCTDAL::Barrel * > &value)
 Set "barrels" relationship value.

Static Public Member Functions

static Geographycreate (::Configuration &conf, const std::string &id="")
 Create new object of the Geography 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

std::vector< const SCTDAL::Barrel * > m_barrels

Friends

class ::Configuration


Detailed Description

Overall geography, may contain several barrels.

Definition at line 26 of file Geography.h.


Member Function Documentation

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

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

Destroy object of the Geography class.

Returns:
true in case of success or false if failed

const std::vector<const SCTDAL::Barrel*>& SCTDAL::Geography::get_barrels  )  const [inline]
 

Get "barrels" relationship value.

Definition at line 81 of file Geography.h.

References check_init(), and m_barrels.

Here is the call graph for this function:

bool SCTDAL::Geography::set_barrels const std::vector< const SCTDAL::Barrel * > &  value  ) 
 

Set "barrels" relationship value.

Definition at line 103 of file Geography.cpp.


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