31 #include "../Units.hpp"
32 #include "DeviceBase.hpp"
43 typedef std::shared_ptr<Trigger> Shared;
52 Trigger(
const std::string &address);
66 virtual std::future<void>
arm()
const = 0;
73 virtual std::future<void>
disarm()
const = 0;
80 virtual std::future<bool>
isArmed()
const = 0;
85 virtual std::future<void>
trig()
const = 0;
DeviceType type() const override
Get device type.
Trigger(const std::string &address)
Construct a new Trigger Device at given location on given platform.
virtual std::future< void > disarm() const =0
disarm the trigger
virtual std::future< void > trig() const =0
soft-trigger the trigger
virtual std::future< void > arm() const =0
arm the trigger
virtual std::future< bool > isArmed() const =0
check if trigger is armed
DeviceType
List of possible device types supported.
main motion-lib namespace