ClientApplication Class Reference
|
fri
|
FRI client application class. More...
#include <friClientApplication.h>
Public Member Functions | |
| ClientApplication (IConnection &connection, IClient &client) | |
| Constructor without transformation client. | |
| ClientApplication (IConnection &connection, IClient &client, TransformationClient &trafoClient) | |
| Constructor with transformation client. | |
| ~ClientApplication () | |
| Destructor. | |
| bool | connect (int port, const char *remoteHost=NULL) |
| Connect the FRI client application with a KUKA Sunrise controller. | |
| void | disconnect () |
| Disconnect the FRI client application from a KUKA Sunrise controller. | |
| bool | step () |
| Run a single processing step. | |
Protected Attributes | |
| IConnection & | _connection |
| connection interface | |
| IClient * | _robotClient |
| robot client interface | |
| TransformationClient * | _trafoClient |
| transformation client interface | |
| ClientData * | _data |
| client data structure (for internal use) | |
Detailed Description
FRI client application class.
A client application takes an instance of the IConnection interface and an instance of an IClient interface to provide the functionality needed to set up an FRI client application. It can be used to easily integrate the FRI client code within other applications. The algorithmic functionality of an FRI client application is implemented using the IClient interface.
Constructor & Destructor Documentation
◆ ClientApplication() [1/2]
| ClientApplication::ClientApplication | ( | IConnection & | connection, |
| IClient & | client | ||
| ) |
Constructor without transformation client.
This constructor takes an instance of the IConnection interface and an instance of the IClient interface as parameters.
◆ ClientApplication() [2/2]
| ClientApplication::ClientApplication | ( | IConnection & | connection, |
| IClient & | client, | ||
| TransformationClient & | trafoClient | ||
| ) |
Constructor with transformation client.
This constructor takes an instance of the IConnection interface and an instance of the IClient interface and an instance of a TransformationClient as parameters.
Member Function Documentation
◆ connect()
| bool ClientApplication::connect | ( | int | port, |
| const char * | remoteHost = NULL |
||
| ) |
◆ step()
| bool ClientApplication::step | ( | ) |
The documentation for this class was generated from the following files:
- fri/FRI-Client-SDK_Cpp/include/friClientApplication.h
- fri/FRI-Client-SDK_Cpp/src/base/friClientApplication.cpp
Generated by