LRT14  1.0
 All Classes Namespaces Functions Variables Enumerations Enumerator
Loggable Class Referenceabstract

Base class for classes that can log to the global log file. More...

#include <Loggable.h>

Inheritance diagram for Loggable:

Public Member Functions

virtual void Log ()=0
 Logs data to the Logger.
 

Protected Member Functions

template<typename T >
void LogToFile (T *field, std::string name)
 Saves a variable to the Logger for logging.
 
template<typename T >
void LogToFile (T *field, int count, std::string name)
 Saves a dynamically allocated array to the Logger for logging.
 
template<typename T >
void LogToFile (T value, std::string name)
 Saves a value to the Logger for logging.
 

Detailed Description

Base class for classes that can log to the global log file.

Member Function Documentation

template<typename T >
void Loggable::LogToFile ( T *  field,
std::string  name 
)
inlineprotected

Saves a variable to the Logger for logging.

Parameters
fieldpointer to the variable
namename of the field

Here is the call graph for this function:

Here is the caller graph for this function:

template<typename T >
void Loggable::LogToFile ( T *  field,
int  count,
std::string  name 
)
inlineprotected

Saves a dynamically allocated array to the Logger for logging.

Parameters
fieldpointer to the variable
countnumber of elements from the array pointer to log
namename of the field

Here is the call graph for this function:

template<typename T >
void Loggable::LogToFile ( value,
std::string  name 
)
inlineprotected

Saves a value to the Logger for logging.

Parameters
valuevalue to log
namename of the field

Here is the call graph for this function:


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