This repository has been archived on 2024-06-13. You can view files and clone it, but cannot push or open issues or pull requests.
2020-08-04 13:13:01 -04:00

35 lines
806 B
C++

//========= 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 <KeyValues.h>
#include <igameevents.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_