ifw-ccf 5.0.2
Loading...
Searching...
No Matches
Namespaces | Functions
base.cpp File Reference
#include <ciiLogManager.hpp>
#include <ifw/ccf/common/base.hpp>

Namespaces

namespace  ifw
 
namespace  ifw::ccf
 

Functions

void ifw::ccf::SetApplicationLogName (const std::string &app_name)
 
log4cplus::Logger & ifw::ccf::Logger ()
 
log4cplus::Logger & ifw::ccf::FastLogger ()
 
States (composite).
void ifw::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.
 
bool ifw::ccf::ReceiveThrMsg (const std::string &receiver_thread_name, const double time_out, ifw::ccf::mptk::Message &message)
 Receive a message from the given thread. Returns true if message received.
 
void ifw::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.
 
void ifw::ccf::DecomposeSmStatus (const std::string &sm_state, std::string &sum_state, std::string &sum_substate)
 
DB state nodes names.
ifw::fnd::datatype::DataType ifw::ccf::CiiCfgNodeToIfwDataType (elt::configng::CiiConfigInstanceNode &node)
 Determine IFW data type from a CII Cfg Node.
 
void ifw::ccf::PrintStackTrace ()
 
Exposure modes.
ExpoMode ifw::ccf::ExpoModeToNb (const std::string &expo_mode)
 Convert exposure mode from number representation to string.
 
Execution status.
std::string ifw::ccf::StatusToStr (ifw::ccf::Status status)
 Convert the status from number to string.
 
void ifw::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.
 
void ifw::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.
 
Publisher Status names.
std::string ifw::ccf::PubStatusNameToStr (PubStatus pub_status_nb)
 Publisher status, number representation to string.
 
std::string ifw::ccf::RecStatusNameToStr (recif::RecStatusNames rec_status_nb)
 Recording Status name, number to string representation.
 
std::string ifw::ccf::BuildKey (const std::vector< std::string > &elements)
 Build a concatenated key from a number of elements (<el1>.<el2.>...).
 
std::vector< std::string > ifw::ccf::SplitKey (const std::string &key)
 Split up a concatenated key.