00001
00002
00003 #ifndef _REC_ROBOTINO_COM_DIGITALOUTPUT_H_
00004 #define _REC_ROBOTINO_COM_DIGITALOUTPUT_H_
00005
00006 #include "rec/robotino/com/Actor.h"
00007
00008 namespace rec
00009 {
00010 namespace robotino
00011 {
00012 namespace com
00013 {
00017 class
00018 #ifdef WIN32
00019 # ifdef rec_robotino_com_EXPORTS
00020 __declspec(dllexport)
00021 # endif
00022 # ifdef rec_robotino_com2_EXPORTS
00023 __declspec(dllexport)
00024 # endif
00025 # ifdef rec_robotino_com3_EXPORTS
00026 __declspec(dllexport)
00027 # endif
00028 #else
00029 # ifndef SWIG
00030 __attribute__ ((visibility ("default")))
00031 # endif
00032 #endif
00033 DigitalOutput : public Actor
00034 {
00035 public:
00036 DigitalOutput();
00037
00042 static unsigned int numDigitalOutputs();
00043
00050 void setOutputNumber( unsigned int n );
00051
00059 void setValue( bool on );
00060
00061 private:
00062 unsigned int _outputNumber;
00063 };
00064 }
00065 }
00066 }
00067 #endif