BotNavSim  v0.4.3
Mobile Robot Simulation
Sensor Class Referenceabstract

Abstract Sensor class for all sensor implementations to inherit from. More...

Inheritance diagram for Sensor:
Collaboration diagram for Sensor:

Public Member Functions

abstract void Enable (Robot.SensorData callback)
 Enable this instance and pass the reference to the Robot.SensorData callback function to be called when the sensor has new information to share. More...
 
abstract void Disable ()
 Disable this instance. More...
 

Detailed Description

Abstract Sensor class for all sensor implementations to inherit from.

Definition at line 7 of file Sensor.cs.

Member Function Documentation

abstract void Sensor.Disable ( )
pure virtual

Disable this instance.

Implemented in ParamSensor, and UltrasonicSensor.

Here is the caller graph for this function:

abstract void Sensor.Enable ( Robot.SensorData  callback)
pure virtual

Enable this instance and pass the reference to the Robot.SensorData callback function to be called when the sensor has new information to share.

Parameters
callbackCallback.

Implemented in ParamSensor, and UltrasonicSensor.

Here is the caller graph for this function:


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