Impact Acquire SDK C++

Category that contains the source control features. More...

#include <mvIMPACT_acquire_GenICam.h>

Public Member Functions

 SourceControl (mvIMPACT::acquire::Device *pDev, const std::string &settingName="Base")
 Constructs a new mvIMPACT::acquire::GenICam::SourceControl object.
 

Public Attributes

PropertyI64 sourceCount
 An integer property. Controls or returns the number of sources supported by the device.
 
PropertyI64 sourceIDValue
 An integer property. Returns a unique Identifier value that correspond to the selected Source.
 
PropertyI64 sourceSelector
 An enumerated integer property. Selects the source to control.
 

Detailed Description

Category that contains the source control features.

A category that contains the source control features.

Constructor & Destructor Documentation

◆ SourceControl()

SourceControl ( mvIMPACT::acquire::Device * pDev,
const std::string & settingName = "Base" )
inlineexplicit

Constructs a new mvIMPACT::acquire::GenICam::SourceControl object.

Parameters
[in]pDevA pointer to a mvIMPACT::acquire::Device object obtained from a mvIMPACT::acquire::DeviceManager object.
[in]settingNameThe name of the driver internal setting to access with this instance. A list of valid setting names can be obtained by a call to mvIMPACT::acquire::FunctionInterface::getAvailableSettings, new settings can be created with the function mvIMPACT::acquire::FunctionInterface::createSetting

Member Data Documentation

◆ sourceCount

PropertyI64 sourceCount

An integer property. Controls or returns the number of sources supported by the device.

Controls or returns the number of sources supported by the device.

◆ sourceIDValue

PropertyI64 sourceIDValue

An integer property. Returns a unique Identifier value that correspond to the selected Source.

Returns a unique Identifier value that correspond to the selected Source.

◆ sourceSelector

PropertyI64 sourceSelector

An enumerated integer property. Selects the source to control.

Selects the source to control.

The following string values might be valid for this feature:

  • All (Display string: 'All'): Selects all the data sources.
  • Device-specific (Display string: 'Device-specific')
  • Source0 (Display string: 'Source 0'): Selects the data source 0.
  • Source1 (Display string: 'Source 1'): Selects the data source 1.
  • Source2 (Display string: 'Source 2'): Selects the data source 2.
Note
Depending on the device some of these values might not be supported and especially when working with third party devices there might be custom values which are not listed here. To get a complete and reliable list of supported values at runtime an application should therefore call mvIMPACT::acquire::EnumPropertyI::getTranslationDictStrings() or one of the other functions dealing with translation dictionaries for enumerated properties.