Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
CameraDriver Class Reference#include <CameraDriverOSX.h>
Inheritance diagram for CameraDriver:
![]() Detailed Descriptiondescription of CameraDriverDefinition at line 10 of file CameraDriverOSX.h.
Constructor & Destructor Documentation
Definition at line 24 of file CameraDriverOSX.h.
Definition at line 19 of file CameraDriverV4L.h.
Definition at line 33 of file CameraDriverV4L.h.
Member Function Documentation
Returns the name of the class (aka its type). Suggested implementation is to declare a static string member, set it to the result of calling the registry's registerType, and then return that member here Implements DeviceDriver. Definition at line 26 of file CameraDriverOSX.h.
converts from pascal-format string to c-format string
Definition at line 42 of file CameraDriverOSX.h.
Referenced by CameraDriver().
Returns the name of the class (aka its type). Suggested implementation is to declare a static string member, set it to the result of calling the registry's registerType, and then return that member here Implements DeviceDriver. Definition at line 38 of file CameraDriverV4L.h.
returns the simulator time of the next data segment should be in the future if nothing new since last data segment, otherwise should be the timestamp of the most recent data segment (older segments are skipped), return -1U if there is no more data
Implements DataSource. Definition at line 44 of file CameraDriverV4L.h.
returns a descriptive name of the next data segment for user feedback
Implements DataSource. Definition at line 45 of file CameraDriverV4L.h.
called to retrieve the most recent data segment, or blocking until new data is available
This call should block until data is available. Other functions may be called asynchronously from other threads while in this function, see ThreadNS::Lock to implement mutual exclusion locks if needed. The input value of timestamp is a suggestion from the user's requested framerate -- try to return the frame closest to it. If it is already past (e.g. 0 on 'advance'), return the current data! If you return a timestamp in the future, the LoadDataThread will sleep until the appropriate time. Note that this can be called when the source is frozen, which means you should unfreeze, get the current (unread) data or block until the next data, freeze again, and return the data. Implements DataSource.
called by the LoadDataThread subclass, allows you to register for properties which your subclass may care about a pointer to the LoadDataThread is passed when this is becoming the current data source; NULL will be passed when the data source is no longer being used Reimplemented from DataSource.
Definition at line 67 of file CameraDriverV4L.h.
Definition at line 68 of file CameraDriverV4L.h.
Definition at line 69 of file CameraDriverV4L.h.
Member Data Documentation
holds the class name, set via registration with the DeviceDriver registry
Definition at line 53 of file CameraDriverOSX.h. Referenced by getClassName().
Definition at line 53 of file CameraDriverV4L.h. Referenced by CameraDriver(), getBufferSize(), getHeight(), getWidth(), and ~CameraDriver().
Controls the resolution layer at which the image should be processed.
Definition at line 54 of file CameraDriverV4L.h. Referenced by CameraDriver().
Definition at line 73 of file CameraDriverV4L.h.
Definition at line 74 of file CameraDriverV4L.h.
Definition at line 75 of file CameraDriverV4L.h.
Definition at line 76 of file CameraDriverV4L.h. Referenced by getBufferSize(), getHeight(), and getWidth().
Definition at line 77 of file CameraDriverV4L.h.
Definition at line 78 of file CameraDriverV4L.h.
Definition at line 79 of file CameraDriverV4L.h.
Definition at line 80 of file CameraDriverV4L.h.
the buffer we returned last time (might still be in use while writing curBuf)
Definition at line 83 of file CameraDriverV4L.h.
used during interleave_yuv_up(), swapped back and forth with curBuf
Definition at line 84 of file CameraDriverV4L.h.
Definition at line 85 of file CameraDriverV4L.h.
The documentation for this class was generated from the following files: |
Tekkotsu Hardware Abstraction Layer 4.0 |
Generated Thu Nov 22 01:01:18 2007 by Doxygen 1.5.4 |