12 namespace duds {
namespace hardware {
namespace interface {
15 const std::shared_ptr<DigitalPort> &port,
16 const std::vector<unsigned int> &pvec
23 std::vector<unsigned int>::const_iterator iter =
pinvec.cbegin();
24 for (; iter !=
pinvec.cend(); ++iter) {
25 if ((*iter != -1) && !port->exists(*iter)) {
35 const std::shared_ptr<DigitalPort> &
port,
36 std::vector<unsigned int> &&pvec
44 std::vector<unsigned int>::const_iterator iter =
pinvec.cbegin();
45 for (; iter !=
pinvec.cend(); ++iter) {
46 if ((*iter != -1) && !port->exists(*iter)) {
A required DigitalPort object was not supplied.
std::vector< unsigned int > pinvec
The port global pin IDs this object will represent.
move_impl move(unsigned int c, unsigned int r)
Display stream manipulator that moves the display cursor to the given location.
const std::shared_ptr< DigitalPort > & port() const
Returns the port that grants access to the pin(s) referenced by this object.
A pin required for the operation does not exist or is unavailable to the process. ...
DigitalPinSet()=default
Constructs DigitalPinSet object with nothing to represent.
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.
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...