ifw-ccf  3.0.0-pre2
Namespaces | Functions
base.cpp File Reference
#include <ccf/common/base.hpp>

Namespaces

 ccf
 

Functions

log4cplus::Logger & ccf::Logger ()
 
States (composite).
void ccf::SendThrMsg (const std::string &command, const std::string &sender_thread_name, const std::string &receiver_thread_name, const std::string &data)
 Send MPTK message via internal Message Bus. More...
 
bool ccf::ReceiveThrMsg (const std::string &receiver_thread_name, const double time_out, ccf::mptk::Message &message)
 Receive a message from the given thread. Returns true if message received. More...
 
void ccf::AssertPtr (const void *ptr, const std::string &object, const std::string &location)
 Check that pointer is not nullptr and raise rad::exception in case it is. More...
 
void ccf::DecomposeSmStatus (const std::string &sm_state, std::string &sum_state, std::string &sum_substate)
 
Exposure modes.
ExpoMode ccf::ExpoModeToNb (const std::string &expo_mode)
 Convert exposure mode from number representation to string. More...
 
Execution status.
std::string ccf::StatusToStr (ccf::Status status)
 Convert the status from number to string. More...
 
void ccf::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::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...
 
Publisher Status names.
std::string ccf::PubStatusNameToStr (PubStatus pub_status_nb)
 Publisher status, number representation to string. More...
 
std::string ccf::RecStatusNameToStr (recif::RecStatusNames rec_status_nb)
 Recording Status name, number to string representation. More...
 
std::string ccf::BuildKey (const std::vector< std::string > &elements)
 Build a concatenated key from a number of elements (<el1>.<el2.>...). More...
 
std::vector< std::string > ccf::SplitKey (const std::string &key)
 Split up a concatenated key. More...