Documents > BPS V2 C++ API
BpsRobotPlugin Class Reference

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

#include <bpsrobotplugin.h>

List of all members.

Public Member Functions

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

Detailed Description

Virtual class for pick robot plugin of BPS Workplace.

Place the dynamic library in the plugins/bpsrobot folder.


Member Function Documentation

virtual BpsRobot* BpsRobotPlugin::create ( BpsDatastore aDatastore,
const QVariant &  aZone,
const QString &  aProgram,
QObject *  aParent = 0 
) [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:
[in]aDatastoreThe datastore to use.
[in]aZoneThe zone to handle by this robot.
[in]aProgramName of the program, to be used in license tokens.
[in]aParentThe parent widget.
Returns:
Pointer to the new widget, or 0 if not permitted.
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: