rec::robotino::api2 C interface
Gripper.h
Go to the documentation of this file.
1 // Copyright (C) 2004-2008, Robotics Equipment Corporation GmbH
2 
3 #ifndef _REC_ROBOTINO_API2_C_GRIPPER_H_
4 #define _REC_ROBOTINO_API2_C_GRIPPER_H_
5 
6 #include "rec/robotino/api2/c/globals.h"
8 
20 typedef int GripperId;
21 
23 #define INVALID_GRIPPERID -1
24 
29 DLLEXPORT GripperId Gripper_construct();
30 
36 DLLEXPORT BOOL Gripper_destroy( GripperId id );
37 
42 DLLEXPORT BOOL Gripper_setComId( GripperId id, ComId comId );
43 
47 DLLEXPORT BOOL Gripper_open( GripperId id );
48 
52 DLLEXPORT BOOL Gripper_close( GripperId id );
53 
58 DLLEXPORT BOOL Gripper_isOpened( GripperId id );
59 
64 DLLEXPORT BOOL Gripper_isClosed( GripperId id );
65 
66 #endif //_REC_ROBOTINO_API2_C_GRIPPER_H_
DLLEXPORT BOOL Gripper_setComId(GripperId id, ComId comId)
In "rec/robotino/api2/c/Com.h" you can find functions for manipulating the communication interface to...
int GripperId
Definition: Gripper.h:20
DLLEXPORT BOOL Gripper_close(GripperId id)
DLLEXPORT BOOL Gripper_isClosed(GripperId id)
DLLEXPORT GripperId Gripper_construct()
DLLEXPORT BOOL Gripper_destroy(GripperId id)
int ComId
Definition: Com.h:50
DLLEXPORT BOOL Gripper_open(GripperId id)
DLLEXPORT BOOL Gripper_isOpened(GripperId id)