CameraManager Class Reference

#include <CameraManager.hh>

List of all members.

Detailed Description

Class to manage all the cameras in the world

Public Member Functions

 ~CameraManager ()
void AddCamera (CameraSensor *camera)
unsigned int GetNumCameras () const
CameraSensorGetCamera (int index)
void SetActiveCamera (unsigned int index)
CameraSensorGetActiveCamera ()
void IncActiveCamera ()
void DecActiveCamera ()

Static Public Member Functions

static CameraManagerInstance ()

Constructor & Destructor Documentation

~CameraManager (  ) 


Member Function Documentation

static CameraManager* Instance (  )  [static]

Get instance of the camera manager

void AddCamera ( CameraSensor camera  ) 

Add camera to the manager

unsigned int GetNumCameras (  )  const

Return the number of cameras

CameraSensor* GetCamera ( int  index  ) 

Get a camera

index Index of the camera to get
Pointer to the camera

void SetActiveCamera ( unsigned int  index  ) 

Set a camera to be active.

CameraSensor* GetActiveCamera (  ) 

Return the active camera

Pointer to the active camera

void IncActiveCamera (  ) 

Set the next camera in the queue to be active

void DecActiveCamera (  ) 

Set the prev camera in the queue to be active

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

Last updated Aug 04 2007