InscoperAPI/API/Base/Utils/FunctionListener.h¶
Namespaces¶
| Name |
|---|
| Inscoper Inscoper namespace. |
Classes¶
| Name | |
|---|---|
| class | Inscoper::FunctionListener FunctionListener class allows receiving notifications when a function is executed. |
Source code¶
#ifndef FUNCTIONLISTENER_H
#define FUNCTIONLISTENER_H
#include <Base/Device/EFunctionType.h>
#include <Base/Device/SubDeviceId.h>
#include <Global.h>
#include <vector>
namespace Inscoper {
class INSCOPER_EXPORT FunctionListener {
public:
virtual ~FunctionListener() {
}
virtual void functionExecuted(const Inscoper::SubDeviceId &subDeviceId, Inscoper::EFunctionType functionType) = 0;
virtual void functionExecuted(const Inscoper::SubDeviceId &subDeviceId, Inscoper::EFunctionType functionType,
const std::vector<unsigned char> &valueData, unsigned char valueType) {
functionExecuted(subDeviceId, functionType);
}
};
} // namespace Inscoper
#endif // FUNCTIONLISTENER_H
Updated on 2026-09-03 at 12:14:17 +0200