orca-robotics


INTRODUCTION
Overview
Download and Install
Documentation

REPOSITORY
Interfaces
Drivers
Libraries
Utilities
Software Map

DEVELOPER
Dashboard

PEOPLE
Contributors
Users

SourceForge.net Logo
Project
Download
Mailing lists

 

         

hydrointerfaces::Camera Class Reference
[Camera]

Abstract class for a camera source. More...

#include <camera.h>

Inherited by camerafake::Driver, camerafake::Driver, camerafile::Driver, cameraopencv::Driver, and cameraopencv::Driver.

List of all members.

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...


Detailed Description

Abstract class for a camera source.

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!

Author:
Tom Burdick tburdi1 at uic.edu


Member Function Documentation

virtual uint32_t hydrointerfaces::Camera::availableCameras  )  [pure virtual]
 

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.

virtual std::vector<hydroimage::ImageFormat> hydrointerfaces::Camera::cameraImageFormats uint32_t  camera  )  [pure virtual]
 

Returns the available camera formats for a particular camera Assumptions can be made in the driver so long as they are documented.

virtual void hydrointerfaces::Camera::read Data data  )  [pure virtual]
 

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.


The documentation for this class was generated from the following file:
 

Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)


Generated for Orca Robotics by  doxygen 1.4.5