Skip to content

Inscoper::DriverDescription

DriverDescription base class. More...

#include <DriverDescription.h>

Inherited by Inscoper::ExternalDriverDescription, Inscoper::InscoperBoxDriverDescription

Public Functions

Name
DriverDescription() =default
Default constructor.
virtual ~DriverDescription() =default
Virtual destructor.
virtual Inscoper::EDriverType getDriverType() const =0
Get the driver type.
virtual bool isEqual(const DriverDescription & other) const
Checks whether this driver description is identical to another one.

Detailed Description

class Inscoper::DriverDescription;

DriverDescription base class.

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

This class serves as a base for specific driver descriptions. It provides a common interface for polymorphism.

Public Functions Documentation

function DriverDescription

DriverDescription() =default

Default constructor.

Initializes a new instance of the DriverDescription class.

function ~DriverDescription

virtual ~DriverDescription() =default

Virtual destructor.

function getDriverType

virtual Inscoper::EDriverType getDriverType() const =0

Get the driver type.

Return: The driver type

Reimplemented by: Inscoper::CustomDriverDescription::getDriverType, Inscoper::ExternalDriverDescription::getDriverType, Inscoper::InscoperBoxDriverDescription::getDriverType, Inscoper::MicroManagerDriverDescription::getDriverType

Retrieves the specific type of driver described by this object.

function isEqual

virtual bool isEqual(
    const DriverDescription & other
) const

Checks whether this driver description is identical to another one.

Parameters:

  • other The description to compare against

Return: True if the configurations are identical, false otherwise

Reimplemented by: Inscoper::CustomDriverDescription::isEqual, Inscoper::ExternalDriverDescription::isEqual, Inscoper::InscoperBoxDriverDescription::isEqual, Inscoper::MicroManagerDriverDescription::isEqual

This method determines if two driver descriptions represent the same configuration. The application uses this to avoid unnecessary driver restarts when the configuration is unchanged.


Updated on 2026-06-23 at 10:35:19 +0200