Documents > BPS V2 C++ API
bpsrfid.h
Go to the documentation of this file.
00001 
00004 #ifndef BPSRFID_H
00005 #define BPSRFID_H
00006 
00007 #include "bpscore_global.h"
00008 #include <QObject>
00009 #include <QVariantMap>
00010 
00018 class BPSCORE_EXPORT BpsRfid : public QObject
00019 {
00020     Q_OBJECT
00021     BPS_PRIVATE(BpsRfid)
00022 
00023 public:
00027     BpsRfid(QObject* aParent=0);
00028 
00032     virtual ~BpsRfid();
00033 
00039     void setConfig(const QMap<QString,QString>& aConfig);
00040 
00045     QMap<QString,QString> config() const;
00046 
00051     virtual void writeItemRequest(const QVariant& aKey) = 0;
00052 
00053 signals:
00054 
00060     void writeItemResponse(bool aOk, const QString& aData);
00061 
00067     void dataSent(const QString& aData);
00068 
00074     void dataReceived(const QString& aData);
00075 };
00076 
00077 #endif // BPSRFID_H