|
RcuConf::BusComponent Class Reference |
Public Member Functions | |
BusComponent () | |
virtual | ~BusComponent () |
virtual unsigned int | Write (const Parameter &p, const SingleValue &v) |
virtual unsigned int | Write (const Parameter &p, const SingleValue &v, const Address &a) |
virtual unsigned int | Read (const Parameter &p, SingleValue &v) |
virtual unsigned int | Read (const Parameter &p, const Address &a, SingleValue &v) |
Protected Member Functions | |
virtual Rcuxx::AltroRegister * | Name2Register (const std::string &name)=0 |
virtual Rcuxx::AltroCommand * | Name2Command (const std::string &name)=0 |
virtual unsigned int | DoWrite (const Parameter &p, const SingleValue &v, int board, unsigned int chip, unsigned int channel) |
virtual unsigned int | DoRead (const Parameter &p, SingleValue &v, int board, unsigned int chip, unsigned int channel) |
|
Constructor.
Definition at line 181 of file Component.h. |
|
Destructor.
Definition at line 183 of file Component.h. |
|
Do the actual read. The address/broadcast is set before, so only the parameter and the value is passed
Definition at line 83 of file Component.cxx. References RcuConf::Parameter::IsBlob(), RcuConf::Parameter::Name(), Name2Command(), Name2Register(), and RcuConf::SingleValue::Set(). Referenced by Read(). |
|
Do the actual write. The address/broadcast is set before, so only the parameter and the value is passed
Definition at line 46 of file Component.cxx. References RcuConf::Parameter::IsBlob(), RcuConf::Parameter::Name(), Name2Command(), Name2Register(), and RcuConf::SingleValue::Values(). Referenced by Write(). |
|
Map a parameter name to a command.
Implemented in RcuConf::Altro, RcuConf::Bc, and RcuConf::Fmd. |
|
Map a parameter name to a register.
Implemented in RcuConf::Altro, RcuConf::Bc, and RcuConf::Fmd. |
|
Read Parameter p, with SingleValue v for the Address a. A call to this member function implies writing to a particular address on the bus.
Reimplemented from RcuConf::Component. Definition at line 226 of file Component.h. References RcuConf::Address::Board(), RcuConf::Address::Channel(), RcuConf::Address::Chip(), and DoRead(). |
|
Read Parameter p, with SingleValue v. A call to this member function implies writing in broadcast.
Implements RcuConf::Component. Definition at line 214 of file Component.h. References DoRead(). |
|
Write Parameter p, with SingleValue v for the Address a. A call to this member function implies writing to a particular address on the bus.
Reimplemented from RcuConf::Component. Definition at line 202 of file Component.h. References RcuConf::Address::Board(), RcuConf::Address::Channel(), RcuConf::Address::Chip(), and DoWrite(). |
|
Write Parameter p, with SingleValue v. A call to this member function implies writing in broadcast.
Implements RcuConf::Component. Definition at line 190 of file Component.h. References DoWrite(). |
Top of page | Last update Fri Apr 27 01:54:16 2007 |
Copyright © 2004 Christian Holm | Created by DoxyGen 1.3.5 |