rec::robotino::api2 C interface
AnalogInput.h
Go to the documentation of this file.
1 // Copyright (C) 2004-2008, Robotics Equipment Corporation GmbH
2 
3 #ifndef _REC_ROBOTINO_API2_C_ANALOGINPUT_H_
4 #define _REC_ROBOTINO_API2_C_ANALOGINPUT_H_
5 
6 #include "rec/robotino/api2/c/globals.h"
8 
17 typedef int AnalogInputId;
18 
20 #define INVALID_ANALOGINPUTID -1
21 
27 DLLEXPORT AnalogInputId AnalogInput_construct( unsigned int n );
28 
34 DLLEXPORT BOOL AnalogInput_destroy( AnalogInputId id );
35 
40 DLLEXPORT BOOL AnalogInput_setComId( AnalogInputId id, ComId comId );
41 
49 DLLEXPORT BOOL AnalogInput_setInputNumber( AnalogInputId id, unsigned int n );
50 
54 DLLEXPORT unsigned int numAnalogInputs();
55 
56 
62 DLLEXPORT float AnalogInput_value( AnalogInputId id );
63 
64 #endif //_REC_ROBOTINO_API2_C_ANALOGINPUT_H_
DLLEXPORT BOOL AnalogInput_destroy(AnalogInputId id)
DLLEXPORT unsigned int numAnalogInputs()
DLLEXPORT BOOL AnalogInput_setInputNumber(AnalogInputId id, unsigned int n)
In "rec/robotino/api2/c/Com.h" you can find functions for manipulating the communication interface to...
int AnalogInputId
Definition: AnalogInput.h:17
DLLEXPORT BOOL AnalogInput_setComId(AnalogInputId id, ComId comId)
int ComId
Definition: Com.h:50
DLLEXPORT float AnalogInput_value(AnalogInputId id)
DLLEXPORT AnalogInputId AnalogInput_construct(unsigned int n)