Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  

SIGEL_Robot::SIG_Sensor Class Reference

This class is a framework for different types of sensors. More...

#include <SIG_Sensor.h>

Inheritance diagram for SIGEL_Robot::SIG_Sensor:

SIGEL_Robot::SIG_JointSensor List of all members.

Public Types

enum  SensorType { tJointSensor }

Public Methods

 SIG_Sensor (SIG_Robot *par, QString n, int nr)
 SIG_Sensor (SIG_Robot *par, QTextStream & tx)
virtual ~SIG_Sensor (void)
virtual SensorType getSensorType (void) const = 0
QString getName (void) const
int getNumber (void) const
virtual void writeToFileTransfer (QTextStream & tx)

Private Attributes

SIG_Robotparent
QString name
int number

Detailed Description

This class is a framework for different types of sensors.

Any sensor type class should be derived from this class.

Definition at line 14 of file SIG_Sensor.h.


Member Enumeration Documentation

enum SIGEL_Robot::SIG_Sensor::SensorType
 

Definition at line 16 of file SIG_Sensor.h.


Constructor & Destructor Documentation

SIGEL_Robot::SIG_Sensor::SIG_Sensor ( SIG_Robot * par,
QString n,
int nr )
 

Definition at line 5 of file SIG_Sensor.cpp.

SIGEL_Robot::SIG_Sensor::SIG_Sensor ( SIG_Robot * par,
QTextStream & tx )
 

Definition at line 9 of file SIG_Sensor.cpp.

SIGEL_Robot::SIG_Sensor::~SIG_Sensor ( void ) [virtual]
 

Definition at line 17 of file SIG_Sensor.cpp.


Member Function Documentation

QString SIGEL_Robot::SIG_Sensor::getName ( void ) const
 

Definition at line 22 of file SIG_Sensor.cpp.

int SIGEL_Robot::SIG_Sensor::getNumber ( void ) const
 

Definition at line 27 of file SIG_Sensor.cpp.

void SIGEL_Robot::SIG_Sensor::writeToFileTransfer ( QTextStream & tx ) [virtual]
 

Definition at line 32 of file SIG_Sensor.cpp.


Member Data Documentation

QString SIGEL_Robot::SIG_Sensor::name [private]
 

Definition at line 19 of file SIG_Sensor.h.

int SIGEL_Robot::SIG_Sensor::number [private]
 

Definition at line 20 of file SIG_Sensor.h.

SIG_Robot * SIGEL_Robot::SIG_Sensor::parent [private]
 

Definition at line 18 of file SIG_Sensor.h.


The documentation for this class was generated from the following files:
Generated at Mon Sep 3 01:32:56 2001 for PG 368 - SIGEL by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000