|
RcuConf::Configurator Class Reference |
Public Member Functions | |
Configurator (RcuDb::Server &server, Rcu &rcu, Bc &bc, Altro &altro) | |
virtual | ~Configurator () |
virtual int | Write (int tag, int x, int y, int z) |
const std::string & | ErrorString () const |
Rcu & | RCU () |
Bc & | BC () |
Altro & | ALTRO () |
void | SetDebug (bool use=true) |
Protected Member Functions | |
virtual bool | GetCurrent (int tag, int x, int y, int z) |
virtual bool | GetOrder () |
virtual bool | GetParams () |
virtual bool | Write (Component &c, Parameter &p) |
virtual bool | CheckWrite (int ret, const std::string &name, int addr) |
Protected Attributes | |
RcuDb::Server & | fServer |
Rcu & | fRcu |
Bc & | fBc |
Altro & | fAltro |
std::string | fErrorString |
Config * | fCurrent |
Priority * | fOrder |
Parameter::List | fParams |
bool | fDebug |
|
Constructor.
Definition at line 43 of file Configurator.cxx. |
|
Destructor.
Definition at line 80 of file Configurator.h. |
|
Definition at line 102 of file Configurator.h. References fAltro. |
|
Definition at line 100 of file Configurator.h. References fBc. |
|
Check that write worked.
Definition at line 223 of file Configurator.cxx. References RcuConf::Rcu::ErrorString(), fDebug, fErrorString, and fRcu. Referenced by Write(). |
|
Get the last error string.
Definition at line 96 of file Configurator.h. References fErrorString. Referenced by RcuConf::CommandCoder::createDataBlock(). |
|
Get the configuration.
Definition at line 99 of file Configurator.cxx. References fCurrent, fDebug, fErrorString, fServer, RcuConf::Config::List, and RcuConf::Config::Print(). Referenced by Write(). |
|
Get the order.
Definition at line 151 of file Configurator.cxx. References fCurrent, fDebug, fErrorString, fOrder, fServer, RcuConf::Table::Id(), RcuConf::Priority::List, and RcuConf::Priority::Print(). Referenced by Write(). |
|
Get the params.
Definition at line 196 of file Configurator.cxx. References fErrorString, fOrder, fParams, fServer, and RcuConf::Priority::Params(). Referenced by Write(). |
|
Definition at line 98 of file Configurator.h. References fRcu. Referenced by RcuConf::CommandCoder::getDataBlock(). |
|
Set debug mode.
Definition at line 105 of file Configurator.h. References fDebug. Referenced by RcuConf::CommandCoder::init(). |
|
Write a parameter.
Definition at line 260 of file Configurator.cxx. References CheckWrite(), fCurrent, fErrorString, fServer, RcuConf::Table::Id(), RcuConf::Parameter::IsBlob(), RcuConf::Address::List, RcuConf::Value::List, RcuConf::Parameter::Name(), RcuConf::Address::RawValue(), and RcuConf::Component::Write(). |
|
Write to the hardware via the RCU interface.
Definition at line 59 of file Configurator.cxx. References RcuConf::Rcu::EndBlock(), fAltro, fBc, fDebug, fErrorString, fParams, fRcu, GetCurrent(), GetOrder(), GetParams(), and RcuConf::Rcu::StartBlock(). Referenced by RcuConf::CommandCoder::createDataBlock(). |
|
Connection to ALTRO.
Definition at line 129 of file Configurator.h. |
|
Connection to BC.
Definition at line 127 of file Configurator.h. |
|
The current configuration.
Definition at line 133 of file Configurator.h. Referenced by GetCurrent(), GetOrder(), and Write(). |
|
Debug flag.
Definition at line 139 of file Configurator.h. Referenced by CheckWrite(), GetCurrent(), GetOrder(), SetDebug(), and Write(). |
|
Last error message.
Definition at line 131 of file Configurator.h. Referenced by CheckWrite(), ErrorString(), GetCurrent(), GetOrder(), GetParams(), and Write(). |
|
The current order of parameters.
Definition at line 135 of file Configurator.h. Referenced by GetOrder(), and GetParams(). |
|
The current list of parameters.
Definition at line 137 of file Configurator.h. Referenced by GetParams(), and Write(). |
|
Connection to RCU.
Definition at line 125 of file Configurator.h. Referenced by CheckWrite(), RCU(), and Write(). |
|
Connection to database.
Definition at line 123 of file Configurator.h. Referenced by GetCurrent(), GetOrder(), GetParams(), and Write(). |
Top of page | Last update Fri Apr 27 01:54:16 2007 |
Copyright © 2004 Christian Holm | Created by DoxyGen 1.3.5 |