rec::robotino::api2 C interface
PowerManagement.h
Go to the documentation of this file.
1 // Copyright (C) 2004-2008, Robotics Equipment Corporation GmbH
2 
3 #ifndef _REC_ROBOTINO_API2_C_POWERMANAGEMENT_H_
4 #define _REC_ROBOTINO_API2_C_POWERMANAGEMENT_H_
5 
6 #include "rec/robotino/api2/c/globals.h"
8 
20 typedef int PowerManagementId;
21 
23 #define INVALID_POWERMANAGEMENTID -1
24 
30 
36 DLLEXPORT BOOL PowerManagement_destroy( PowerManagementId id );
37 
42 DLLEXPORT BOOL PowerManagement_setComId( PowerManagementId id, ComId comId );
43 
49 DLLEXPORT float PowerManagement_current( PowerManagementId id );
50 
56 DLLEXPORT float PowerManagement_voltage( PowerManagementId id );
57 
58 #endif //_REC_ROBOTINO_API2_C_POWERMANAGEMENT_H_
DLLEXPORT float PowerManagement_current(PowerManagementId id)
DLLEXPORT float PowerManagement_voltage(PowerManagementId id)
DLLEXPORT BOOL PowerManagement_setComId(PowerManagementId id, ComId comId)
DLLEXPORT BOOL PowerManagement_destroy(PowerManagementId id)
In "rec/robotino/api2/c/Com.h" you can find functions for manipulating the communication interface to...
DLLEXPORT PowerManagementId PowerManagement_construct()
int PowerManagementId
Definition: PowerManagement.h:20
int ComId
Definition: Com.h:50