DRDE/ACTK1_0/session/StatsManager.hpp

31 lines
842 B
C++
Raw Permalink Normal View History

#ifndef __STATSMANAGER_H
#define __STATSMANAGER_H
#include "session/StatsViewer.hpp"
/**
* Extend the capabilities of a StatsViewer by supporting modification of the
* available statistics.
*/
class StatsManager : public StatsViewer
{
public:
virtual ~StatsManager(void) { }
/**
* Increment the result count for the given code. This is reflected in the
* return value of {@link
2014-01-24 20:49:09 +00:00
* mop.bizsregistry.jtoolkit2.session.StatsViewer#getResultCodeCount}.
*/
virtual void incResultCounter(int resultCode) = 0;
/**
* Increment the command count for the given command type. This is
* reflected in the return value of {@link
2014-01-24 20:49:09 +00:00
* mop.bizsregistry.jtoolkit2.session.StatsViewer#getCommandCount}.
*/
virtual void incCommandCounter(const CommandType* type) = 0;
};
#endif // __STATSMANAGER_H