SQLiteClientLogger_RNSLogger.h 975 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. * Copyright (c) 2014, Oculus VR, Inc.
  3. * All rights reserved.
  4. *
  5. * This source code is licensed under the BSD-style license found in the
  6. * LICENSE file in the root directory of this source tree. An additional grant
  7. * of patent rights can be found in the PATENTS file in the same directory.
  8. *
  9. */
  10. /// \file
  11. /// \brief Writes RakNetStatistics for all connected systems once per second to SQLiteClientLogger
  12. ///
  13. #ifndef __SQL_LITE_CLIENT_LOGGER_RAKNET_STATISTICS_H_
  14. #define __SQL_LITE_CLIENT_LOGGER_RAKNET_STATISTICS_H_
  15. #include "PluginInterface2.h"
  16. namespace RakNet
  17. {
  18. /// \ingroup PACKETLOGGER_GROUP
  19. /// \brief Packetlogger that outputs to a file
  20. class RAK_DLL_EXPORT SQLiteClientLogger_RakNetStatistics : public PluginInterface2
  21. {
  22. public:
  23. SQLiteClientLogger_RakNetStatistics();
  24. virtual ~SQLiteClientLogger_RakNetStatistics();
  25. virtual void Update(void);
  26. protected:
  27. RakNet::TimeUS lastUpdate;
  28. };
  29. }
  30. #endif
粤ICP备19079148号