00001
00002
00003 #ifndef _REC_ROBOTINO_COM_C_POWERMANAGEMENT_H_
00004 #define _REC_ROBOTINO_COM_C_POWERMANAGEMENT_H_
00005
00006 #include "rec/robotino/com/c/globals.h"
00007 #include "rec/robotino/com/c/Com.h"
00008
00019 typedef int PowerManagementId;
00020
00021 #define INVALID_POWERMANAGEMENTID -1
00022
00027 DLLEXPORT PowerManagementId PowerManagement_construct();
00028
00034 DLLEXPORT BOOL PowerManagement_destroy( PowerManagementId id );
00035
00040 DLLEXPORT BOOL PowerManagement_setComId( PowerManagementId id, ComId comId );
00041
00047 DLLEXPORT float PowerManagement_current( PowerManagementId id );
00048
00054 DLLEXPORT float PowerManagement_voltage( PowerManagementId id );
00055
00056 #endif //_REC_ROBOTINO_COM_C_POWERMANAGEMENT_H_