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
37 lines
815 B
//========= Copyright © 1996-2005, 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_
|