00001 #ifndef __ISO_H
00002 #define __ISO_H
00003
00004 #define VIDEO1394_SYNC_FRAMES 0x00000001
00005 #define VIDEO1394_INCLUDE_ISO_HEADERS 0x00000002
00006 #define VIDEO1394_VARIABLE_PACKET_SIZE 0x00000004
00007
00008
00009 #include "l1394_frame.h"
00010 #include "l1394_resource.h"
00011 namespace L1394{
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 class Iso
00026 {
00027 public:
00028
00029
00030
00031
00032 virtual ~Iso(){};
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044 virtual Frame *getFrame() = 0;
00045
00046
00047
00048 virtual void releaseFrame(Frame* frame) = 0;
00049
00050
00051
00052
00053 virtual void setFrameMode(const bool b) = 0;
00054
00055
00056
00057 virtual bool getFrameMode() const = 0;
00058
00059
00060
00061 virtual int setParameter(const int buffercount, const int channel, const int buffersize) = 0;
00062
00063
00064
00065 virtual int startIsoListen() = 0;
00066
00067
00068
00069 virtual int stopIsoListen () = 0;
00070 virtual void flushQueue() {}
00071 };
00072
00073 }
00074 #endif
00075
00076
00077