ENLIGHTEN
Cross-platform desktop GUI for Wasatch Photonics spectrometers
Loading...
Searching...
No Matches
open_camera.cpp File Reference

This application demonstrates how to use the device manager to open a camera. More...

#include <cstddef>
#include <iostream>
#include <peak/peak.hpp>
Include dependency graph for open_camera.cpp:

Macros

#define VERSION   "1.1.2"
 

Functions

int main ()
 
void wait_for_enter ()
 

Detailed Description

This application demonstrates how to use the device manager to open a camera.

Author
IDS Imaging Development Systems GmbH
Date
2021-03-05
Since
1.0.0
Version
1.1.2

Copyright (C) 2019 - 2025, IDS Imaging Development Systems GmbH.

The information in this document is subject to change without notice and should not be construed as a commitment by IDS Imaging Development Systems GmbH. IDS Imaging Development Systems GmbH does not assume any responsibility for any errors that may appear in this document.

This document, or source code, is provided solely as an example of how to utilize IDS Imaging Development Systems GmbH software libraries in a sample application. IDS Imaging Development Systems GmbH does not assume any responsibility for the use or reliability of any portion of this document.

General permission to copy or modify is hereby granted.

Macro Definition Documentation

◆ VERSION

#define VERSION   "1.1.2"

Function Documentation

◆ main()

int main ( )

◆ wait_for_enter()

void wait_for_enter ( )

\bief Wait for enter function

The function waits for the user pressing the enter key.

This function is called from main() whenever the program exits, either in consequence of an error or after normal termination.