IDS peak genericC++  v1.4.0
peak::core::EnvironmentInspector Class Referencefinal

Allows to inspect the environment the application is running in. More...

#include <peak/environment/peak_environment_inspector.hpp>

Public Member Functions

 EnvironmentInspector ()=delete
 
 ~EnvironmentInspector ()=delete
 
 EnvironmentInspector (const EnvironmentInspector &other)=delete
 
EnvironmentInspector & operator= (const EnvironmentInspector &other)=delete
 
 EnvironmentInspector (EnvironmentInspector &&other)=delete
 
EnvironmentInspector & operator= (EnvironmentInspector &&other)=delete
 

Static Public Member Functions

static std::vector< std::string > CollectCTIPaths ()
 Collects producer library paths found in the current environment. More...
 

Detailed Description

Allows to inspect the environment the application is running in.

Constructor & Destructor Documentation

◆ EnvironmentInspector() [1/3]

peak::core::EnvironmentInspector::EnvironmentInspector ( )
delete

◆ ~EnvironmentInspector()

peak::core::EnvironmentInspector::~EnvironmentInspector ( )
delete

◆ EnvironmentInspector() [2/3]

peak::core::EnvironmentInspector::EnvironmentInspector ( const EnvironmentInspector &  other)
delete

◆ EnvironmentInspector() [3/3]

peak::core::EnvironmentInspector::EnvironmentInspector ( EnvironmentInspector &&  other)
delete

Member Function Documentation

◆ CollectCTIPaths()

std::vector< std::string > peak::core::EnvironmentInspector::CollectCTIPaths ( )
inlinestatic

Collects producer library paths found in the current environment.

Select a *.cti file from this list of paths and use it with ProducerLibrary::Open().

Note
This function depends on the architecture your application is compiled for. This means you are getting the paths for the 32-bit producer libraries if your application is compiled for a 32-bit system and the paths for the 64-bit producer libraries if your application is compiled for a 64-bit system.
Returns
Producer library paths found in the current environment
Since
1.0
Exceptions
InternalErrorExceptionAn internal error has occurred.
NotFoundExceptionThe environment variable GENICAM_GENTL32_PATH / GENICAM_GENTL64_PATH was not found or was empty when scanning for environment ProducerLibraries.

◆ operator=() [1/2]

EnvironmentInspector& peak::core::EnvironmentInspector::operator= ( const EnvironmentInspector &  other)
delete

◆ operator=() [2/2]

EnvironmentInspector& peak::core::EnvironmentInspector::operator= ( EnvironmentInspector &&  other)
delete

The documentation for this class was generated from the following file: