VrMagicHandler_camhost.h
Go to the documentation of this file.
00001 /*
00002  * VrMagicHandlercamhost.h
00003  *
00004  *  Created on: 29.07.2014
00005  *      Author: m1ch1
00006  */
00007 
00008 #ifndef VRMAGICHANDLERCAMHOST_H_
00009 #define VRMAGICHANDLERCAMHOST_H_
00010 
00011 #include "TCP/TCP.h"
00012 #include "../../../include/VrMagicHandler_base.h"
00013 
00014 namespace ohm
00015 {
00016 
00017 class VrMagicHandler_camhost
00018 {
00019 public: //functions
00026     VrMagicHandler_camhost(unsigned int port_smartcam);
00027 
00032     virtual ~VrMagicHandler_camhost();
00033 
00042     void connect();
00043 
00051     int writeImage(ohm::ImageType& image);
00052 
00060     //int wait();
00061 
00062     unsigned int getPort() const;
00063 
00064 private: //functions
00065 
00066 private: //dataelements
00067     unsigned int _port;
00068     apps::TCP* _tcpServer;
00069 
00070     OHM_HEADER_TYPE* _imgHeader;
00071 
00072 };
00073 
00074 } /* namespace ohm */
00075 
00076 #endif /* VRMAGICHANDLERCAMHOST_H_ */


vrmagic_ros_bridge_server
Author(s): Michael Schmidpeter
autogenerated on Thu Aug 27 2015 15:40:39