Warning: include(php/utility.php): Failed to open stream: No such file or directory in /home/argos/argos3/doc/api/embedded/a02334.php on line 2

Warning: include(): Failed opening 'php/utility.php' for inclusion (include_path='.:/usr/lib64/php') in /home/argos/argos3/doc/api/embedded/a02334.php on line 2
The ARGoS Website

argos::CARGoSLog Class Reference

#include <argos_log.h>

Public Member Functions

 CARGoSLog (std::ostream &c_stream, const SLogColor &s_log_color, bool b_colored_output_enabled=true)
 
 ~CARGoSLog ()
 
void EnableColoredOutput ()
 
void DisableColoredOutput ()
 
bool IsColoredOutput () const
 
std::ostream & GetStream ()
 
void RedirectToFile (const std::string &str_fname)
 
void Flush ()
 
CARGoSLogoperator<< (std::ostream &(*c_stream)(std::ostream &))
 
template<typename T >
CARGoSLogoperator<< (const T t_msg)
 

Detailed Description

Definition at line 59 of file argos_log.h.

Constructor & Destructor Documentation

◆ CARGoSLog()

argos::CARGoSLog::CARGoSLog ( std::ostream &  c_stream,
const SLogColor s_log_color,
bool  b_colored_output_enabled = true 
)
inline

Definition at line 85 of file argos_log.h.

◆ ~CARGoSLog()

argos::CARGoSLog::~CARGoSLog ( )
inline

Definition at line 97 of file argos_log.h.

Member Function Documentation

◆ DisableColoredOutput()

void argos::CARGoSLog::DisableColoredOutput ( )
inline

Definition at line 114 of file argos_log.h.

◆ EnableColoredOutput()

void argos::CARGoSLog::EnableColoredOutput ( )
inline

Definition at line 110 of file argos_log.h.

◆ Flush()

void argos::CARGoSLog::Flush ( )
inline

Definition at line 147 of file argos_log.h.

◆ GetStream()

std::ostream& argos::CARGoSLog::GetStream ( )
inline

Definition at line 122 of file argos_log.h.

◆ IsColoredOutput()

bool argos::CARGoSLog::IsColoredOutput ( ) const
inline

Definition at line 118 of file argos_log.h.

◆ operator<<() [1/2]

CARGoSLog& argos::CARGoSLog::operator<< ( std::ostream &(*)(std::ostream &)  c_stream)
inline

Definition at line 150 of file argos_log.h.

◆ operator<<() [2/2]

template<typename T >
CARGoSLog& argos::CARGoSLog::operator<< ( const T  t_msg)
inline

Definition at line 159 of file argos_log.h.

◆ RedirectToFile()

void argos::CARGoSLog::RedirectToFile ( const std::string &  str_fname)
inline

Definition at line 126 of file argos_log.h.