orca-robotics INTRODUCTION Overview Download and Install Documentation REPOSITORY Interfaces Drivers Libraries Utilities Software Map DEVELOPER Dashboard PEOPLE Contributors Users Project Download Mailing lists
|
hydrointerfaces::Camera Class ReferenceAbstract class for a camera source.
More...
|
Public Member Functions | |
virtual void | read (Data &data)=0 |
virtual uint32_t | availableCameras ()=0 |
virtual std::vector< hydroimage::ImageFormat > | cameraImageFormats (uint32_t camera)=0 |
Classes | |
class | Config |
class | Data |
Data structure returned by read(). More... |
All camera sources should implement this, making it simple to add support for different camera sources.
This guy is not guaranteed to be thread-safe!
|
Returns the number of available cameras. Defaults to 0. If the driver has no method to obtain the camera count A documented assumption, likely availableCameras() returning 1, should be assumed. |
|
Returns the available camera formats for a particular camera Assumptions can be made in the driver so long as they are documented. |
|
Blocks till new data is available, but shouldn't occupy the thread indefinitely. Ranges and intensities can be expected to have been pre-sized correctly. Throws exceptions on un-recoverable faults. |
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)