TorchCraftAI
A bot for machine learning research on StarCraft: Brood War
Public Member Functions | Protected Attributes | Friends | List of all members
cherrypi::CherryVisDumperModule::Logger::LoggerStream Class Reference

#include <cherryvisdumper.h>

Public Member Functions

 LoggerStream (State *state, Logger &logger, const char *filename, int line)
 
 ~LoggerStream ()
 
template<typename T >
LoggerStreamoperator<< (T const &m)
 
template<typename K , typename V >
LoggerStreamoperator<< (std::unordered_map< K, V > m)
 

Protected Attributes

std::stringstream message_
 
std::vector< nlohmann::json > attachments_
 
Statestate_
 
Loggerlogger_
 
const char * filename_
 
int line_
 

Friends

class Logger
 

Constructor & Destructor Documentation

cherrypi::CherryVisDumperModule::Logger::LoggerStream::LoggerStream ( State state,
Logger logger,
const char *  filename,
int  line 
)
inline
cherrypi::CherryVisDumperModule::Logger::LoggerStream::~LoggerStream ( )
inline

Member Function Documentation

template<typename T >
LoggerStream& cherrypi::CherryVisDumperModule::Logger::LoggerStream::operator<< ( T const &  m)
inline
template<typename K , typename V >
LoggerStream& cherrypi::CherryVisDumperModule::Logger::LoggerStream::operator<< ( std::unordered_map< K, V >  m)
inline

Friends And Related Function Documentation

friend class Logger
friend

Member Data Documentation

std::vector<nlohmann::json> cherrypi::CherryVisDumperModule::Logger::LoggerStream::attachments_
protected
const char* cherrypi::CherryVisDumperModule::Logger::LoggerStream::filename_
protected
int cherrypi::CherryVisDumperModule::Logger::LoggerStream::line_
protected
Logger& cherrypi::CherryVisDumperModule::Logger::LoggerStream::logger_
protected
std::stringstream cherrypi::CherryVisDumperModule::Logger::LoggerStream::message_
protected
State* cherrypi::CherryVisDumperModule::Logger::LoggerStream::state_
protected

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