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.
19 lines
457 B
19 lines
457 B
#ifndef IBLACKBOX_H
|
|
#define IBLACKBOX_H
|
|
|
|
#define BLACKBOX_INTERFACE_VERSION "BlackBoxVersion001"
|
|
|
|
class IBlackBox
|
|
{
|
|
public:
|
|
virtual void Record(int type, const char *fmt) = 0;
|
|
virtual void SetLimit(int type, unsigned int count) = 0;
|
|
virtual const char *Get(int type, unsigned int index) = 0;
|
|
virtual int Count(int type) = 0;
|
|
virtual void Flush(int type) = 0;
|
|
|
|
virtual const char *GetTypeName(int type) = 0;
|
|
virtual int GetTypeCount() = 0;
|
|
};
|
|
|
|
#endif
|