4 #include "UserLogBase.h"
6 class CBasicLog
: public CUserLogBase
{
8 CBasicLog(Dasher::CEventHandler
*pEventHandler
, CSettingsStore
*pSettingsStore
);
11 virtual void AddParam(const string
& strName
, const string
& strValue
, int iOptionMask
= 0) {};
12 virtual void AddParam(const string
& strName
, double dValue
, int iOptionMask
= 0) {};
13 virtual void AddParam(const string
& strName
, int iValue
, int iOptionMask
= 0) {};
14 virtual void StartWriting();
15 virtual void StopWriting(float dNats
);
16 virtual void StopWriting() {};
17 virtual void AddSymbols(Dasher::VECTOR_SYMBOL_PROB
* pVectorNewSymbolProbs
, eUserLogEventType iEvent
= userLogEventMouse
);
18 virtual void DeleteSymbols(int iNumToDelete
, eUserLogEventType iEvent
= userLogEventMouse
);
19 virtual void NewTrial();
20 virtual void AddWindowSize(int iTop
, int iLeft
, int iBottom
, int iRight
) {};
21 virtual void AddCanvasSize(int iTop
, int iLeft
, int iBottom
, int iRight
) {};
22 virtual void AddMouseLocation(int iX
, int iY
, float dNats
) {};
23 virtual void AddMouseLocationNormalized(int iX
, int iY
, bool bStoreIntegerRep
, float dNats
) {};
24 virtual void OutputFile() {};
25 virtual void SetAlphabetPtr(Dasher::CAlphabet
* pAlphabet
= 0) {};
26 virtual void InitIsDone() {};
27 virtual void SetOuputFilename(const string
& strFilename
= "") {};
28 virtual int GetLogLevelMask() {return 0;};
29 virtual void KeyDown(int iId
, int iType
, int iEffect
);
30 virtual void HandleEvent(Dasher::CEvent
* pEvent
) {};
35 std::string
GetDateStamp();
42 std::string m_strStartDate
;