Skip to content

Inscoper::CustomDriverConfig

CustomDriverConfig class provides information for custom devices. More...

#include <CustomDriverConfig.h>

Inherits from Inscoper::DriverConfig

Public Functions

Name
CustomDriverConfig()
Default constructor.
const std::string & getDriverName() const
Get the driver name.
void setDriverName(const std::string & driverName)
Set the driver name.
const std::string & getIdentifier() const
Get the identifier.
void setIdentifier(const std::string & identifier)
Set the identifier.
unsigned int getIndex() const
Get the index.
void setIndex(unsigned int index)
Set the index.

Additional inherited members

Public Functions inherited from Inscoper::DriverConfig

Name
DriverConfig() =default
virtual ~DriverConfig() =default

Detailed Description

class Inscoper::CustomDriverConfig;

CustomDriverConfig class provides information for custom devices.

Note: This class is non-copyable and non-movable.

This class holds configuration details specific to custom drivers (name, identifier).

Public Functions Documentation

function CustomDriverConfig

CustomDriverConfig()

Default constructor.

Initializes a new instance of the CustomDriverConfig class.

function getDriverName

const std::string & getDriverName() const

Get the driver name.

Return: The driver name

Retrieves the name of the custom driver.

function setDriverName

void setDriverName(
    const std::string & driverName
)

Set the driver name.

Parameters:

  • driverName : The driver name

Sets the name of the custom driver.

function getIdentifier

const std::string & getIdentifier() const

Get the identifier.

Return: The identifier

Retrieves the unique identifier (often the serial number) for the custom driver instance.

function setIdentifier

void setIdentifier(
    const std::string & identifier
)

Set the identifier.

Parameters:

  • identifier : The identifier

Sets the unique identifier (often the serial number) for the custom driver instance.

function getIndex

unsigned int getIndex() const

Get the index.

Return: The index

Retrieves the index associated with this driver configuration.

function setIndex

void setIndex(
    unsigned int index
)

Set the index.

Parameters:

  • index : The index

Sets the index associated with this driver configuration.


Updated on 2026-04-02 at 10:55:35 +0200