blob: 92f53a74b25c07b9bd0d93acebb36e379a0ce34e [file] [log] [blame]
#pragma once
namespace phosphor
{
namespace fan
{
namespace presence
{
class FanEnclosure;
class Sensor
{
public:
Sensor() = delete;
Sensor(const Sensor&) = delete;
Sensor(Sensor&&) = delete;
Sensor& operator=(const Sensor&) = delete;
Sensor& operator=(Sensor&&) = delete;
virtual ~Sensor() = default;
virtual bool isPresent() = 0;
protected:
};
} // namespace presence
} // namespace fan
} // namespace phosphor