API

Standard camera interface. More...

#include <string>
#include <unordered_map>
#include <mx/app/application.hpp>
#include "../MagAOXApp.hpp"
Include dependency graph for stdCamera.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  MagAOX::app::dev::cameraConfig
 A camera configuration. More...
 
class  MagAOX::app::dev::stdCamera< derivedT >
 MagAO-X standard camera interface. More...
 
struct  MagAOX::app::dev::stdCamera< derivedT >::roi
 

Namespaces

 MagAOX
 
 MagAOX::app
 
 MagAOX::app::dev
 

Macros

#define CAMCTRL_E_NOCONFIGS   (-10)
 

Typedefs

typedef std::unordered_map< std::string, cameraConfig > MagAOX::app::dev::cameraConfigMap
 

Functions

int MagAOX::app::dev::loadCameraConfig (cameraConfigMap &ccmap, mx::app::appConfigurator &config)
 Load the camera configurations contained in the app configuration into a map. More...
 

Detailed Description

Standard camera interface.

Author
Jared R. Males (jared.nosp@m.male.nosp@m.s@gma.nosp@m.il.c.nosp@m.om)

Definition in file stdCamera.hpp.


Class Documentation

◆ MagAOX::app::dev::cameraConfig

struct MagAOX::app::dev::cameraConfig

A camera configuration.

a.k.a. a mode

Definition at line 31 of file stdCamera.hpp.

Collaboration diagram for MagAOX::app::dev::cameraConfig:
Collaboration graph
Class Members
unsigned m_binningX
unsigned m_binningY
unsigned m_centerX
unsigned m_centerY
string m_configFile The file to use for this mode, e.g. an EDT configuration file.
unsigned m_digitalBinX
unsigned m_digitalBinY
float m_maxFPS
string m_serialCommand The command to send to the camera to place it in this mode.
unsigned m_sizeX
unsigned m_sizeY

◆ MagAOX::app::dev::stdCamera::roi

struct MagAOX::app::dev::stdCamera::roi

template<class derivedT>
struct MagAOX::app::dev::stdCamera< derivedT >::roi

Definition at line 412 of file stdCamera.hpp.

Collaboration diagram for MagAOX::app::dev::stdCamera< derivedT >::roi:
Collaboration graph
Class Members
int bin_x
int bin_y
int h
int w
float x
float y

Macro Definition Documentation

◆ CAMCTRL_E_NOCONFIGS

#define CAMCTRL_E_NOCONFIGS   (-10)

Definition at line 26 of file stdCamera.hpp.