diff options
Diffstat (limited to 'mp/src/game/server/data_collector.h')
| -rw-r--r-- | mp/src/game/server/data_collector.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/mp/src/game/server/data_collector.h b/mp/src/game/server/data_collector.h new file mode 100644 index 00000000..8b027578 --- /dev/null +++ b/mp/src/game/server/data_collector.h @@ -0,0 +1,37 @@ +//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+// $NoKeywords: $
+//
+//=============================================================================//
+// data_collector.h
+// Data collection system
+// Author: Michael S. Booth, June 2004
+
+#ifndef _DATA_COLLECTOR_H_
+#define _DATA_COLLECTOR_H_
+
+#include <igameevents.h>
+#include <KeyValues.h>
+
+/**
+ * This class is used to monitor the event stream and
+ * store interesting events to disk for later analysis.
+ */
+class CDataCollector : public IGameEventListener
+{
+public:
+ CDataCollector( void );
+ ~CDataCollector();
+
+ // IGameEventListener
+ virtual void FireGameEvent( KeyValues *event );
+};
+
+
+extern void StartDataCollection( void );
+extern void StopDataCollection( void );
+
+
+#endif // _DATA_COLLECTOR_H_
|