Skip to content

InscoperAPI/API/Base/Config/CustomDriverConfig.h

Namespaces

Name
Inscoper
Inscoper namespace.

Classes

Name
class Inscoper::CustomDriverConfig
CustomDriverConfig class provides information for custom devices.

Source code

#ifndef CUSTOMDRIVERCONFIG_H
#define CUSTOMDRIVERCONFIG_H

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

#include <memory>
#include <string>

namespace Inscoper {

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

  CustomDriverConfig();

  Inscoper::EDriverType getDriverType() override final;

  const std::string &getDriverName() const;

  void setDriverName(const std::string &driverName);

  const std::string &getIdentifier() const;

  void setIdentifier(const std::string &identifier);

  unsigned int getIndex() const;

  void setIndex(unsigned int index);

private:
  std::string _driverName;

  std::string _identifier;
  unsigned int _index;
};

typedef std::shared_ptr<CustomDriverConfig> CustomDriverConfigPtr;

} // namespace Inscoper

#endif // CUSTOMDRIVERCONFIG_H

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