18 lines
280 B
C++
18 lines
280 B
C++
#pragma once
|
|
|
|
#include "Sensor.h"
|
|
|
|
namespace Passer {
|
|
namespace RoboidControl {
|
|
|
|
/// @brief A digital switch input
|
|
class Switch : public Sensor {
|
|
public:
|
|
/// @brief Default constructor
|
|
Switch();
|
|
|
|
virtual bool IsOn();
|
|
};
|
|
|
|
} // namespace RoboidControl
|
|
} // namespace Passer
|