ifw-fcf 8.0.2
 
Loading...
Searching...
No Matches
ifw::fcf::devmgr::shutterptp Namespace Reference

ShutterPtp class header file. More...

Classes

class  ShutterPtp
 The ShutterPtp class. More...
 
struct  ShutterPtpControllerData
 The ShutterPtpControllerData struct. More...
 
class  ShutterPtpLcsIf
 ShutterPtp Local Control System (LCS) Interface class. More...
 

Enumerations

enum  {
  RPC_SUCCESS = 0 , RPC_ERR_NOT_OP = -1 , RPC_ERR_NOT_OP_READY = -2 , RPC_ERR_NOT_OP_NOTREADY = -3 ,
  RPC_ERR_STILL_OPENNING = -4 , RPC_ERR_STILL_CLOSING = -5 , RPC_ERR_LOCAL = -6 , RPC_ERR_TIME_IN_PAST = -7 ,
  RPC_ERR_CMD_NOT_IMPL = -8
}
 

Functions

 REGISTER_DEVICE (ShutterPtp)
 

Variables

constexpr auto LOGGER_NAME = "shutterptp"
 
constexpr auto RPC_OPEN_AT = "rpcOpenAt"
 
constexpr auto CI_ACTUAL_EXPO_TIME = "actual_expo_time"
 
constexpr auto CI_TIME_BEFORE_OPEN = "time_before_open"
 
constexpr auto CI_TIME_EXPO_LEFT = "time_expo_left"
 
constexpr short SUBSTATE_OP_ARMED = 216
 
constexpr auto SUBSTATE_OP_ARMED_STR = "Armed"
 
constexpr unsigned int STAT_ACTUAL_EXPO_TIME = 10
 
constexpr unsigned int STAT_TIME_BEFORE_OPEN = 11
 
constexpr unsigned int STAT_TIME_EXPO_LEFT = 12
 
const std::unordered_map< short, std::string > SUBSTATE_MAP
 
const std::unordered_map< short, std::string > RPC_ERRORS
 

Detailed Description

ShutterPtp class header file.

ShutterPtpLcsIf class source file.

ShutterPtp class source file.

ShutterPtpRpcErrors header file.

ShutterPtpLcsIf class header file.

ShutterPtpConfig constants header file.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
RPC_SUCCESS 
RPC_ERR_NOT_OP 
RPC_ERR_NOT_OP_READY 
RPC_ERR_NOT_OP_NOTREADY 
RPC_ERR_STILL_OPENNING 
RPC_ERR_STILL_CLOSING 
RPC_ERR_LOCAL 
RPC_ERR_TIME_IN_PAST 
RPC_ERR_CMD_NOT_IMPL 

Function Documentation

◆ REGISTER_DEVICE()

ifw::fcf::devmgr::shutterptp::REGISTER_DEVICE ( ShutterPtp )

Variable Documentation

◆ CI_ACTUAL_EXPO_TIME

auto ifw::fcf::devmgr::shutterptp::CI_ACTUAL_EXPO_TIME = "actual_expo_time"
constexpr

◆ CI_TIME_BEFORE_OPEN

auto ifw::fcf::devmgr::shutterptp::CI_TIME_BEFORE_OPEN = "time_before_open"
constexpr

◆ CI_TIME_EXPO_LEFT

auto ifw::fcf::devmgr::shutterptp::CI_TIME_EXPO_LEFT = "time_expo_left"
constexpr

◆ LOGGER_NAME

auto ifw::fcf::devmgr::shutterptp::LOGGER_NAME = "shutterptp"
constexpr

◆ RPC_ERRORS

const std::unordered_map<short, std::string> ifw::fcf::devmgr::shutterptp::RPC_ERRORS
Initial value:
= {
{RPC_ERR_NOT_OP, "Cannot disable shutter. Not in OP state"},
{RPC_ERR_NOT_OP_READY, "Cannot enable shutter. Not in READY or FAILURE."},
{RPC_ERR_NOT_OP_NOTREADY, "Cannot init shutter. Not in NOTREADY or FAILURE."},
{RPC_ERR_STILL_OPENNING, "Not allowed to close the shutter while it is still opening"},
{RPC_ERR_STILL_CLOSING, "Not allowed to open the shutter while it is still closing"},
{RPC_ERR_LOCAL, "RPC calls are not allowed in Local mode"},
{RPC_ERR_TIME_IN_PAST, "OpenAt start time is in the past"},
{RPC_ERR_CMD_NOT_IMPL, "Open command not supported !"}
}
@ RPC_ERR_STILL_OPENNING
Definition shutterptpRpcErrors.hpp:21
@ RPC_ERR_LOCAL
Definition shutterptpRpcErrors.hpp:23
@ RPC_ERR_STILL_CLOSING
Definition shutterptpRpcErrors.hpp:22
@ RPC_ERR_TIME_IN_PAST
Definition shutterptpRpcErrors.hpp:24
@ RPC_ERR_CMD_NOT_IMPL
Definition shutterptpRpcErrors.hpp:25
@ RPC_ERR_NOT_OP
Definition shutterptpRpcErrors.hpp:18
@ RPC_ERR_NOT_OP_NOTREADY
Definition shutterptpRpcErrors.hpp:20
@ RPC_ERR_NOT_OP_READY
Definition shutterptpRpcErrors.hpp:19

◆ RPC_OPEN_AT

auto ifw::fcf::devmgr::shutterptp::RPC_OPEN_AT = "rpcOpenAt"
constexpr

◆ STAT_ACTUAL_EXPO_TIME

unsigned int ifw::fcf::devmgr::shutterptp::STAT_ACTUAL_EXPO_TIME = 10
constexpr

◆ STAT_TIME_BEFORE_OPEN

unsigned int ifw::fcf::devmgr::shutterptp::STAT_TIME_BEFORE_OPEN = 11
constexpr

◆ STAT_TIME_EXPO_LEFT

unsigned int ifw::fcf::devmgr::shutterptp::STAT_TIME_EXPO_LEFT = 12
constexpr

◆ SUBSTATE_MAP

const std::unordered_map<short, std::string> ifw::fcf::devmgr::shutterptp::SUBSTATE_MAP
Initial value:
= {
}
constexpr int SUBSTATE_ERROR
Definition deviceConfig.hpp:97
constexpr int SUBSTATE_OP_DISABLING
Definition deviceConfig.hpp:104
constexpr auto SUBSTATE_INITIALISING_STR
Definition deviceConfig.hpp:100
constexpr auto SUBSTATE_ERROR_STR
Definition deviceConfig.hpp:102
constexpr int SUBSTATE_INITIALISING
Definition deviceConfig.hpp:96
constexpr auto SUBSTATE_NOTREADY_STR
Definition deviceConfig.hpp:99
constexpr auto SUBSTATE_OP_DISABLING_STR
Definition deviceConfig.hpp:107
constexpr int SUBSTATE_OP_ERROR
Definition deviceConfig.hpp:105
constexpr int SUBSTATE_NOTREADY
Definition deviceConfig.hpp:94
constexpr auto SUBSTATE_OP_ERROR_STR
Definition deviceConfig.hpp:108
constexpr short SUBSTATE_OP_CLOSE
Definition shutterConfig.hpp:54
constexpr short SUBSTATE_READY_CLOSE
Definition shutterConfig.hpp:52
constexpr auto SUBSTATE_READY_OPEN_STR
Definition shutterConfig.hpp:60
constexpr short SUBSTATE_OP_OPENING
Definition shutterConfig.hpp:57
constexpr short SUBSTATE_OP_CLOSING
Definition shutterConfig.hpp:55
constexpr auto SUBSTATE_OP_OPENING_STR
Definition shutterConfig.hpp:64
constexpr auto SUBSTATE_OP_CLOSING_STR
Definition shutterConfig.hpp:62
constexpr auto SUBSTATE_OP_OPEN_STR
Definition shutterConfig.hpp:63
constexpr auto SUBSTATE_READY_CLOSE_STR
Definition shutterConfig.hpp:59
constexpr short SUBSTATE_READY_OPEN
Definition shutterConfig.hpp:53
constexpr auto SUBSTATE_OP_CLOSE_STR
Definition shutterConfig.hpp:61
constexpr short SUBSTATE_OP_OPEN
Definition shutterConfig.hpp:56
constexpr auto SUBSTATE_OP_ARMED_STR
Definition shutterptpConfig.hpp:39
constexpr short SUBSTATE_OP_ARMED
Definition shutterptpConfig.hpp:37

◆ SUBSTATE_OP_ARMED

short ifw::fcf::devmgr::shutterptp::SUBSTATE_OP_ARMED = 216
constexpr

◆ SUBSTATE_OP_ARMED_STR

auto ifw::fcf::devmgr::shutterptp::SUBSTATE_OP_ARMED_STR = "Armed"
constexpr