BPS C++ API  2.24.4
bpsrobotplugin.h
Go to the documentation of this file.
1 
4 #ifndef BPSROBOTPLUGIN_H
5 #define BPSROBOTPLUGIN_H
6 
7 #include <QtPlugin>
8 
9 class BpsRobot;
10 class BpsDatastore;
11 class QObject;
12 
18 {
19 public:
23  virtual ~BpsRobotPlugin() {}
24 
28  virtual QString pickModeName() const = 0;
29 
40  virtual BpsRobot* create(BpsDatastore* aDatastore, const QVariant& aZone, const QString& aProgram, QObject* aParent = nullptr) = 0;
41 };
42 
46 #define BpsRobotPlugin_IID "com.ibk-software.BPS2.BpsRobotPlugin/1.0"
47 
48 Q_DECLARE_INTERFACE(BpsRobotPlugin, BpsRobotPlugin_IID)
49 
50 #endif // BPSROBOTPLUGIN_H
BPS datastore class.
Definition: bpsdatastore.h:61
Pick robot interface.
Definition: bpsrobot.h:19
Virtual class for pick robot plugin of BPS Workplace.
Definition: bpsrobotplugin.h:18
#define BpsRobotPlugin_IID
IID of the plugin.
Definition: bpsrobotplugin.h:46
virtual ~BpsRobotPlugin()
Virtual destructor.
Definition: bpsrobotplugin.h:23
virtual QString pickModeName() const =0
virtual BpsRobot * create(BpsDatastore *aDatastore, const QVariant &aZone, const QString &aProgram, QObject *aParent=nullptr)=0
Create the robot object and return a pointer to it.