Aria
2.8.0
|
Interface for items that add information to the camera collection. More...
#include <ArCameraCollection.h>
Inherited by ArCameraParameterSource.
Public Member Functions | |
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. | |
Interface for items that add information to the camera collection.
ArCameraCollectionItem is a simple interface whose primary purpose is to identify classes that support some aspect of a camera's functionality. It defines two methods: one to identify the associated camera, and one that adds the information about the supported functionality to the collection. (Note that the addToCameraCollection() method is not automatically invoked. Its only purpose in life is to suggest consistency between different items.)