namespace DBBackends
{
+ namespace RtcomEventLoggerComponents { class TriggerDisabler; }
+
class RtcomEventLogger : public iDBBackend
{
public:
RtcomEventLogger(const Settings &settings);
RtcomEventLogger(const Settings &settings, const EventTypes::RtcomEvent &event);
+ virtual void PreInsert();
virtual void Insert(EventTypes::iEvent &event, const NumberToNameLookup &numberToNameLookup);
virtual void PostInsert();
virtual void Process(EventProcessors::iEventProcessor &eventProcessor);
private:
void Reindex();
- QList<int> &InsertedIDs() { return m_InsertedIDs; }
- private:
const Settings &m_Settings;
const QString mk_DBPath;
- QList<int> m_InsertedIDs;
QHash<EventTypes::eEventTypes, int> m_ServiceIDs;
+
+ QList<int> m_InsertedIDs;
+ QList<int> &InsertedIDs() { return m_InsertedIDs; }
+
+ RtcomEventLoggerComponents::TriggerDisabler *m_TriggerDisabler;
};
}