InscoperAPI/API/Base/Device/SubDeviceId.h¶
Namespaces¶
| Name |
|---|
| Inscoper Inscoper namespace. |
Classes¶
| Name | |
|---|---|
| class | Inscoper::SubDeviceId SubDeviceId class uniquely identifies a sub-device. |
Source code¶
#ifndef SUBDEVICEID_H
#define SUBDEVICEID_H
#include <Global.h>
#include <string>
namespace Inscoper {
class INSCOPER_EXPORT SubDeviceId {
public:
SubDeviceId();
SubDeviceId(const std::string &deviceId, const std::string &subDeviceId);
~SubDeviceId();
const std::string &getDeviceId() const;
void setDeviceId(const std::string &deviceId);
const std::string &getSubDeviceId() const;
void setSubDeviceId(const std::string &subDeviceId);
const std::string &getName() const;
bool equals(const SubDeviceId &other) const;
private:
void updateName();
std::string _deviceId;
std::string _subDeviceId;
std::string _name;
};
} // namespace Inscoper
#endif // SUBDEVICEID_H
Updated on 2026-09-03 at 12:14:17 +0200