FMT 0.9.8
Forest management tools for forest planning
Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
Logging::FMTquietlogger Class Referencefinal

#include <FMTquietlogger.hpp>

Inheritance diagram for Logging::FMTquietlogger:
[legend]
Collaboration diagram for Logging::FMTquietlogger:
[legend]

Public Member Functions

 FMTquietlogger ()
 
 FMTquietlogger (const FMTquietlogger &)=default
 
FMTquietloggeroperator= (const FMTquietlogger &)=default
 
 ~FMTquietlogger ()=default
 
int print () override
 
void checkSeverity () override
 
FMTloggerclone () const override
 
void cout (const char *message) const override
 
- Public Member Functions inherited from Logging::FMTlogger
 FMTlogger ()
 
virtual ~FMTlogger ()
 
 FMTlogger (const FMTlogger &rhs)
 
void redirectofile (const std::string &filename)
 
void closefilestream ()
 
FMTloggeroperator= (const FMTlogger &rhs)
 
virtual int print ()
 
virtual void checkSeverity ()
 
virtual FMTloggerclone () const
 
virtual std::string getlogstamp () const
 
virtual void logstamp ()
 
virtual void logtime ()
 
void setstreamflush (bool flush)
 
virtual FMTloggeroperator<< (const std::string &msg)
 
virtual FMTloggeroperator<< (const int &msg)
 
virtual FMTloggeroperator<< (const double &msg)
 
virtual FMTloggeroperator<< (const float &msg)
 
virtual FMTloggeroperator<< (const std::time_t &msg)
 
virtual FMTloggeroperator<< (const size_t &msg)
 
virtual FMTloggeroperator<< (const unsigned int &msg)
 
virtual bool logwithlevel (const std::string &msg, const int &messagelevel) const
 
virtual FMTsolverloggergetsolverlogger ()
 

Friends

class boost::serialization::access
 

Additional Inherited Members

- Protected Member Functions inherited from Logging::FMTlogger
virtual void cout (const char *message) const
 
virtual void setlogginglevel (const int &level)
 
- Protected Attributes inherited from Logging::FMTlogger
std::unique_ptr< FMTsolverloggersolverref
 
std::string filepath
 string path the the potential filestream
 
std::ofstream * filestream
 stream if the logger redirect the logging into somesort of file.
 
boost::recursive_mutex mtx
 Mutex for multi-threading.
 
bool flushstream
 If true will flush stream at each write.
 

Detailed Description

FMTquietlogger will not print any solver informations from osisolverinterface.

Constructor & Destructor Documentation

◆ FMTquietlogger() [1/2]

Logging::FMTquietlogger::FMTquietlogger ( )

FMTquietlogger default constructor.

◆ FMTquietlogger() [2/2]

Logging::FMTquietlogger::FMTquietlogger ( const FMTquietlogger )
default

FMTquietlogger default copy constructor.

◆ ~FMTquietlogger()

Logging::FMTquietlogger::~FMTquietlogger ( )
default

FMTquietlogger default destructor.

Member Function Documentation

◆ checkSeverity()

void Logging::FMTquietlogger::checkSeverity ( )
overridevirtual

See FMTlogger checkSeverity function.

Reimplemented from Logging::FMTlogger.

◆ clone()

FMTlogger * Logging::FMTquietlogger::clone ( ) const
overridevirtual

See FMTlogger clone function.

Reimplemented from Logging::FMTlogger.

◆ cout()

void Logging::FMTquietlogger::cout ( const char *  message) const
overridevirtual

See FMTlogger cout function that does nothing.

Reimplemented from Logging::FMTlogger.

◆ operator=()

FMTquietlogger & Logging::FMTquietlogger::operator= ( const FMTquietlogger )
default

FMTquietlogger default copy assignment.

◆ print()

int Logging::FMTquietlogger::print ( )
overridevirtual

FMTquietlogger print nothing with osisolverinterface. See FMTlogger print function.

Reimplemented from Logging::FMTlogger.

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Serialize function is for serialization, used to do multiprocessing across multiple cpus (pickle in Pyhton)


The documentation for this class was generated from the following file: