00001 /****************************************************************************\ 00002 * * 00003 * 25.04.2006 * 00004 * ICamCtrl - Source File * 00005 * * 00006 * (c) Robert Hausmair * 00007 * * 00008 \****************************************************************************/ 00009 00010 /****************************************************************************\ 00011 * REQUIRED HEADERS * 00012 \****************************************************************************/ 00013 00014 #include "ICamCtrl.h" 00015 #include "CCamera.h" 00016 00017 /****************************************************************************\ 00018 * PRIVATE DEFINITIONS * 00019 \****************************************************************************/ 00020 00021 /****************************************************************************\ 00022 * PUBLIC CLASS FUNCTIONS * 00023 \****************************************************************************/ 00024 00025 //CONSTRUCTOR 00026 ICamCtrl::ICamCtrl() : IInputHandler(),m_pCamera(NULL){} 00027 00028 //DESTRUCTOR 00029 ICamCtrl::~ICamCtrl() 00030 { 00031 m_pCamera = NULL; 00032 } 00033 00034 void ICamCtrl::Enable(const TSmartPointer<CCamera> &pCamera) 00035 { 00036 m_pCamera = pCamera; 00037 } 00038 00039 void ICamCtrl::Disable() 00040 { 00041 m_pCamera = NULL; 00042 } 00043 00044 /****************************************************************************\ 00045 * PROTECTED CLASS FUNCTIONS * 00046 \****************************************************************************/ 00047 00048 /****************************************************************************\ 00049 * PRIVATE CLASS FUNCTIONS * 00050 \****************************************************************************/