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

Sensor Controller class. More...

#include <kmlSctBase.h>

Public Member Functions

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

Protected Attributes

TSctDAT dat
 sensor data More...
 
TSctGNL gnl
 controller generals More...
 
CCplBaseprotocol
 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.

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.

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.

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 files:


kni
Author(s): Martin Günther
autogenerated on Fri Jan 3 2020 04:01:17