Sensor Controller class. More...
#include <kmlSctBase.h>
Public Member Functions | |
const TSctDAT * | GetDAT () |
const TSctGNL * | GetGNL () |
bool | init (CKatBase *_own, const TSctDesc _sctDesc, CCplBase *protocol) |
void | recvDAT () |
receive data | |
virtual | ~CSctBase () |
Protected Attributes | |
TSctDAT | dat |
sensor data | |
TSctGNL | gnl |
controller generals | |
CCplBase * | protocol |
protocol interface | |
Friends | |
class | CKatBase |
Sensor Controller class.
By using this class you can get access to the sensor data; to do so you should (after initialization) call 'recvDat()' to updated the internal 'TSctDAT dat' structure; after the updated you can read out the values by using the 'GetDAT()' function, which will return a constant pointer to the internal 'dat' structure.
Definition at line 72 of file kmlSctBase.h.
virtual CSctBase::~CSctBase | ( | ) | [inline, virtual] |
Definition at line 88 of file kmlSctBase.h.
const TSctDAT* CSctBase::GetDAT | ( | ) | [inline] |
Definition at line 82 of file kmlSctBase.h.
const TSctGNL* CSctBase::GetGNL | ( | ) | [inline] |
Definition at line 81 of file kmlSctBase.h.
bool CSctBase::init | ( | CKatBase * | _own, |
const TSctDesc | _sctDesc, | ||
CCplBase * | protocol | ||
) |
Definition at line 16 of file kmlSctBase.cpp.
void CSctBase::recvDAT | ( | ) |
receive data
Definition at line 27 of file kmlSctBase.cpp.
friend class CKatBase [friend] |
Definition at line 74 of file kmlSctBase.h.
TSctDAT CSctBase::dat [protected] |
sensor data
Definition at line 78 of file kmlSctBase.h.
TSctGNL CSctBase::gnl [protected] |
controller generals
Definition at line 77 of file kmlSctBase.h.
CCplBase* CSctBase::protocol [protected] |
protocol interface
Definition at line 85 of file kmlSctBase.h.