rec::robotino::api2 C interface
DigitalOutput.h
Go to the documentation of this file.
1 // Copyright (C) 2004-2008, Robotics Equipment Corporation GmbH
2 
3 #ifndef _REC_ROBOTINO_API2_C_DIGITALOUTPUT_H_
4 #define _REC_ROBOTINO_API2_C_DIGITALOUTPUT_H_
5 
6 #include "rec/robotino/api2/c/globals.h"
8 
17 typedef int DigitalOutputId;
18 
20 #define INVALID_DIGITALOUTPUTID -1
21 
27 DLLEXPORT DigitalOutputId DigitalOutput_construct( unsigned int n );
28 
34 DLLEXPORT BOOL DigitalOutput_destroy( DigitalOutputId id );
35 
40 DLLEXPORT BOOL DigitalOutput_setComId( DigitalOutputId id, ComId comId );
41 
49 DLLEXPORT BOOL DigitalOutput_setOutputNumber( DigitalOutputId id, unsigned int n );
50 
54 DLLEXPORT unsigned int numDigitalOutputs();
55 
56 
63 DLLEXPORT BOOL DigitalOutput_setValue( DigitalOutputId id, BOOL on );
64 
65 #endif //_REC_ROBOTINO_API2_C_DIGITALOUTPUT_H_
DLLEXPORT BOOL DigitalOutput_setValue(DigitalOutputId id, BOOL on)
DLLEXPORT BOOL DigitalOutput_setOutputNumber(DigitalOutputId id, unsigned int n)
DLLEXPORT DigitalOutputId DigitalOutput_construct(unsigned int n)
DLLEXPORT unsigned int numDigitalOutputs()
DLLEXPORT BOOL DigitalOutput_destroy(DigitalOutputId id)
int DigitalOutputId
Definition: DigitalOutput.h:17
In "rec/robotino/api2/c/Com.h" you can find functions for manipulating the communication interface to...
DLLEXPORT BOOL DigitalOutput_setComId(DigitalOutputId id, ComId comId)
int ComId
Definition: Com.h:50