Main Page | Class Hierarchy | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages | Examples

vetNetServer.h

Go to the documentation of this file.
00001 
00030 /*
00031 
00032         LAN 100 Mbps    (12,5 Mb/s = 12800 Kb/s = 13107200 bytes/s)
00033 
00034 
00035         320*240 *3 *char        = 230400 bytes          -> MAX 56.888 fps
00036 
00037         320*320 *3 *char        = 307200 bytes          -> MAX 42.666 fps
00038 
00039         640*480 *3 *char        = 921600 bytes          -> MAX 14.222 fps
00040 
00041 
00042 
00043 
00044 */
00045 
00046 
00047 
00048 #ifndef __VETLIB_VETNETSERVER_H__
00049  #define __VETLIB_VETNETSERVER_H__
00050 
00051  #include "../vetDefs.h"
00052  #include "../vetOutput.h"
00053 
00054  #include "../vetFrameCache.h"
00055  #include "../vetFrameCache24.h"
00056  #include "../vetFrameRGB.h"
00057  #include "../vetFrameGrey.h"
00058 
00059  #include <time.h>      // clock()
00060 
00061 
00062 class vetNetServer :  public vetOutput
00063  {
00064 
00065         protected:
00066 
00067 
00068 
00069         public:
00070 
00071 
00072                 vetNetServer();
00073 
00074                 vetNetServer(unsigned int port);
00075 
00076 
00077                 int setPort(unsigned int port);
00078 
00079 
00091                 int importFrom(vetFrameCache& img);
00092 
00104                 int importFrom(vetFrameCache24& img);
00105 
00117                 int importFrom(vetFrameGrey& img);
00118 
00119 
00120 
00121 
00122 };
00123 
00124 #endif //__VETLIB_VETNETSERVER_H__

Generated on Tue Jan 24 11:59:05 2006 for VETLib by  doxygen 1.4.4