ifw-ccf  1.0.0
Namespaces | Functions
base.cpp File Reference
#include "ccf/common/base.hpp"

Namespaces

 ccf
 
 ccf::common
 

Functions

log4cplus::Logger & CcfLogger ()
 Returns reference to the CCF Logger object. More...
 
log4cplus::Logger & CcfLogger2 ()
 Returns reference to the CCF Logger object, for DEBUG2 type of logs. More...
 
log4cplus::Logger & CcfLogger3 ()
 Returns reference to the CCF Logger object, for DEBUG3 type of logs. More...
 
States (composite).
void ccf::common::SendThrMsg (const std::string &command, const std::string &sender_thread_id, const std::string &receiver_thread_id, const std::string &data)
 Send MPTK message via internal Message Bus. More...
 
bool ccf::common::ReceiveThrMsg (const std::string &receiver_thread_id, const double time_out, ccf::mptk::Message &message)
 Receive a message from the given thread. Returns true if message received. More...
 
void ccf::common::AssertPtr (const void *ptr, const std::string &object, const std::string &location)
 Check that pointer is not NULL and raise rad::exception in case it is. More...
 
void ccf::common::DecomposeSmStatus (const std::string &sm_state, std::string &sum_state, std::string &sum_substate)
 
Exposure modes.
ExpoMode ccf::common::ExpoModeToNb (const std::string &expo_mode)
 Convert exposure mode from number representation to string. More...
 
Publisher Status names.
LogLevel ccf::common::LogLevelStrToNb (const std::string &log_level)
 Log level string to number representation. More...
 
std::string ccf::common::PubStatusNameToStr (PubStatus pub_status_nb)
 Publisher status, number representation to string. More...
 
std::string ccf::common::RecStatusNameToStr (recif::RecStatusNames rec_status_nb)
 Recording Status name, number to string representation. More...
 
Execution status.
std::string ccf::common::StatusToStr (ccf::common::Status status)
 Convert the status from number to string. More...
 
void ccf::common::ResetRecStatusObj (std::shared_ptr< recif::RecStatus > &rec_status_obj, const recif::RecStatusNames rec_status=recif::RecStatusNames::Undefined)
 Reset the members of the Recording Status Object. More...
 
void ccf::common::CopyRecStatusObj (const std::shared_ptr< recif::RecStatus > &src_rec_status_obj, const std::shared_ptr< recif::RecStatus > &trg_rec_status_obj)
 Cope the members of one Recording Status Object to another. More...
 

Function Documentation

◆ CcfLogger()

log4cplus::Logger& CcfLogger ( )

Returns reference to the CCF Logger object.

◆ CcfLogger2()

log4cplus::Logger& CcfLogger2 ( )

Returns reference to the CCF Logger object, for DEBUG2 type of logs.

◆ CcfLogger3()

log4cplus::Logger& CcfLogger3 ( )

Returns reference to the CCF Logger object, for DEBUG3 type of logs.