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

L1394::internal::DccIso Class Reference

#include <l1394_dcciso.h>

Inheritance diagram for L1394::internal::DccIso:

L1394::Iso List of all members.

Public Member Functions

 DccIso (const char *device)
virtual ~DccIso ()
virtual void releaseFrame (Frame *)
 This method releases a Frame.
virtual FramegetFrame ()
 This method returns a pointer to the next incoming frame.
virtual void setFrameMode (bool b)
virtual bool getFrameMode () const
 Returns the current frame mode.
virtual int startIsoListen ()
 This method starts iso-receive.
virtual int stopIsoListen ()
 This method stops iso-receive.
virtual int setParameter (const int buffercount, const int channel, const int buffersize)
 sets the parameter
virtual void flushQueue ()

Classes

struct  video1394_mmap
struct  video1394_queue_variable
struct  video1394_wait

Detailed Description

Author:
Michael Repplinger

Definition at line 46 of file l1394_dcciso.h.


Constructor & Destructor Documentation

L1394::internal::DccIso::DccIso const char *  device  ) 
 

Definition at line 27 of file l1394_dcciso.cpp.

References L1394::ThreadMutex::RECURSIVE.

L1394::internal::DccIso::~DccIso  )  [virtual]
 

Definition at line 50 of file l1394_dcciso.cpp.


Member Function Documentation

void L1394::internal::DccIso::flushQueue  )  [virtual]
 

Reimplemented from L1394::Iso.

Definition at line 307 of file l1394_dcciso.cpp.

References L1394::ThreadMutex::lock(), releaseFrame(), and L1394::ThreadMutex::unlock().

Referenced by L1394::DccCamera::stop().

Frame * L1394::internal::DccIso::getFrame  )  [virtual]
 

This method returns a pointer to the next incoming frame.

If no complete frame is available this method (blocked) waits for the next frame. The Frame will be released by calling this method again, if the auto-release mode is enabled.

Returns:
Frame* pointer to the buffer with the video frame.

Implements L1394::Iso.

Definition at line 74 of file l1394_dcciso.cpp.

References L1394::Singleton< T, CreationPolicy, LifetimePolicy, ThreadingModel >::getInstance(), L1394::ThreadMutex::lock(), releaseFrame(), and L1394::ThreadMutex::unlock().

Referenced by L1394::DccCamera::getFrame().

virtual bool L1394::internal::DccIso::getFrameMode  )  const [inline, virtual]
 

Returns the current frame mode.

Implements L1394::Iso.

Definition at line 53 of file l1394_dcciso.h.

void L1394::internal::DccIso::releaseFrame Frame  )  [virtual]
 

This method releases a Frame.

Implements L1394::Iso.

Definition at line 135 of file l1394_dcciso.cpp.

References L1394::Frame::getBuffer(), L1394::Singleton< T, CreationPolicy, LifetimePolicy, ThreadingModel >::getInstance(), L1394::ThreadMutex::lock(), and L1394::ThreadMutex::unlock().

Referenced by flushQueue(), and getFrame().

virtual void L1394::internal::DccIso::setFrameMode bool  b  )  [inline, virtual]
 

Implements L1394::Iso.

Definition at line 52 of file l1394_dcciso.h.

int L1394::internal::DccIso::setParameter const int  buffercount,
const int  channel,
const int  buffersize
[virtual]
 

sets the parameter

Implements L1394::Iso.

Definition at line 153 of file l1394_dcciso.cpp.

References L1394::Singleton< T, CreationPolicy, LifetimePolicy, ThreadingModel >::getInstance(), L1394_FAILED, L1394_SUCCESS, L1394::ThreadMutex::lock(), L1394::ThreadMutex::unlock(), and VIDEO1394_SYNC_FRAMES.

Referenced by L1394::DccCamera::init().

int L1394::internal::DccIso::startIsoListen  )  [virtual]
 

This method starts iso-receive.

Implements L1394::Iso.

Definition at line 227 of file l1394_dcciso.cpp.

References L1394_SUCCESS.

Referenced by L1394::DccCamera::init().

int L1394::internal::DccIso::stopIsoListen  )  [virtual]
 

This method stops iso-receive.

Implements L1394::Iso.

Definition at line 253 of file l1394_dcciso.cpp.

References L1394::Singleton< T, CreationPolicy, LifetimePolicy, ThreadingModel >::getInstance(), L1394_FAILED, L1394_SUCCESS, L1394::ThreadMutex::lock(), and L1394::ThreadMutex::unlock().


The documentation for this class was generated from the following files:
Generated on Wed Aug 24 00:36:45 2005 for L1394 by doxygen 1.4.2
L1394 library (NMM) grahics.cs.uni-sb.de/~repplix/l1394_home/