Camstream: CamStream API documentation

Main Page Class Hierarchy Compound List File List Compound Members File Members

# VideoCollector.h

Go to the documentation of this file.

    00001 #ifndef VIDEOCOLLECTOR_HPP
    00002 #define VIDEOCOLLECTOR_HPP
    00003
    00004 #ifdef HAVE_CONFIG_H
    00005 #include <config.h>
    00006 #endif
    00007
    00008 #include <qlist.h>
    00009
    00010 #include "VideoDevice.h"
    00011
    00012 class CVideoCollector
    00013 {
    00014 private:
    00015    static CVideoCollector *Collector;
    00016    QList<CVideoDevice> Devices;
    00017
    00018    CVideoCollector();
    00019    void Scan();
    00020
    00021 public:
    00022    static CVideoCollector *Instance();
    00023
    00024    int NumberOfVideoDevices() const;
    00025    CVideoDevice *GetVideoDevice(int n);
    00026 };
    00027
    00028 #endif