#include <GroundSens.h>

Public Member Functions | |
| virtual ResourcePlate | getPlate () const =0 |
| Gets the plate. | |
| GroundSens () | |
| Default constructor. | |
| ~GroundSens () | |
| Destructor. | |
| GroundSensPar * | par () |
| Gets a pointer to the parameters. | |
| bool | updatedScan (vector< int > &s) |
| Gets an ground updated scan. | |
| void | startScan (unsigned int num) |
| Start a continuous scan. | |
| void | stopScan () |
| Stop a continuous scan. | |
| bool | storedScan (Scan &s, Time timeout) |
| get the last stored scan, if a continuous scanning is in act the scan is updated | |
Protected Member Functions | |
| virtual vector< int > | _singleGroundScan ()=0 |
| Gets a single scan. | |
| virtual void | _startScan (unsigned int num)=0 |
| Starts a continuous scaninning. | |
| virtual void | _stopScan ()=0 |
| Stops a continuous scaninning. | |
Protected Attributes | |
| GroundSensPar * | _par |
| Scan | _scan |
| bool | on |
| MipResources::GroundSens::GroundSens | ( | ) |
Default constructor.
| MipResources::GroundSens::~GroundSens | ( | ) |
Destructor.
| virtual vector<int> MipResources::GroundSens::_singleGroundScan | ( | ) | [protected, pure virtual] |
| virtual void MipResources::GroundSens::_startScan | ( | unsigned int | num | ) | [protected, pure virtual] |
Starts a continuous scaninning.
| num | number of scan to perform, (0 means unbounded) |
Implemented in MipResources::TCRT5000Ground.
| virtual void MipResources::GroundSens::_stopScan | ( | ) | [protected, pure virtual] |
| virtual ResourcePlate MipResources::GroundSens::getPlate | ( | ) | const [pure virtual] |
Gets the plate.
Implements MipResources::Resource.
Implemented in MipResources::TCRT5000Ground.
| GroundSensPar * MipResources::GroundSens::par | ( | ) |
Gets a pointer to the parameters.
| bool MipResources::GroundSens::updatedScan | ( | vector< int > & | s | ) |
Gets an ground updated scan.
| [out] | &s | A scan in which the current scan is copied, if return is true. |
| void MipResources::GroundSens::startScan | ( | unsigned int | num | ) |
Start a continuous scan.
| [in] | num | Number of scan to perform, (0 means unbounded). |
| void MipResources::GroundSens::stopScan | ( | ) |
Stop a continuous scan.
get the last stored scan, if a continuous scanning is in act the scan is updated
| s | a scan in which the current scan is copied, if return is true | |
| timeout | timeout |
GroundSensPar* MipResources::GroundSens::_par [protected] |
parameters
Scan MipResources::GroundSens::_scan [protected] |
current scan
bool MipResources::GroundSens::on [protected] |
every inerithed class constructor must set this flag to true
1.5.6