KatanaNativeInterface  $VERSION$
Public Member Functions | Protected Attributes | Friends | List of all members
CSctBase Class Reference

Sensor Controller class. More...

#include <kmlSctBase.h>

Collaboration diagram for CSctBase:
Collaboration graph

Public Member Functions

const TSctGNL * GetGNL ()
 
const TSctDAT * GetDAT ()
 
virtual ~CSctBase ()
 
bool init (CKatBase *_own, const TSctDesc _sctDesc, CCplBase *protocol)
 
void recvDAT ()
 receive data More...
 

Protected Attributes

TSctGNL gnl
 controller generals More...
 
TSctDAT dat
 sensor data More...
 
CCplBase * protocol
 protocol interface More...
 

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 ( )
inlinevirtual

Definition at line 88 of file kmlSctBase.h.

References CKatBase::init().

Here is the call graph for this function:

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 
)
void CSctBase::recvDAT ( )

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.

CCplBase* CSctBase::protocol
protected

protocol interface

Definition at line 85 of file kmlSctBase.h.


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