Aria  2.8.0
ArCameraParameterSource Class Referenceabstract

Interface for collection items that also access the camera's parameters. More...

#include <ArCameraCollection.h>

Inherits ArCameraCollectionItem.

Public Member Functions

 ArCameraParameterSource ()
 Constructor.
 
virtual bool getParameter (const char *paramName, ArConfigArg &paramOut)=0
 Gets the specified camera parameter.
 
virtual bool setParameter (const ArConfigArg &param)=0
 Sets the given camera parameter.
 
 ~ArCameraParameterSource ()
 Destructor.
 
- Public Member Functions inherited from ArCameraCollectionItem
virtual void addToCameraCollection (ArCameraCollection &collection)=0
 Adds this item to the given camera collection.
 
 ArCameraCollectionItem ()
 Constructor.
 
virtual const char * getCameraName ()=0
 Returns the name of the camera handled by this item.
 
virtual ~ArCameraCollectionItem ()
 Destructor.
 

Detailed Description

Interface for collection items that also access the camera's parameters.

ArCameraParameterSource is a special collection item that provides the ability to read and modify some of the camera's parameters. In general, the addToCameraCollection() method should add the parameters to the collection. The collection will then invoke the getParameter() and setParameter() methods as callers make changes to the parameters; the ArCameraParameterSource is reponsible for propagating the changes to the camera hardware.


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