Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

avc1394control.h

Go to the documentation of this file.
00001 #ifndef _AVC1394Control_H
00002 #define _AVC1394Control_H
00003 
00004 
00005 #include "bcwindowbase.inc"
00006 #include <libavc1394/rom1394.h>
00007 #include <libavc1394/avc1394.h>
00008 #include <libavc1394/avc1394_vcr.h>
00009 #include "mutex.inc"
00010 #include <libraw1394/raw1394.h>
00011 #include <sys/types.h>
00012 #include <stdio.h>
00013 #include <errno.h>
00014 #include <stdlib.h>
00015 
00016 class AVC1394Control
00017 {
00018 public:
00019         AVC1394Control();
00020         ~AVC1394Control();
00021 
00022         void initialize();
00023 
00024         void play();
00025         void reverse();
00026         void stop();
00027         void pause();
00028         void rewind();
00029         void fforward();
00030         void record();
00031         void eject();
00032         void get_status();
00033         void seek(char *time);
00034         char *timecode();
00035         int device;
00036         int status;
00037         Mutex *device_lock;
00038 // Set by last button pressed to determine the effect of a second press of the
00039 // same button.  Command is from transportque.inc
00040         int current_command;
00041 
00042 private:
00043         rom1394_directory rom_dir;
00044         raw1394handle_t handle;
00045         char text_return[BCTEXTLEN];
00046 };
00047 
00048 #endif

Generated on Sun Jan 8 13:38:50 2006 for Cinelerra-svn by  doxygen 1.4.4