ifw-fgf 2.0.0
 
Loading...
Searching...
No Matches
ifw::fgf::andor Namespace Reference

Classes

struct  AndorCtrlEnumKeyHash
 A custom hash function for AndorStatEnumKey, which supports hashing of variant-like types (e.g., std::variant). More...
 
struct  AndorStatEnumKeyHash
 
struct  CameraSetup
 
struct  CameraStatus
 
class  CommAdapter
 Handles communication and interaction with the Andor camera. More...
 
class  Config
 Handles configuration of the Andor FrameGrabber application. More...
 
struct  PublisherThreadConfig
 Thread-level tuning for the publisher. More...
 
struct  PublishFramePacket
 A packet carrying one frame's data ready for network send. More...
 
class  RtmsLlnetioPublisher
 RTMS Publisher. More...
 
struct  RtmsNetworkConfig
 RTMS network configuration (shared with CommAdapter). More...
 
struct  SetupParam
 The State struct. More...
 
struct  StatusParam
 The State struct. More...
 

Typedefs

using AndorCtrlEnumKey
 RTMS network configuration (defined in rtmsLlnetioPublisher.hpp)
 
using AndorStatEnumKey
 

Enumerations

enum  CameraType { UNKNOWN = 0 , BALOR = 1 , MARANA = 2 , SIM = 3 }
 
enum  RpcError : short { PARAM_SETUP_ERROR = -1 }
 

Functions

void CopyYaml (const YAML::Node &src, YAML::Node &dst)
 
YAML::Node MergeNodes (const YAML::Node &a, const YAML::Node &b)
 

Variables

const double CONNECT_TIMEOUT = 10.0
 
const double FRAME_REC_THR_SLEEP_TIME = 0.0005
 
const uint16_t MAX_NB_OF_RECEP_BUFFERS = 10
 
const uint16_t NB_OF_INPUT_BUFFERS = 5
 
const int32_t DEFAULT_PACKET_SIZE = 1500
 
const uint32_t STREAM_BYTES_PER_SECOND_MIN = 1000000
 
const uint32_t STREAM_BYTES_PER_SECOND_MAX = 248000000
 
const int TIMEOUTMS = 30000
 
const short RPC_SUCCESS = 0
 
const short RPC_ERROR = -1
 
const short FEATURE_ERROR = -5
 
const AT_64 ALIGNMENT = 16
 
constexpr const char * BALOR_TYPE = "Balor"
 
constexpr const char * MARANA_TYPE = "Marana"
 
constexpr const char * SIM_TYPE = "Andor SimCam"
 
constexpr const char * CAMERA_INTERFACE = "CoaXPress"
 
constexpr auto NODE_CAMERA = "Camera"
 
constexpr auto NODE_SERVER = "Server"
 
constexpr auto FEATURE_SENSOR_COOLING = "SensorCooling"
 
constexpr auto FEATURE_TEMPERATURE_CTRL = "TemperatureControl"
 
constexpr auto FEATURE_FAN_SPEED = "FanSpeed"
 
constexpr auto FEATURE_PIXEL_ENCODING = "PixelEncoding"
 
constexpr auto FEATURE_ELECTRONIC_SHUTTERING_MODE = "ElectronicShutteringMode"
 
constexpr auto FEATURE_GAIN_MODE = "GainMode"
 
constexpr auto FEATURE_METADATA_ENABLE = "MetadataEnable"
 
constexpr auto FEATURE_TRIGGER_MODE = "TriggerMode"
 
constexpr auto FEATURE_OVERLAP = "Overlap"
 
constexpr auto FEATURE_PIXEL_READOUT_RATE = "PixelReadoutRate"
 
constexpr auto FEATURE_AOI_HBIN = "Binx"
 
constexpr auto FEATURE_AOI_VBIN = "Biny"
 
constexpr auto FEATURE_AOI_WIDTH = "Width"
 
constexpr auto FEATURE_AOI_HEIGHT = "Height"
 
constexpr auto FEATURE_AOI_LEFT = "Offsetx"
 
constexpr auto FEATURE_AOI_TOP = "Offsety"
 
constexpr auto PUBLISHER_STAT_WINDOW_SIZE = 1000
 
constexpr auto PUBLISHER_QUEUE_CAPACITY = 8
 
constexpr auto CTRL_TEMPERATURE_SETPOINT_STR = "ctrl_temperature_setpoint"
 
constexpr auto CTRL_FAN_SPEED_STR = "ctrl_fan_speed"
 
constexpr auto CTRL_SENSOR_COOLING_STR = "ctrl_sensor_cooling"
 
constexpr auto CTRL_GAIN_MODE_STR = "ctrl_gain_mode"
 
constexpr auto CTRL_OVERLAP_STR = "ctrl_overlap"
 
constexpr auto CTRL_PIXEL_ENCODING_STR = "ctrl_pixel_encoding"
 
constexpr auto CTRL_PIXEL_READOUT_RATE_STR = "ctrl_pixel_readout_rate"
 
constexpr auto CTRL_ELECTRONIC_SHUTTERING_MODE_STR = "ctrl_electronic_shuttering_mode"
 
constexpr auto CTRL_TRIGGER_MODE_STR = "ctrl_trigger_mode"
 
constexpr auto STAT_STRIDE_STR = "stride"
 
constexpr auto STAT_OVERLAP_STR = "overlap"
 
constexpr auto STAT_SENSOR_COOLING_STR = "sensor_cooling"
 
constexpr auto STAT_SENSOR_TEMPERATURE_STR = "sensor_temperature"
 
constexpr auto STAT_TEMPERATURE_CTRL_STR = "temperature_control"
 
constexpr auto STAT_TEMPERATURE_STAT_STR = "temperature_status"
 
constexpr auto STAT_PIXEL_ENCODING_STR = "pixel_encoding"
 
constexpr auto STAT_PIXEL_READOUT_RATE_STR = "pixel_readout_rate"
 
constexpr auto STAT_PRE_AMP_GAIN_CTRL_STR = "pre_amp_gain_control"
 
constexpr auto STAT_SIMPLE_PRE_AMP_GAIN_CTRL_STR = "simple_pre_amp_gain_control"
 
constexpr auto STAT_CAMERA_STATUS_STR = "camera_status"
 
constexpr auto STAT_BIT_DEPTH_STR = "bit_depth"
 
constexpr auto STAT_ELECTRONIC_SHUTTERING_MODE_STR = "electronic_shuttering_mode"
 
constexpr auto STAT_CMD_ERROR_TEXT_STR = "cmd_error_text"
 
constexpr auto STAT_FAN_SPEED_STR = "fan_speed"
 
constexpr auto STAT_METADATA_ENABLE_STR = "metadata_enable"
 
constexpr auto STAT_TRIGGER_MODE_STR = "trigger_mode"
 

Typedef Documentation

◆ AndorCtrlEnumKey

Initial value:

RTMS network configuration (defined in rtmsLlnetioPublisher.hpp)

◆ AndorStatEnumKey

Enumeration Type Documentation

◆ CameraType

Enumerator
UNKNOWN 
BALOR 
MARANA 
SIM 

◆ RpcError

Enumerator
PARAM_SETUP_ERROR 

Function Documentation

◆ CopyYaml()

void ifw::fgf::andor::CopyYaml ( const YAML::Node & src,
YAML::Node & dst )

◆ MergeNodes()

YAML::Node ifw::fgf::andor::MergeNodes ( const YAML::Node & a,
const YAML::Node & b )

Variable Documentation

◆ ALIGNMENT

const AT_64 ifw::fgf::andor::ALIGNMENT = 16

◆ BALOR_TYPE

const char* ifw::fgf::andor::BALOR_TYPE = "Balor"
constexpr

◆ CAMERA_INTERFACE

const char* ifw::fgf::andor::CAMERA_INTERFACE = "CoaXPress"
constexpr

◆ CONNECT_TIMEOUT

const double ifw::fgf::andor::CONNECT_TIMEOUT = 10.0

◆ CTRL_ELECTRONIC_SHUTTERING_MODE_STR

auto ifw::fgf::andor::CTRL_ELECTRONIC_SHUTTERING_MODE_STR = "ctrl_electronic_shuttering_mode"
constexpr

◆ CTRL_FAN_SPEED_STR

auto ifw::fgf::andor::CTRL_FAN_SPEED_STR = "ctrl_fan_speed"
constexpr

◆ CTRL_GAIN_MODE_STR

auto ifw::fgf::andor::CTRL_GAIN_MODE_STR = "ctrl_gain_mode"
constexpr

◆ CTRL_OVERLAP_STR

auto ifw::fgf::andor::CTRL_OVERLAP_STR = "ctrl_overlap"
constexpr

◆ CTRL_PIXEL_ENCODING_STR

auto ifw::fgf::andor::CTRL_PIXEL_ENCODING_STR = "ctrl_pixel_encoding"
constexpr

◆ CTRL_PIXEL_READOUT_RATE_STR

auto ifw::fgf::andor::CTRL_PIXEL_READOUT_RATE_STR = "ctrl_pixel_readout_rate"
constexpr

◆ CTRL_SENSOR_COOLING_STR

auto ifw::fgf::andor::CTRL_SENSOR_COOLING_STR = "ctrl_sensor_cooling"
constexpr

◆ CTRL_TEMPERATURE_SETPOINT_STR

auto ifw::fgf::andor::CTRL_TEMPERATURE_SETPOINT_STR = "ctrl_temperature_setpoint"
constexpr

◆ CTRL_TRIGGER_MODE_STR

auto ifw::fgf::andor::CTRL_TRIGGER_MODE_STR = "ctrl_trigger_mode"
constexpr

◆ DEFAULT_PACKET_SIZE

const int32_t ifw::fgf::andor::DEFAULT_PACKET_SIZE = 1500

◆ FEATURE_AOI_HBIN

auto ifw::fgf::andor::FEATURE_AOI_HBIN = "Binx"
constexpr

◆ FEATURE_AOI_HEIGHT

auto ifw::fgf::andor::FEATURE_AOI_HEIGHT = "Height"
constexpr

◆ FEATURE_AOI_LEFT

auto ifw::fgf::andor::FEATURE_AOI_LEFT = "Offsetx"
constexpr

◆ FEATURE_AOI_TOP

auto ifw::fgf::andor::FEATURE_AOI_TOP = "Offsety"
constexpr

◆ FEATURE_AOI_VBIN

auto ifw::fgf::andor::FEATURE_AOI_VBIN = "Biny"
constexpr

◆ FEATURE_AOI_WIDTH

auto ifw::fgf::andor::FEATURE_AOI_WIDTH = "Width"
constexpr

◆ FEATURE_ELECTRONIC_SHUTTERING_MODE

auto ifw::fgf::andor::FEATURE_ELECTRONIC_SHUTTERING_MODE = "ElectronicShutteringMode"
constexpr

◆ FEATURE_ERROR

const short ifw::fgf::andor::FEATURE_ERROR = -5

◆ FEATURE_FAN_SPEED

auto ifw::fgf::andor::FEATURE_FAN_SPEED = "FanSpeed"
constexpr

◆ FEATURE_GAIN_MODE

auto ifw::fgf::andor::FEATURE_GAIN_MODE = "GainMode"
constexpr

◆ FEATURE_METADATA_ENABLE

auto ifw::fgf::andor::FEATURE_METADATA_ENABLE = "MetadataEnable"
constexpr

◆ FEATURE_OVERLAP

auto ifw::fgf::andor::FEATURE_OVERLAP = "Overlap"
constexpr

◆ FEATURE_PIXEL_ENCODING

auto ifw::fgf::andor::FEATURE_PIXEL_ENCODING = "PixelEncoding"
constexpr

◆ FEATURE_PIXEL_READOUT_RATE

auto ifw::fgf::andor::FEATURE_PIXEL_READOUT_RATE = "PixelReadoutRate"
constexpr

◆ FEATURE_SENSOR_COOLING

auto ifw::fgf::andor::FEATURE_SENSOR_COOLING = "SensorCooling"
constexpr

◆ FEATURE_TEMPERATURE_CTRL

auto ifw::fgf::andor::FEATURE_TEMPERATURE_CTRL = "TemperatureControl"
constexpr

◆ FEATURE_TRIGGER_MODE

auto ifw::fgf::andor::FEATURE_TRIGGER_MODE = "TriggerMode"
constexpr

◆ FRAME_REC_THR_SLEEP_TIME

const double ifw::fgf::andor::FRAME_REC_THR_SLEEP_TIME = 0.0005

◆ MARANA_TYPE

const char* ifw::fgf::andor::MARANA_TYPE = "Marana"
constexpr

◆ MAX_NB_OF_RECEP_BUFFERS

const uint16_t ifw::fgf::andor::MAX_NB_OF_RECEP_BUFFERS = 10

◆ NB_OF_INPUT_BUFFERS

const uint16_t ifw::fgf::andor::NB_OF_INPUT_BUFFERS = 5

◆ NODE_CAMERA

auto ifw::fgf::andor::NODE_CAMERA = "Camera"
constexpr

◆ NODE_SERVER

auto ifw::fgf::andor::NODE_SERVER = "Server"
constexpr

◆ PUBLISHER_QUEUE_CAPACITY

auto ifw::fgf::andor::PUBLISHER_QUEUE_CAPACITY = 8
constexpr

◆ PUBLISHER_STAT_WINDOW_SIZE

auto ifw::fgf::andor::PUBLISHER_STAT_WINDOW_SIZE = 1000
constexpr

◆ RPC_ERROR

const short ifw::fgf::andor::RPC_ERROR = -1

◆ RPC_SUCCESS

const short ifw::fgf::andor::RPC_SUCCESS = 0

◆ SIM_TYPE

const char* ifw::fgf::andor::SIM_TYPE = "Andor SimCam"
constexpr

◆ STAT_BIT_DEPTH_STR

auto ifw::fgf::andor::STAT_BIT_DEPTH_STR = "bit_depth"
constexpr

◆ STAT_CAMERA_STATUS_STR

auto ifw::fgf::andor::STAT_CAMERA_STATUS_STR = "camera_status"
constexpr

◆ STAT_CMD_ERROR_TEXT_STR

auto ifw::fgf::andor::STAT_CMD_ERROR_TEXT_STR = "cmd_error_text"
constexpr

◆ STAT_ELECTRONIC_SHUTTERING_MODE_STR

auto ifw::fgf::andor::STAT_ELECTRONIC_SHUTTERING_MODE_STR = "electronic_shuttering_mode"
constexpr

◆ STAT_FAN_SPEED_STR

auto ifw::fgf::andor::STAT_FAN_SPEED_STR = "fan_speed"
constexpr

◆ STAT_METADATA_ENABLE_STR

auto ifw::fgf::andor::STAT_METADATA_ENABLE_STR = "metadata_enable"
constexpr

◆ STAT_OVERLAP_STR

auto ifw::fgf::andor::STAT_OVERLAP_STR = "overlap"
constexpr

◆ STAT_PIXEL_ENCODING_STR

auto ifw::fgf::andor::STAT_PIXEL_ENCODING_STR = "pixel_encoding"
constexpr

◆ STAT_PIXEL_READOUT_RATE_STR

auto ifw::fgf::andor::STAT_PIXEL_READOUT_RATE_STR = "pixel_readout_rate"
constexpr

◆ STAT_PRE_AMP_GAIN_CTRL_STR

auto ifw::fgf::andor::STAT_PRE_AMP_GAIN_CTRL_STR = "pre_amp_gain_control"
constexpr

◆ STAT_SENSOR_COOLING_STR

auto ifw::fgf::andor::STAT_SENSOR_COOLING_STR = "sensor_cooling"
constexpr

◆ STAT_SENSOR_TEMPERATURE_STR

auto ifw::fgf::andor::STAT_SENSOR_TEMPERATURE_STR = "sensor_temperature"
constexpr

◆ STAT_SIMPLE_PRE_AMP_GAIN_CTRL_STR

auto ifw::fgf::andor::STAT_SIMPLE_PRE_AMP_GAIN_CTRL_STR = "simple_pre_amp_gain_control"
constexpr

◆ STAT_STRIDE_STR

auto ifw::fgf::andor::STAT_STRIDE_STR = "stride"
constexpr

◆ STAT_TEMPERATURE_CTRL_STR

auto ifw::fgf::andor::STAT_TEMPERATURE_CTRL_STR = "temperature_control"
constexpr

◆ STAT_TEMPERATURE_STAT_STR

auto ifw::fgf::andor::STAT_TEMPERATURE_STAT_STR = "temperature_status"
constexpr

◆ STAT_TRIGGER_MODE_STR

auto ifw::fgf::andor::STAT_TRIGGER_MODE_STR = "trigger_mode"
constexpr

◆ STREAM_BYTES_PER_SECOND_MAX

const uint32_t ifw::fgf::andor::STREAM_BYTES_PER_SECOND_MAX = 248000000

◆ STREAM_BYTES_PER_SECOND_MIN

const uint32_t ifw::fgf::andor::STREAM_BYTES_PER_SECOND_MIN = 1000000

◆ TIMEOUTMS

const int ifw::fgf::andor::TIMEOUTMS = 30000