KatanaNativeInterface  $VERSION$
Public Member Functions | Protected Attributes | Friends
CSctBase Class Reference

Sensor Controller class. More...

#include <kmlSctBase.h>

Collaboration diagram for CSctBase:
Collaboration graph
[legend]

List of all members.

Public Member Functions

const TSctGNLGetGNL ()
const TSctDATGetDAT ()
virtual ~CSctBase ()
bool init (CKatBase *_own, const TSctDesc _sctDesc, CCplBase *protocol)
void recvDAT ()
 receive data

Protected Attributes

TSctGNL gnl
 controller generals
TSctDAT dat
 sensor data
CCplBaseprotocol
 protocol interface

Friends

class CKatBase

Detailed Description

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.


Constructor & Destructor Documentation

virtual CSctBase::~CSctBase ( ) [inline, virtual]

Definition at line 88 of file kmlSctBase.h.


Member Function Documentation

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.

References CKatBase::gnl.

bool CSctBase::init ( CKatBase _own,
const TSctDesc  _sctDesc,
CCplBase protocol 
)

receive data


Friends And Related Function Documentation

friend class CKatBase [friend]

Definition at line 74 of file kmlSctBase.h.


Member Data Documentation

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.

protocol interface

Definition at line 85 of file kmlSctBase.h.


The documentation for this class was generated from the following file: