|
Cat
|
#include <DCU.h>
Public Types | |
| typedef unsigned long | U32 |
| typedef unsigned short | U16 |
| typedef unsigned char | U8 |
Public Types inherited from Attrib | |
| enum | Attribut { UNDEFINED, PASSIVE, ACTIVE, INTERFACE, IO, IODATA, ELEMENT, HARDWARE, PROCESSUS, SOFTWARE } |
Public Member Functions | |
| DCU () | |
| Constructor. More... | |
| ~DCU () | |
| Destructor. More... | |
| virtual bool | cmdline (std::vector< std::string >) |
| bool | acquire (U8, U16 &, double &) |
| void | reset () |
| void | update () |
| void | help () |
| StatusCode | init () |
| bool | setLIR () |
| bool | setHIR () |
| bool | readMode (U8 &mode) |
| bool | convert (std::string &converted_value, U16 input_value, U8 channel) |
| U8 | address () |
| void | setAddress (U8 address) |
| U8 | outputSelect () |
| void | setOutputSelect (U8 outputSelect) |
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 | |
| U8 | m_address |
| U8 | m_outputSelect |
Additional Inherited Members | |
Protected Attributes inherited from Element | |
| Hierarchy * | m_connection |
Protected Attributes inherited from Attrib | |
| std::string | m_attribString [10] |
| DCU::DCU | ( | ) |
Constructor.
Definition at line 27 of file DCU.cpp.
References Object::debug(), m_outputSelect, Object::setId(), and Object::setType().
Definition at line 98 of file DCU.cpp.
References address(), itos(), Object::verbose(), and Object::warning().
|
inline |
Definition at line 50 of file DCU.h.
References m_address.
Referenced by acquire(), init(), readMode(), reset(), setAddress(), setHIR(), and setLIR().
|
virtual |
Definition at line 288 of file DCU.cpp.
References readMode(), and Object::warning().
Referenced by help().
|
inlinevirtual |
|
virtual |
init the component
Implements Element.
Definition at line 161 of file DCU.cpp.
References address(), StatusCode::FAILURE, StatusCode::SUCCESS, Object::verbose(), and Object::warning().
Referenced by help().
|
inline |
| bool DCU::readMode | ( | U8 & | mode | ) |
Definition at line 250 of file DCU.cpp.
References address(), Object::msgSvc(), Object::verbose(), and Object::warning().
Referenced by convert(), and help().
|
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 134 of file DCU.cpp.
References address(), Object::verbose(), and Object::warning().
|
inline |
Definition at line 51 of file DCU.h.
References address(), and m_address.
Referenced by SpecsMezzanine::SpecsMezzanine().
| bool DCU::setHIR | ( | ) |
Definition at line 220 of file DCU.cpp.
References address(), Object::msgSvc(), Object::verbose(), and Object::warning().
Referenced by help().
| bool DCU::setLIR | ( | ) |
Definition at line 190 of file DCU.cpp.
References address(), Object::msgSvc(), Object::verbose(), and Object::warning().
Referenced by help().
|
inline |
Definition at line 54 of file DCU.h.
References m_outputSelect, and outputSelect().
Referenced by SpecsMezzanine::SpecsMezzanine().
|
inlinevirtual |
|
private |
Definition at line 59 of file DCU.h.
Referenced by address(), and setAddress().
|
private |
Definition at line 60 of file DCU.h.
Referenced by DCU(), outputSelect(), and setOutputSelect().
1.8.13