ifw-fgf 1.0.0-pre1
|
Frame Grabber Camera Base Class definitions. More...
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 } |
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="") |
Set the name of the log properties (default: "config/ifw/fgf/common/log.properties"). | |
const std::string & | AppLogName (const std::string &_fgf_logger_name="") |
Set the name of the logger for this app (default: "fgf-app"). | |
void | ConfigureLogging () |
Configure log4cplus. | |
log4cplus::Logger & | GetRootLogger () |
Return reference to root logger. | |
log4cplus::Logger & | GetAppLogger () |
Return reference to application logger. | |
std::string | FindFile (const std::string &resource_filename) |
void | CustomOpen62541Log (void *log_context, UA_LogLevel level, UA_LogCategory category, const char *msg, va_list args) |
Variables | |
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" |
Frame Grabber Camera Base Class definitions.
Logger definitions source file.
Camera status parameters definition.
State machine state and substates definition.
Setup parameters header file.
Semaphore class for safe semaphore usage.
Logging definitions.
Abstract base class for implementing FGF Communication Adapters.
using ifw::fgf::common::PairVariant = std::pair<std::string, Variant> |
using ifw::fgf::common::Variant = std::variant<bool,int,unsigned int,short,double,std::string> |
using ifw::fgf::common::VectorVariant = std::vector<PairVariant> |
|
strong |
const std::string & ifw::fgf::common::AppLogName | ( | const std::string & | _fgf_logger_name = "" | ) |
Set the name of the logger for this app (default: "fgf-app").
void ifw::fgf::common::ConfigureLogging | ( | ) |
Configure log4cplus.
void ifw::fgf::common::CustomOpen62541Log | ( | void * | log_context, |
UA_LogLevel | level, | ||
UA_LogCategory | category, | ||
const char * | msg, | ||
va_list | args ) |
std::string ifw::fgf::common::FindFile | ( | const std::string & | resource_filename | ) |
log4cplus::Logger & ifw::fgf::common::GetAppLogger | ( | ) |
Return reference to application logger.
log4cplus::Logger & ifw::fgf::common::GetRootLogger | ( | ) |
Return reference to root logger.
const std::string & ifw::fgf::common::LogPropertiesName | ( | const std::string & | log_properties = "" | ) |
Set the name of the log properties (default: "config/ifw/fgf/common/log.properties").
|
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 |
|
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 |