123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167 |
- #ifndef _ARGUS_STREAM_H
- #define _ARGUS_STREAM_H
- namespace Argus
- {
- DEFINE_NAMED_UUID_CLASS(StreamType);
- class OutputStream : public InterfaceProvider, public Destructable
- {
- protected:
- ~OutputStream() {}
- };
- class OutputStreamSettings : public InterfaceProvider, public Destructable
- {
- protected:
- ~OutputStreamSettings() {}
- };
- DEFINE_UUID(InterfaceID, IID_OUTPUT_STREAM_SETTINGS, 52f2b830,3d52,11e6,bdf4,08,00,20,0c,9a,66);
- class IOutputStreamSettings : public Interface
- {
- public:
- static const InterfaceID& id() { return IID_OUTPUT_STREAM_SETTINGS; }
-
- virtual Status setCameraDevice(CameraDevice* device) = 0;
- virtual CameraDevice* getCameraDevice() const = 0;
- protected:
- ~IOutputStreamSettings() {}
- };
- class InputStream : public InterfaceProvider, public Destructable
- {
- protected:
- virtual ~InputStream() {}
- };
- class InputStreamSettings : public InterfaceProvider, public Destructable
- {
- protected:
- virtual ~InputStreamSettings() {};
- };
- DEFINE_UUID(InterfaceID, IID_INPUT_STREAM_SETTINGS, 9609cd10,804b,11ec,bf44,08,00,20,0c,9a,66);
- class IInputStreamSettings : public Interface
- {
- public:
- static const InterfaceID& id() { return IID_INPUT_STREAM_SETTINGS; }
-
- virtual Status setCameraDevice(CameraDevice* device) = 0;
- virtual CameraDevice* getCameraDevice() const = 0;
- protected:
- ~IInputStreamSettings() {}
- };
- }
- #endif
|