Cat
|
#include <inc/SpecsGlue.h>
Public Member Functions | |
SpecsGlue () | |
Standard constructor. More... | |
virtual | ~SpecsGlue () |
Standard Destructor. More... | |
void | help () |
bool | led () |
int | date () |
void | setLed (bool) |
void | setI2cClkMode (int) |
int | i2cClkMode () |
![]() | |
SpecsSlave () | |
~SpecsSlave () | |
void | addI2c (Hierarchy *) |
void | setAddress (unsigned char) |
SPECSSLAVE * | specsSlaveDevice () |
bool | detect () |
StatusCode | init () |
void | recursiveInitCommunications () |
void | resetInternal () |
void | reset () |
![]() | |
SpecsInterface () | |
virtual | ~SpecsInterface () |
virtual void | update () |
void | setAddress (unsigned char) |
unsigned char | address () |
void | setOutputSelect (unsigned char) |
unsigned char | outputSelect () |
virtual SpecsSlave * | specsSlave () |
virtual SpecsMaster * | specsMaster () |
virtual SPECSMASTER * | specsMasterDevice () |
virtual StatusCode | read (IOdata *io) |
virtual StatusCode | write (IOdata *io) |
bool | specsWriteI2c (unsigned char address, unsigned char nData, U8 *data) |
bool | specsWriteI2c (unsigned char address, std::vector< U8 > data) |
bool | specsReadI2c (unsigned char address, unsigned char nOctects, U8 *i2cWords) |
bool | specsReadI2c (unsigned char address, std::vector< unsigned char > &specsWords) |
bool | specsWriteI2c (unsigned char address, unsigned char subAddress, unsigned char nData, U8 *data) |
bool | specsWriteI2c (unsigned char address, unsigned char outputSel, unsigned char subAddress, unsigned char nData, U8 *data) |
bool | specsReadI2c (unsigned char address, unsigned char subAddress, unsigned char nOctets, U8 *i2cWords) |
bool | specsReadI2c (unsigned char address, unsigned char outputSel, unsigned char subAddress, unsigned char nOctets, U8 *i2cWords) |
bool | specsWriteParallel (unsigned char address, unsigned short data) |
bool | specsReadParallel (unsigned char address, U16 &data) |
bool | specsWriteRegister (unsigned char, unsigned short) |
bool | specsReadRegister (unsigned char, U16 &) |
![]() | |
Interface () | |
Standard constructor. More... | |
virtual | ~Interface () |
Destructor. More... | |
![]() | |
Element () | |
Standard constructor. More... | |
virtual | ~Element () |
Destructor. More... | |
void | recursiveInitElement () |
void | recursiveInitCommunications () |
StatusCode | setConnection (Hierarchy *) |
Hierarchy * | connection () |
![]() | |
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 () |
![]() | |
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 () |
![]() | |
Attrib () | |
Standard constructor. More... | |
virtual | ~Attrib () |
Destructor. More... | |
bool | is (int attribut) |
void | add (int attribut) |
void | remove (int attribut) |
std::string | attributs () |
Additional Inherited Members | |
![]() | |
enum | Attribut { UNDEFINED, PASSIVE, ACTIVE, INTERFACE, IO, IODATA, ELEMENT, HARDWARE, PROCESSUS, SOFTWARE } |
![]() | |
SpecsI2c * | i2c |
![]() | |
unsigned char | m_address |
unsigned char | m_outputSelect |
![]() | |
Hierarchy * | m_connection |
![]() | |
std::string | m_attribString [10] |
Definition at line 15 of file SpecsGlue.h.
SpecsGlue::SpecsGlue | ( | ) |
Standard constructor.
Definition at line 21 of file SpecsGlue.cpp.
References SpecsSlave::setAddress(), Object::setName(), and Object::setType().
|
virtual |
int SpecsGlue::date | ( | ) |
Get the Specs Slave Date
Definition at line 158 of file SpecsGlue.cpp.
References SpecsInterface::specsReadRegister(), and Object::warning().
|
virtual |
Help message for the Specs Slaves
Reimplemented from SpecsInterface.
Definition at line 143 of file SpecsGlue.cpp.
References Object::info().
int SpecsGlue::i2cClkMode | ( | ) |
Definition at line 241 of file SpecsGlue.cpp.
References Object::debug(), SpecsInterface::specsReadRegister(), and Object::warning().
bool SpecsGlue::led | ( | ) |
Get the state of the LEDs controlled by the Specs Slave
Definition at line 197 of file SpecsGlue.cpp.
References Object::debug(), SpecsInterface::specsReadRegister(), and Object::warning().
void SpecsGlue::setI2cClkMode | ( | int | mode | ) |
Definition at line 217 of file SpecsGlue.cpp.
References Object::debug(), SpecsInterface::specsReadRegister(), SpecsInterface::specsWriteRegister(), and Object::warning().
void SpecsGlue::setLed | ( | bool | state | ) |
Set the state of the LEDs controlled by the Specs Slave
Definition at line 174 of file SpecsGlue.cpp.
References Object::debug(), SpecsInterface::specsReadRegister(), and SpecsInterface::specsWriteRegister().