• Main Page
  • Related Pages
  • Modules
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

PacketConsoleLogger.h

Go to the documentation of this file.
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 #include "NativeFeatureIncludes.h"
00009 #if _RAKNET_SUPPORT_LogCommandParser==1 && _RAKNET_SUPPORT_PacketLogger==1
00010 
00011 #ifndef __PACKET_CONSOLE_LOGGER_H_
00012 #define __PACKET_CONSOLE_LOGGER_H_
00013 
00014 #include "PacketLogger.h"
00015 class LogCommandParser;
00016 
00019 class RAK_DLL_EXPORT  PacketConsoleLogger : public PacketLogger
00020 {
00021 public:
00022         PacketConsoleLogger();
00023         // Writes to the command parser used for logging, which is accessed through a secondary communication layer (such as Telnet or RakNet) - See ConsoleServer.h
00024         virtual void SetLogCommandParser(LogCommandParser *lcp);
00025         virtual void WriteLog(const char *str);
00026 protected:
00027         LogCommandParser *logCommandParser;
00028 };
00029 
00030 #endif
00031 
00032 #endif // _RAKNET_SUPPORT_*

Generated on Thu Sep 30 2010 01:27:25 for RakNet by  doxygen 1.7.1