44 type(deviceType),id(deviceID),description(description){}
59 return "[" + type +
"]:" + id;
63 return (type == other.
type) && (
id == other.
id);
67 return type.size() &&
id.size();
74 return s <<
"FoundDevice(" << d.
type <<
"," << d.
id <<
"," << d.
description <<
")";
undocument this line if you encounter any issues!
Definition: Any.h:37
std::string type
type of the device (e.g. dc, pwc, sr or dc800)
Definition: GrabberDeviceDescription.h:50
bool isEmpty()
Definition: GrabberDeviceDescription.h:66
defines and explains an available grabber device
Definition: GrabberDeviceDescription.h:41
#define ICLIO_API
Definition: CompatMacros.h:176
std::string name() const
Definition: GrabberDeviceDescription.h:58
std::string id
ID of the device (e.g. 0 or 1)
Definition: GrabberDeviceDescription.h:53
std::string description
additional description of the device (obtained by calling getUniqueID)
Definition: GrabberDeviceDescription.h:56
bool equals(const GrabberDeviceDescription other)
Definition: GrabberDeviceDescription.h:62
std::ostream & operator<<(std::ostream &stream, const FourCC &fourCC)
overloaded ostream operator for type fourCC
Definition: FourCC.h:97
GrabberDeviceDescription(const std::string &deviceType, const std::string &deviceID, const std::string &description)
Constructor.
Definition: GrabberDeviceDescription.h:43
GrabberDeviceDescription()
Empty constructor.
Definition: GrabberDeviceDescription.h:47