/** \file ProfilerLogHandler.h * Declares the ProfilerLogHandler class * * @author Vovansim (aka Scorpion) * @version Version 1.0 * @date September 14, 2003 */ #ifndef PROJECT_AXIS_PROFILER_LOG_HANDLER #define PROJECT_AXIS_PROFILER_LOG_HANDLER #include #include "IProfilerOutputHandler.h" #include "LogManager.h" /** * This class implements the IProfilerOutputHandler interface and * allows one to channel the profiler output into a log file. This * makes use of the LogManager utility, but can potentially be * rewritten as a stand-alone class. */ class ProfilerLogHandler: public IProfilerOutputHandler { public: void BeginOutput(float totalTime); void Sample(float minimum, float average, float maximum, float averageTime, int callCount, std::string name, int parentCount); void EndOutput(); }; #endif//PROJECT_AXIS_PROFILER_LOG_HANDLER