WURDE1394Camera::WURDE1394CameraFinder Class Reference

List of all members.

Detailed Description

This class looks for cameras on the firewire bus and will return either (a) all of them or (b) just one, identified by the ID number.

Definition at line 125 of file WURDE1394Camera.H.

Public Member Functions

 WURDE1394CameraFinder ()
void init ()
dc1394camera_t * getCameraByID (u_int64_t id)
void freeCamera (u_int64_t id)

Private Attributes

raw1394handle_t m_rawHandle
raw1394_portinfo m_ports [MAX_1394_PORTS]
int m_numPorts
int m_camCount
std::map< u_int64_t, dc1394camera_t * > m_cameras

Constructor & Destructor Documentation

WURDE1394CameraFinder (  )  [inline]

Definition at line 127 of file WURDE1394Camera.H.

Member Function Documentation

void init (  ) 

Definition at line 14 of file WURDE1394Camera.cpp.

dc1394camera_t * getCameraByID ( u_int64_t  id  ) 

Definition at line 18 of file WURDE1394Camera.cpp.

References err, WURDE::g_debug(), and WURDE1394Camera::WURDE1394CameraFinder::m_cameras.

Referenced by WURDE1394Camera::WURDE1394Camera().

void freeCamera ( u_int64_t  id  )  [inline]

Definition at line 131 of file WURDE1394Camera.H.

References WURDE1394Camera::WURDE1394CameraFinder::m_cameras.

Referenced by WURDE1394Camera::~WURDE1394Camera().

Member Data Documentation

raw1394handle_t m_rawHandle [private]

Definition at line 141 of file WURDE1394Camera.H.

struct raw1394_portinfo m_ports[MAX_1394_PORTS] [private]

Definition at line 142 of file WURDE1394Camera.H.

int m_numPorts [private]

Definition at line 143 of file WURDE1394Camera.H.

int m_camCount [private]

Definition at line 144 of file WURDE1394Camera.H.

std::map<u_int64_t,dc1394camera_t *> m_cameras [private]

Definition at line 145 of file WURDE1394Camera.H.

Referenced by WURDE1394Camera::WURDE1394CameraFinder::freeCamera(), and WURDE1394Camera::WURDE1394CameraFinder::getCameraByID().

The documentation for this class was generated from the following files:
Generated on Thu Feb 1 15:31:56 2007 for WURDE by  doxygen 1.5.1