Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
815 B

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //
  7. //=============================================================================//
  8. // data_collector.h
  9. // Data collection system
  10. // Author: Michael S. Booth, June 2004
  11. #ifndef _DATA_COLLECTOR_H_
  12. #define _DATA_COLLECTOR_H_
  13. #include <igameevents.h>
  14. #include <KeyValues.h>
  15. /**
  16. * This class is used to monitor the event stream and
  17. * store interesting events to disk for later analysis.
  18. */
  19. class CDataCollector : public IGameEventListener
  20. {
  21. public:
  22. CDataCollector( void );
  23. ~CDataCollector();
  24. // IGameEventListener
  25. virtual void FireGameEvent( KeyValues *event );
  26. };
  27. extern void StartDataCollection( void );
  28. extern void StopDataCollection( void );
  29. #endif // _DATA_COLLECTOR_H_