12 namespace duds {
namespace hardware {
namespace interface {
15 const std::shared_ptr<DigitalPort> &port,
19 if (port && !port->exists(pin)) {
DigitalPin()=default
Constructs a DigitalPin object without a port or pin.
A pin required for the operation does not exist or is unavailable to the process. ...
boost::error_info< struct Info_PinId, unsigned int > PinErrorId
The pin global ID involved in the error.
boost::error_info< struct Info_DigitalPortAffected, const DigitalPort * > DigitalPortAffected
Added to exceptions thrown by DigitalPort objects.
unsigned int gid
Global pin ID.
A base class for classes that represent one or more pins on a single DigitalPort, but do not provide ...
#define DUDS_THROW_EXCEPTION(x)
Works like BOOST_THROW_EXCEPTION, but includes a stack trace if DUDS_ERRORS_VERBOSE is defined...