BPS C++ API  2.24.4
BpsRobotPlugin Class Referenceabstract

Virtual class for pick robot plugin of BPS Workplace. More...

#include <bpsrobotplugin.h>

Public Member Functions

virtual BpsRobotcreate (BpsDatastore *aDatastore, const QVariant &aZone, const QString &aProgram, QObject *aParent=nullptr)=0
 Create the robot object and return a pointer to it. More...
 
virtual QString pickModeName () const =0
 
virtual ~BpsRobotPlugin ()
 Virtual destructor.
 

Related Functions

(Note that these are not member functions.)

#define BpsRobotPlugin_IID   "com.ibk-software.BPS2.BpsRobotPlugin/1.0"
 IID of the plugin.
 

Detailed Description

Virtual class for pick robot plugin of BPS Workplace.

Place the dynamic library in the plugins/bpsrobot folder.

Member Function Documentation

◆ create()

virtual BpsRobot* BpsRobotPlugin::create ( BpsDatastore aDatastore,
const QVariant aZone,
const QString aProgram,
QObject aParent = nullptr 
)
pure virtual

Create the robot object and return a pointer to it.

The object will be deleted by the application when no longer used. In case the license does not allow usage, 0 will be returned instead of a robot object.

Parameters
aDatastoreThe datastore to use.
aZoneThe zone to handle by this robot.
aProgramName of the program, to be used in license tokens.
aParentThe parent widget.
Returns
Pointer to the new widget, or 0 if not permitted.

◆ pickModeName()

virtual QString BpsRobotPlugin::pickModeName ( ) const
pure virtual
Returns
Picking mode name for this robot type.

The documentation for this class was generated from the following file: