|
Cat
|
#include <SpecsMaster.h>
Public Member Functions | |
| SpecsMaster () | |
| ~SpecsMaster () | |
| void | setPciDevID (unsigned char pciDevID) |
| unsigned char | pciDevID () |
| void | setMasterDevID (unsigned char masterDevID) |
| unsigned char | masterDevID () |
| SpecsMaster * | specsMaster () |
| SPECSMASTER * | specsMasterDevice () |
| void | help () |
| StatusCode | init () |
| void | reset () |
| void | setSpeed (unsigned char) |
| unsigned char | speed () |
| void | update () |
Public Member Functions inherited from Element | |
| Element () | |
| Standard constructor. More... | |
| virtual | ~Element () |
| Destructor. More... | |
| void | recursiveInitElement () |
| void | recursiveInitCommunications () |
| StatusCode | setConnection (Hierarchy *) |
| Hierarchy * | connection () |
Public Member Functions inherited from Hierarchy | |
| Hierarchy () | |
| Standard constructor. More... | |
| virtual | ~Hierarchy () |
| Destructor. More... | |
| void | clear () |
| void | setParent (Hierarchy *parent) |
| Hierarchy * | parent () |
| Hierarchy * | parent (std::string) |
| Hierarchy * | origin () |
| virtual void | addChild (Hierarchy *element) |
| std::vector< Hierarchy * > | children () |
| Hierarchy * | child (std::string) |
| Hierarchy * | childTyped (std::string) |
| unsigned long | numberOfChildren () |
| bool | hasChildren () |
| void | delChild (Hierarchy *) |
| void | delChild (std::string) |
| std::string | path (std::string=std::string("")) |
| std::string | pathTyped (std::string=std::string("")) |
| void | tree (std::string indent=std::string("")) |
| void | tree () |
Public Member Functions inherited from Object | |
| Object () | |
| Standard constructor. More... | |
| virtual | ~Object () |
| Destructor. More... | |
| std::string | name () const |
| std::string | type () |
| unsigned char | id () |
| std::string | title () |
| void | msgSvc (int level, std::string msg, std::string name) |
| void | msg (std::string mymsg) |
| void | verbose (std::string mymsg) |
| void | debug (std::string mymsg) |
| void | info (std::string mymsg) |
| void | warning (std::string mymsg) |
| void | error (std::string mymsg) |
| void | fatal (std::string mymsg) |
| void | msg (std::string mymsg, std::string name) |
| void | verbose (std::string mymsg, std::string name) |
| void | debug (std::string mymsg, std::string name) |
| void | info (std::string mymsg, std::string name) |
| void | warning (std::string mymsg, std::string name) |
| void | error (std::string mymsg, std::string name) |
| void | fatal (std::string mymsg, std::string name) |
| void | setName (std::string name) |
| void | setType (std::string type) |
| void | setId (unsigned char id) |
| void | setTitle (std::string title) |
| void | setDllName (std::string dllName) |
| std::string | dllName () |
Public Member Functions inherited from Attrib | |
| Attrib () | |
| Standard constructor. More... | |
| virtual | ~Attrib () |
| Destructor. More... | |
| bool | is (int attribut) |
| void | add (int attribut) |
| void | remove (int attribut) |
| std::string | attributs () |
Private Attributes | |
| unsigned char | m_pciDevID |
| unsigned char | m_masterDevID |
| unsigned char | m_speed |
| bool | m_specsMasterOpen |
| SPECSMASTER | m_specsMaster |
Additional Inherited Members | |
Public Types inherited from Attrib | |
| enum | Attribut { UNDEFINED, PASSIVE, ACTIVE, INTERFACE, IO, IODATA, ELEMENT, HARDWARE, PROCESSUS, SOFTWARE } |
Protected Attributes inherited from Element | |
| Hierarchy * | m_connection |
Protected Attributes inherited from Attrib | |
| std::string | m_attribString [10] |
Definition at line 25 of file SpecsMaster.h.
| SpecsMaster::SpecsMaster | ( | ) |
Definition at line 21 of file SpecsMaster.cpp.
References Attrib::add(), Object::debug(), Attrib::ELEMENT, Attrib::HARDWARE, m_specsMasterOpen, m_speed, Object::setId(), setMasterDevID(), Object::setName(), setPciDevID(), and Object::setType().
| SpecsMaster::~SpecsMaster | ( | ) |
|
virtual |
printout help for the element
Implements Element.
Definition at line 62 of file SpecsMaster.cpp.
References Object::info().
Referenced by BOOST_PYTHON_MODULE(), and masterDevID().
|
virtual |
init the component
Implements Element.
Definition at line 69 of file SpecsMaster.cpp.
References Object::debug(), Object::error(), StatusCode::FAILURE, Object::info(), itos(), m_masterDevID, m_pciDevID, m_specsMaster, m_specsMasterOpen, Object::name(), reset(), and StatusCode::SUCCESS.
Referenced by BOOST_PYTHON_MODULE(), and masterDevID().
|
inline |
Definition at line 42 of file SpecsMaster.h.
References help(), init(), m_masterDevID, reset(), setSpeed(), specsMaster(), and specsMasterDevice().
Referenced by BOOST_PYTHON_MODULE(), and setMasterDevID().
|
inline |
Definition at line 34 of file SpecsMaster.h.
References m_pciDevID.
Referenced by BOOST_PYTHON_MODULE(), and setPciDevID().
|
virtual |
Resets the Element so that is is in a standard and safe situation. Different from Element::init which configure the Element. Element::reset() is more an Emergency pull. It is often/usually called by the recursiveInitElement method at the start of the program.
Implements Element.
Definition at line 130 of file SpecsMaster.cpp.
References Object::debug(), Object::info(), itos(), m_specsMaster, m_speed, Object::name(), setSpeed(), and Object::warning().
Referenced by BOOST_PYTHON_MODULE(), SpecsSlave::detect(), init(), and masterDevID().
|
inline |
Definition at line 38 of file SpecsMaster.h.
References m_masterDevID, and masterDevID().
Referenced by BOOST_PYTHON_MODULE(), and SpecsMaster().
|
inline |
Definition at line 30 of file SpecsMaster.h.
References m_pciDevID, and pciDevID().
Referenced by BOOST_PYTHON_MODULE(), and SpecsMaster().
| void SpecsMaster::setSpeed | ( | unsigned char | speed | ) |
Definition at line 149 of file SpecsMaster.cpp.
References Object::debug(), itos(), m_specsMaster, m_speed, Object::name(), speed(), and Object::warning().
Referenced by BOOST_PYTHON_MODULE(), masterDevID(), and reset().
| SpecsMaster * SpecsMaster::specsMaster | ( | ) |
Definition at line 46 of file SpecsMaster.cpp.
Referenced by masterDevID().
| SPECSMASTER * SpecsMaster::specsMasterDevice | ( | ) |
Definition at line 54 of file SpecsMaster.cpp.
References m_specsMaster.
Referenced by masterDevID().
|
inline |
Definition at line 64 of file SpecsMaster.h.
References m_speed.
Referenced by BOOST_PYTHON_MODULE(), and setSpeed().
|
inlinevirtual |
Update the Element configuration from the actual hardware
Implements Element.
Definition at line 66 of file SpecsMaster.h.
Referenced by BOOST_PYTHON_MODULE().
|
private |
Definition at line 70 of file SpecsMaster.h.
Referenced by init(), masterDevID(), and setMasterDevID().
|
private |
Definition at line 69 of file SpecsMaster.h.
Referenced by init(), pciDevID(), and setPciDevID().
|
private |
Definition at line 74 of file SpecsMaster.h.
Referenced by init(), reset(), setSpeed(), specsMasterDevice(), and ~SpecsMaster().
|
private |
Definition at line 72 of file SpecsMaster.h.
Referenced by init(), SpecsMaster(), and ~SpecsMaster().
|
private |
Definition at line 71 of file SpecsMaster.h.
Referenced by reset(), setSpeed(), SpecsMaster(), and speed().
1.8.13