RoboidControl
Loading...
Searching...
No Matches
d:/PlatformIO/RoboidControl/Switch.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
Sensor.h
"
4
5
namespace
Passer
{
6
namespace
RoboidControl {
7
9
class
Switch
:
public
Sensor
{
10
public
:
12
Switch
();
13
16
virtual
bool
IsOn
();
17
18
virtual
bool
IsOff
();
19
};
20
21
}
// namespace RoboidControl
22
}
// namespace Passer
Sensor.h
Passer::RoboidControl::Sensor
A sensor is a thing which can perform measurements in the environment.
Definition
Sensor.h:9
Passer::RoboidControl::Switch
A digital switch input.
Definition
Switch.h:9
Passer::RoboidControl::Switch::IsOn
virtual bool IsOn()
Test of the switch is on.
Definition
Switch.cpp:5
Passer::RoboidControl::Switch::Switch
Switch()
Default constructor.
Definition
Switch.cpp:3
Passer::RoboidControl::Switch::IsOff
virtual bool IsOff()
Definition
Switch.cpp:7
Passer
Definition
AbsoluteEncoder.h:5
Generated by
1.9.8