InscoperAPI/API/Base/Description/InscoperBoxDriverDescription.h¶
Namespaces¶
| Name |
|---|
| Inscoper Inscoper namespace. |
Classes¶
| Name | |
|---|---|
| class | Inscoper::InscoperBoxDriverDescription The InscoperBoxDriverDescription class provides information for devices supported by the device controller. |
Source code¶
#ifndef INSCOPERBOXDRIVERDESCRIPTION_H
#define INSCOPERBOXDRIVERDESCRIPTION_H
#include <Base/Description/ConnectionDescription.h>
#include <Base/Description/DriverDescription.h>
#include <Global.h>
#include <vector>
namespace Inscoper {
class INSCOPER_EXPORT InscoperBoxDriverDescription : public DriverDescription {
public:
#ifndef SWIG
InscoperBoxDriverDescription(InscoperBoxDriverDescription const &) = delete;
InscoperBoxDriverDescription(InscoperBoxDriverDescription &&) = delete;
InscoperBoxDriverDescription &operator=(InscoperBoxDriverDescription const &) = delete;
InscoperBoxDriverDescription &operator=(InscoperBoxDriverDescription &&) = delete;
#endif
InscoperBoxDriverDescription();
Inscoper::EDriverType getDriverType() const override;
bool isEqual(const DriverDescription &other) const override;
unsigned int getHardwareId() const;
void setHardwareId(unsigned int hardwareId);
const std::string &getProjectName() const;
void setProjectName(const std::string &projectName);
const std::string &getFunctionProjectName() const;
void setFunctionProjectName(const std::string &functionProjectName);
unsigned int getCrc32() const;
void setCrc32(unsigned int crc32);
void addConnectionDescription(const Inscoper::ConnectionDescriptionPtr &connectionDescription);
void setConnectionDescriptionList(const std::vector<Inscoper::ConnectionDescriptionPtr> &connectionDescriptionList);
const std::vector<Inscoper::ConnectionDescriptionPtr> &getConnectionDescriptionList() const;
Inscoper::ConnectionDescriptionPtr getConnectionDescription(unsigned short tag);
private:
unsigned int _hardwareId;
std::string _projectName;
std::string _functionProjectName;
unsigned int _crc32;
std::vector<Inscoper::ConnectionDescriptionPtr> _connectionDescriptionList;
};
typedef std::shared_ptr<InscoperBoxDriverDescription> InscoperBoxDriverDescriptionPtr;
} // namespace Inscoper
#endif // INSCOPERBOXDRIVERDESCRIPTION_H
Updated on 2026-09-03 at 12:14:17 +0200