Classes | |
| class | BinarySemaphore |
| Binary semaphore class to be used for thread synchronisation. More... | |
| struct | CameraSetup |
| Structure to hold camera setup parameters. More... | |
| struct | CameraStatus |
| Structure to hold camera status parameters. More... | |
| class | ICommAdapter |
| Abstract base class for implementing FGF Communication Adapters. More... | |
| class | MudpiCreator |
| RTMS creator class. More... | |
| class | MudpiCreatorParallel |
| RTMS creator class which implements parallel generation of MUDPI packets. More... | |
| class | RawImage |
| Raw Image Class to handle one image in memory. More... | |
| class | RtmsPublisher |
| RTMS Publisher. More... | |
| class | Semaphore |
| Semaphore class for safe semaphore usage. More... | |
| struct | SetupParam |
| Setup ("ctrl" category) parameters enums. More... | |
| struct | State |
| State struct defining enums to handle states/substates. More... | |
| struct | StatusParam |
| The status parameters enums definitions. More... | |
Typedefs | |
| using | Variant = std::variant<bool,int,unsigned int,short,double,std::string> |
| using | PairVariant = std::pair<std::string, Variant> |
| using | VectorVariant = std::vector<PairVariant> |
Enumerations | |
| enum class | OpMode { FINITE = 1 , CONTINUOUS , FINITE = 1 , CONTINUOUS } |
| Operational Mode: Finite or Continuous. More... | |
| enum class | OpMode { FINITE = 1 , CONTINUOUS , FINITE = 1 , CONTINUOUS } |
| Operational Mode: Finite or Continuous. More... | |
Functions | |
| double | Time () |
| Return time as seconds since epoch with micro second precision. | |
| void | Sleep (const float sleep_time) |
| Make the calling thread sleep for the given period of time given as seconds. | |
| const std::string & | LogPropertiesName (const std::string &log_properties={}) |
| const std::string & | AppLogName (const std::string &logger_name={}) |
| Get/optionally set the application logger name (e.g. "fgfapp"). | |
| void | ConfigureLogging () |
| One-time logging configuration (idempotent; safe to call many times). | |
| log4cplus::Logger & | GetRootLogger () |
| Root/application loggers (configured on first use). | |
| log4cplus::Logger & | GetAppLogger () |
| std::string | FindFile (const std::string &resource_filename) |
| Resolve a resource file (e.g. properties) using your search rules. | |
| void | CustomOpen62541Log (void *log_context, UA_LogLevel level, UA_LogCategory category, const char *msg, va_list args) |
| open62541 logging callback (attach via cfg->logger.log = &CustomOpen62541Log). | |
| UA_Logger | make_ua_logger (void *context=nullptr, UA_LogLevel min=UA_LOGLEVEL_INFO) |
| Convenience: build a UA_Logger value you can assign to cfg->logger. | |
| log4cplus::Logger & | Logger () |
Variables | |
| UA_Logger | s_custom_logger = { &CustomOpen62541Log, nullptr } |
| constexpr auto | STAT_WINDOW_SIZE = 1000 |
| constexpr auto | CTRL_EXPO_TIME_STR = "ctrl_expo_time" |
| constexpr auto | CTRL_FRAME_RATE_STR = "ctrl_frame_rate" |
| constexpr auto | CTRL_BIN_X_STR = "ctrl_bin_x" |
| constexpr auto | CTRL_BIN_Y_STR = "ctrl_bin_y" |
| constexpr auto | CTRL_FRAME_TARGET_STR = "ctrl_frame_target" |
| constexpr auto | CTRL_OP_MODE_STR = "ctrl_op_mode" |
| constexpr auto | CTRL_OFFSET_X_STR = "ctrl_offset_x" |
| constexpr auto | CTRL_OFFSET_Y_STR = "ctrl_offset_y" |
| constexpr auto | CTRL_WIDTH_STR = "ctrl_width" |
| constexpr auto | CTRL_HEIGHT_STR = "ctrl_height" |
| constexpr auto | KEY_STATUS_SUBSYS_STATE = "state" |
| constexpr auto | KEY_STATUS_SUBSYS_SUBSTATE = "substate" |
| constexpr auto | STATE_UNDEFINED_STR = "Undefined" |
| constexpr auto | STATE_NOT_OP_ERROR_STR = "NotOpError" |
| constexpr auto | STATE_ERROR_STR = "Error" |
| constexpr auto | STATE_OFF_STR = "Off" |
| constexpr auto | STATE_NOT_OPERATIONAL_STR = "NotOperational" |
| constexpr auto | STATE_OPERATIONAL_STR = "Operational" |
| constexpr auto | SUBSTATE_NOTREADY_STR = "NotReady" |
| constexpr auto | SUBSTATE_INITIALISING_STR = "Initialising" |
| constexpr auto | SUBSTATE_READY_STR = "Ready" |
| constexpr auto | SUBSTATE_ENABLING_STR = "Enabling" |
| constexpr auto | SUBSTATE_RECOVERING_STR = "Recovering" |
| constexpr auto | SUBSTATE_IDLE_STR = "Idle" |
| constexpr auto | SUBSTATE_BUSY_STR = "Busy" |
| constexpr auto | SUBSTATE_ACQUIRING_STR = "Acquiring" |
| constexpr auto | STAT_EXPO_TIME_STR = "expo_time" |
| constexpr auto | STAT_FRAME_RATE_STR = "frame_rate" |
| constexpr auto | STAT_FRAME_COUNTER_STR = "frame_counter" |
| constexpr auto | STAT_TOTAL_FRAME_COUNTER_STR = "total_frame_counter" |
| constexpr auto | STAT_WIDTH_STR = "width" |
| constexpr auto | STAT_HEIGHT_STR = "height" |
| constexpr auto | STAT_CAMERA_INTERFACE_STR = "camera_interface" |
| constexpr auto | STAT_CAMERA_MODEL_STR = "camera_model" |
| constexpr auto | STAT_CAMERA_NAME_STR = "camera_name" |
| constexpr auto | STAT_CAMERA_SERIAL_NUMBER_STR = "camera_serial_number" |
| constexpr auto | STAT_STATE_STR = "state" |
| constexpr auto | STAT_SUBSTATE_STR = "substate" |
| constexpr auto | STAT_RPC_ERROR_TEXT_STR = "rpc_error_text" |
| constexpr auto | STAT_SYSTEM_ERROR_TEXT_STR = "system_error_text" |
| typedef std::pair< std::string, Variant > ifw::fgf::common::PairVariant = std::pair<std::string, Variant> |
| typedef std::variant< bool, int, unsigned int, short, double, std::string > ifw::fgf::common::Variant = std::variant<bool,int,unsigned int,short,double,std::string> |
| typedef std::vector< PairVariant > ifw::fgf::common::VectorVariant = std::vector<PairVariant> |
|
strong |
|
strong |
| const std::string & ifw::fgf::common::AppLogName | ( | const std::string & | logger_name = {} | ) |
Get/optionally set the application logger name (e.g. "fgfapp").
| void ifw::fgf::common::ConfigureLogging | ( | ) |
One-time logging configuration (idempotent; safe to call many times).
| void ifw::fgf::common::CustomOpen62541Log | ( | void * | log_context, |
| UA_LogLevel | level, | ||
| UA_LogCategory | category, | ||
| const char * | msg, | ||
| va_list | args ) |
open62541 logging callback (attach via cfg->logger.log = &CustomOpen62541Log).
| std::string ifw::fgf::common::FindFile | ( | const std::string & | resource_filename | ) |
Resolve a resource file (e.g. properties) using your search rules.
| log4cplus::Logger & ifw::fgf::common::GetAppLogger | ( | ) |
| log4cplus::Logger & ifw::fgf::common::GetRootLogger | ( | ) |
Root/application loggers (configured on first use).
|
inline |
| const std::string & ifw::fgf::common::LogPropertiesName | ( | const std::string & | log_properties = {} | ) |
Get/optionally set the path to the log4cplus properties file. Pass a non-empty value once to set; subsequent calls can use the default.
|
inline |
Convenience: build a UA_Logger value you can assign to cfg->logger.
|
inline |
Make the calling thread sleep for the given period of time given as seconds.
|
inline |
Return time as seconds since epoch with micro second precision.
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
| UA_Logger ifw::fgf::common::s_custom_logger = { &CustomOpen62541Log, nullptr } |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |