rllib  1
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
rlwebcam.h
Go to the documentation of this file.
1 /***************************************************************************
2  rlwebcam.h - description
3  -------------------
4  begin : Mo Aug 24 2009
5  copyright : (C) 2009 by R. Lehrig
6  email : lehrig@t-online.de
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This library is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU LESSER GENERAL PUBLIC LICENSE as *
13  * published by the Free Software Foundation *
14  * *
15  ***************************************************************************/
16 #ifndef _RL_WEBCAM_H_
17 #define _RL_WEBCAM_H_
18 
19 #include "rldefine.h"
20 #include "rlsocket.h"
21 #include "rlstring.h"
22 
77 class rlWebcam
78 {
79 public:
80  rlWebcam();
81  virtual ~rlWebcam();
82  int setUrl(const char *url);
83  int disconnect();
84  const char *getSnapshot(int timeout=3000);
85  const char *getFrame(int timeout=3000);
86  const char *getUrl();
87  const char *getHost();
88  int getPort();
89  const char *getPath();
90  int debug;
92 
93 private:
96 };
97 #endif