Skip to content

InscoperAPI/API/Base/Config/InscoperBoxDriverConfig.h

Namespaces

Name
Inscoper
Inscoper namespace.

Classes

Name
class Inscoper::InscoperBoxDriverConfig
InscoperBoxDriverConfig class provides information for devices controlled by the device controller.

Source code

#ifndef INSCOPERBOXDRIVERCONFIG_H
#define INSCOPERBOXDRIVERCONFIG_H

#include <Base/Config/ConnectionConfig.h>
#include <Base/Config/DriverConfig.h>
#include <Global.h>

#include <vector>

namespace Inscoper {

class INSCOPER_EXPORT InscoperBoxDriverConfig : public DriverConfig {
public:
#ifndef SWIG
  InscoperBoxDriverConfig(InscoperBoxDriverConfig const &) = delete;
  InscoperBoxDriverConfig(InscoperBoxDriverConfig &&) = delete;
  InscoperBoxDriverConfig &operator=(InscoperBoxDriverConfig const &) = delete;
  InscoperBoxDriverConfig &operator=(InscoperBoxDriverConfig &&) = delete;
#endif

  InscoperBoxDriverConfig();

  Inscoper::EDriverType getDriverType() override final;

  unsigned int getHardwareId() const;

  void setHardwareId(unsigned int hardwareId);

  const std::vector<Inscoper::ConnectionConfigPtr> &getConnectionConfigList() const;

  void setConnectionConfigList(const std::vector<Inscoper::ConnectionConfigPtr> &connections);

  void addConnectionConfig(const Inscoper::ConnectionConfigPtr &connection);

private:
  unsigned int _hardwareId;

  std::vector<Inscoper::ConnectionConfigPtr> _connectionConfigList;
};

typedef std::shared_ptr<InscoperBoxDriverConfig> InscoperBoxDriverConfigPtr;

} // namespace Inscoper

#endif // INSCOPERBOXDRIVERCONFIG_H

Updated on 2026-09-03 at 12:14:17 +0200