Page principale | Liste des namespaces | Hiérarchie des classes | Liste par ordre alphabétique | Liste des composants | Liste des fichiers | Membres des namespaces | Composants | Déclarations

Référence de la classe ExManagerCamera

#include <ExManagerCamera.h>

Graphe d'héritage de la classe ExManagerCamera

ExManagerObject< ExCCamera * > ExManager

Membres publics

void SetManagerModel (ExManagerModel *Model)
void Reset (void)
void Init (void)
void Draw (void)
void AddCamera (std::string CameraName, CameraType Type)
ExCCameraGetCurrentObject (void)
ExCCameraGetObject (ExNihilo::ExId id)
ExCAction InputCommand (ExCCommand Command)
ExCAction InputAction (ExCAction Action)
void SetManagerId (ExManagerId *Id)
void Init (std::string FileName)
void Reload (void)
void List (void)
bool Add (ExCCamera *object)
bool Add (std::string FileName)
bool Load (std::string FileName)
bool Remove (ExNihilo::ExId id)
bool Remove (std::string Name)
bool RemoveCurrentObject (void)
ExCCamera ** GetObject (std::string Name)
ExCCamera ** GetFirstObject (void)
ExCCamera ** GetLastObject (void)
ExNihilo::ExId GetFirstObjectId (void)
ExNihilo::ExId GetLasstObjectId (void)
bool SetCurrentObject (ExNihilo::ExId id)
bool SetCurrentObject (std::string Name)
ExNihilo::ExId NextObject (void)
ExNihilo::ExId PreviousObject (void)
unsigned int GetNumberObject (void)
void SetFlux (std::ostrstream *consol, ExCFluxAction *action)
bool GetStatus (void)
void SetStatus (bool status)
void SetAskForCommand (bool status)
void SetAskForExclusifCommand (bool status)
bool AskForCommand (void)
bool AskForExclusifCommand (void)

Membres publics statiques

ExManagerCameraCreateSingleton (void)

Attributs Publics

std::ostrstream * Consol
ExCFluxActionFluxAction

Attributs Protégés

std::map< ExNihilo::ExId,
ExCCamera *, std::less< ExNihilo::ExId > > * 
m_Map
std::map< ExNihilo::ExId,
ExCCamera *, std::less< ExNihilo::ExId
> >::iterator 
m_ItMap
ExManagerIdManagerId
ExNihilo::ExId m_CurrentObjectId
bool m_Status
bool m_AskForCommand
bool m_Exclusif

Membres privés

 ExManagerCamera (void)
 ~ExManagerCamera (void)

Attributs Privés

ExManagerModelManagerModel

Attributs Privés Statiques

bool m_flag = false
ExManagerCameram_instance = NULL

Documentation des contructeurs et destructeurs

ExManagerCamera::ExManagerCamera void   )  [private]
 

Définition à la ligne 42 du fichier ExManagerCamera.cpp.

00043 {
00044         
00045 }

ExManagerCamera::~ExManagerCamera void   )  [private]
 

Définition à la ligne 47 du fichier ExManagerCamera.cpp.

00048 {
00049 }


Documentation des méthodes

bool ExManagerObject< ExCCamera * >::Add std::string  FileName  )  [inherited]
 

bool ExManagerObject< ExCCamera * >::Add ExCCamera *   object  )  [inherited]
 

void ExManagerCamera::AddCamera std::string  CameraName,
CameraType  Type
 

Définition à la ligne 72 du fichier ExManagerCamera.cpp.

Références ExManagerObject< TypeA >::Add(), AddCamera(), CAMERA_CHASE, CAMERA_DEFAULT, CAMERA_FIRST, CAMERA_FLIGHT, CAMERA_FREE, CameraType, Guard, ManagerModel, ExCObject::SetName(), et UnGuard.

Référencé par AddCamera(), et Init().

00073 {
00074 Guard(void ExManagerCamera::AddCamera(std::string CameraName,CameraType Type))
00075         ExCCamera *Camera;
00076         switch(Type) 
00077         {
00078         case CAMERA_DEFAULT:
00079                 Camera = new ExCCamera;
00080                 break;
00081         case CAMERA_FREE:
00082                 Camera = new ExCCameraFree;
00083                 break;
00084         case CAMERA_CHASE:
00085                 Camera = new ExCCameraChase;
00086                 ((ExCCameraChase *)Camera)->SetManagerModel(ManagerModel);
00087                 break;
00088         case CAMERA_FIRST:
00089                 Camera= new ExCCameraFirst;
00090                 ((ExCCameraFirst *)Camera)->SetManagerModel(ManagerModel);
00091                 break;
00092         case CAMERA_FLIGHT:
00093                 Camera= new ExCCameraFlight;
00094                 break;
00095         }
00096         Camera->SetName(CameraName);
00097         ExManagerObject<ExCCamera *>::Add(Camera);
00098 UnGuard
00099 }

bool ExManager::AskForCommand void   )  [inline, inherited]
 

Définition à la ligne 89 du fichier ExManager.h.

Références ExManager::m_AskForCommand.

Référencé par ExManagerCommand::InputCommand().

00089 {return m_AskForCommand;}

bool ExManager::AskForExclusifCommand void   )  [inline, inherited]
 

Définition à la ligne 90 du fichier ExManager.h.

Références ExManager::m_Exclusif.

Référencé par ExManagerCommand::InputCommand().

00090 {return m_Exclusif;}

ExManagerCamera * ExManagerCamera::CreateSingleton void   )  [static]
 

Définition à la ligne 28 du fichier ExManagerCamera.cpp.

Références CreateSingleton(), Guard, m_flag, m_instance, et UnGuard.

Référencé par CreateManager(), et CreateSingleton().

00028                                                      {
00029 Guard(ExManagerCamera* ExManagerCamera::CreateSingleton(void))
00030         if(!m_flag)
00031         {
00032                 m_flag = true; // We are creating the error log now, so set flag to true
00033                 m_instance = new ExManagerCamera; // Create the error log
00034         }else
00035         {
00036                 std::cout<<"Error singleton already created"<<std::endl;
00037         }
00038         return m_instance; 
00039 UnGuard
00040 }

void ExManagerCamera::Draw void   )  [virtual]
 

Redéfinie à partir de ExManagerObject< ExCCamera * >.

Définition à la ligne 100 du fichier ExManagerCamera.cpp.

Références ExCCamera::Draw(), Draw(), GetCurrentObject(), Guard, ExManagerObject< ExCCamera * >::m_ItMap, ExManagerObject< ExCCamera * >::m_Map, et UnGuard.

Référencé par Draw(), ExManagerLoad::DrawInAnimation(), et ExManagerOutput::DrawScene().

00101 {
00102 Guard(void ExManagerCamera::Draw(void))
00103         glMatrixMode(GL_PROJECTION);
00104         glLoadIdentity();
00105         glViewport(0,0,glutGet(GLUT_WINDOW_WIDTH),glutGet(GLUT_WINDOW_HEIGHT));
00106         gluPerspective(GetCurrentObject()->GetZoom(),
00107                 (1.0f *glutGet(GLUT_WINDOW_WIDTH)/glutGet(GLUT_WINDOW_HEIGHT)),
00108                 GetCurrentObject()->GetClipNear(),
00109                 GetCurrentObject()->GetClipFar());
00110         glMatrixMode(GL_MODELVIEW);
00111         glLoadIdentity();
00112         //Draw camera gizmo
00113         for(m_ItMap=m_Map->begin();m_ItMap!=m_Map->end();m_ItMap++)
00114         {
00115                 m_ItMap->second->DrawCameraGizmo();
00116         }
00117         GetCurrentObject()->Draw();     
00118 UnGuard
00119 }

ExCCamera * ExManagerCamera::GetCurrentObject void   ) 
 

Redéfinie à partir de ExManagerObject< ExCCamera * >.

Définition à la ligne 121 du fichier ExManagerCamera.cpp.

Références GetCurrentObject(), GetObject(), Guard, ExManagerObject< ExCCamera * >::m_CurrentObjectId, et UnGuard.

Référencé par Draw(), GetCurrentObject(), InputAction(), InputCommand(), et ExManagerOutput::Reshape().

00122 {
00123 Guard(ExCCamera* ExManagerCamera::GetCurrentObject(void))
00124         return GetObject(m_CurrentObjectId);
00125 UnGuard
00126 }

ExCCamera * * ExManagerObject< ExCCamera * >::GetFirstObject void   )  [inherited]
 

ExNihilo::ExId ExManagerObject< ExCCamera * >::GetFirstObjectId void   )  [inherited]
 

ExNihilo::ExId ExManagerObject< ExCCamera * >::GetLasstObjectId void   )  [inherited]
 

ExCCamera * * ExManagerObject< ExCCamera * >::GetLastObject void   )  [inherited]
 

unsigned int ExManagerObject< ExCCamera * >::GetNumberObject void   )  [inline, inherited]
 

Définition à la ligne 124 du fichier ExManagerObject.h.

00124 {return m_Map->size();}

ExCCamera * * ExManagerObject< ExCCamera * >::GetObject std::string  Name  )  [inherited]
 

ExCCamera * ExManagerCamera::GetObject ExNihilo::ExId  id  ) 
 

Redéfinie à partir de ExManagerObject< ExCCamera * >.

Définition à la ligne 128 du fichier ExManagerCamera.cpp.

Références ExNihilo::ExId, GetObject(), Guard, ExManagerObject< ExCCamera * >::m_ItMap, ExManagerObject< ExCCamera * >::m_Map, et UnGuard.

Référencé par GetCurrentObject(), GetObject(), et ExCAnimation::LoadFile().

00129 {
00130 Guard(ExCCamera *ExManagerCamera::GetObject(ExNihilo::ExId id))
00131         for(m_ItMap=m_Map->begin();m_ItMap!=m_Map->end();m_ItMap++)
00132         {
00133                 if(m_ItMap->second->GetId()==id)return m_ItMap->second;
00134         }
00135         return NULL;
00136 UnGuard
00137 }

bool ExManager::GetStatus void   )  [inline, inherited]
 

Définition à la ligne 85 du fichier ExManager.h.

Références ExManager::m_Status.

Référencé par ExManagerInterface::Draw(), ExManagerConsole::Draw(), et ExManagerOutput::DrawScene().

00085 {return m_Status;}

void ExManagerObject< ExCCamera * >::Init std::string  FileName  )  [inherited]
 

void ExManagerCamera::Init void   )  [virtual]
 

Redéfinie à partir de ExManagerObject< ExCCamera * >.

Définition à la ligne 59 du fichier ExManagerCamera.cpp.

Références AddCamera(), CAMERA_CHASE, CAMERA_DEFAULT, CAMERA_FIRST, CAMERA_FLIGHT, Guard, ExManagerObject< TypeA >::Init(), Init(), ExManagerObject< ExCCamera * >::SetCurrentObject(), et UnGuard.

Référencé par Init(), PreInitManager(), et Reset().

00060 {
00061 Guard(void ExManagerCamera::Init(void))
00062         ExManagerObject<ExCCamera *>::Init();
00063         AddCamera("Camera",CAMERA_DEFAULT);
00064         AddCamera("Camera2",CAMERA_DEFAULT);
00065         AddCamera("Camera3",CAMERA_DEFAULT);
00066         AddCamera("CameraChase",CAMERA_CHASE);
00067         AddCamera("CameraFirst",CAMERA_FIRST);
00068         AddCamera("CameraFlight",CAMERA_FLIGHT);
00069         SetCurrentObject("Camera");
00070 UnGuard
00071 }

ExCAction ExManagerCamera::InputAction ExCAction  Action  )  [virtual]
 

Redéfinie à partir de ExManager.

Définition à la ligne 147 du fichier ExManagerCamera.cpp.

Références ANGLE_AROUND_TARGET_DOWN, ANGLE_AROUND_TARGET_UP, CAMERA_CURRENT_DECREASE_SPEED, CAMERA_CURRENT_DECREASE_ZOOM, CAMERA_CURRENT_FULL_STOP, CAMERA_CURRENT_HIDE_INFO, CAMERA_CURRENT_INCREASE_SPEED, CAMERA_CURRENT_INCREASE_ZOOM, CAMERA_CURRENT_ROTATEX_DOWN, CAMERA_CURRENT_ROTATEX_UP, CAMERA_CURRENT_ROTATEY_DOWN, CAMERA_CURRENT_ROTATEY_UP, CAMERA_CURRENT_ROTATEZ_DOWN, CAMERA_CURRENT_ROTATEZ_UP, CAMERA_CURRENT_SHOW_INFO, CAMERA_CURRENT_START_DECREASE_AROUND, CAMERA_CURRENT_START_DECREASE_DISTANCE, CAMERA_CURRENT_START_DECREASE_HEIGHT, CAMERA_CURRENT_START_DECREASE_ZOOM, CAMERA_CURRENT_START_INCREASE_AROUND, CAMERA_CURRENT_START_INCREASE_DISTANCE, CAMERA_CURRENT_START_INCREASE_HEIGHT, CAMERA_CURRENT_START_INCREASE_ZOOM, CAMERA_CURRENT_START_ROTATEX_DOWN, CAMERA_CURRENT_START_ROTATEX_UP, CAMERA_CURRENT_START_ROTATEY_DOWN, CAMERA_CURRENT_START_ROTATEY_UP, CAMERA_CURRENT_START_ROTATEZ_DOWN, CAMERA_CURRENT_START_ROTATEZ_UP, CAMERA_CURRENT_STOP_DECREASE_AROUND, CAMERA_CURRENT_STOP_DECREASE_DISTANCE, CAMERA_CURRENT_STOP_DECREASE_HEIGHT, CAMERA_CURRENT_STOP_DECREASE_ZOOM, CAMERA_CURRENT_STOP_INCREASE_AROUND, CAMERA_CURRENT_STOP_INCREASE_DISTANCE, CAMERA_CURRENT_STOP_INCREASE_HEIGHT, CAMERA_CURRENT_STOP_INCREASE_ZOOM, CAMERA_CURRENT_STOP_ROTATEX_DOWN, CAMERA_CURRENT_STOP_ROTATEX_UP, CAMERA_CURRENT_STOP_ROTATEY_DOWN, CAMERA_CURRENT_STOP_ROTATEY_UP, CAMERA_CURRENT_STOP_ROTATEZ_DOWN, CAMERA_CURRENT_STOP_ROTATEZ_UP, CAMERA_NEXT_CAM, CAMERA_PREV_CAM, CAMERA_SET_ANGLE_X, CAMERA_SET_ANGLE_Y, CAMERA_SET_ANGLE_Z, CAMERA_SET_POS_X, CAMERA_SET_POS_Y, CAMERA_SET_POS_Z, CAMERA_SET_TARGET_POS_X, CAMERA_SET_TARGET_POS_Y, CAMERA_SET_TARGET_POS_Z, ExManager::Consol, ExCVec3D::DecX(), ExCVec3D::DecY(), ExCVec3D::DecZ(), DISTANCE_FROM_TARGET_DOWN, DISTANCE_FROM_TARGET_UP, GetCurrentObject(), Guard, HEIGHT_FROM_TARGET_DOWN, HEIGHT_FROM_TARGET_UP, ExCVec3D::IncX(), ExCVec3D::IncY(), ExCVec3D::IncZ(), InputAction(), ExCAction::m_Action, ExCObject3D::m_Angle, ExCAction::m_Param, ExCObject3D::m_Position, ExCObject3D::m_speed, ExCObject3D::m_Target, ExManagerObject< ExCCamera * >::NextObject(), NOTHING, ExManagerObject< ExCCamera * >::PreviousObject(), ROTATE_X_DOWN, ROTATE_X_UP, ROTATE_Y_DOWN, ROTATE_Y_UP, ROTATE_Z_DOWN, ROTATE_Z_UP, ExCObject3D::SetShowInfoState(), ExCVec3D::SetX(), ExCVec3D::SetY(), ExCVec3D::SetZ(), ExCCamera::StartAction(), ExCCamera::StopAction(), UnGuard, ZOOM_DOWN, ZOOM_UP, ExCCamera::ZoomIn(), et ExCCamera::ZoomOut().

Référencé par InputAction(), et ExManagerCommand::ProcesExCAction().

00148 {
00149 Guard(ExManagerCamera::InputAction(ExCAction Action))
00150         switch(Action.m_Action)
00151         {
00152         case CAMERA_CURRENT_INCREASE_SPEED:
00153                 GetCurrentObject()->m_speed++;
00154                 break;
00155 
00156         case CAMERA_CURRENT_DECREASE_SPEED:
00157                 GetCurrentObject()->m_speed--;
00158                 break;
00159 
00160         case CAMERA_CURRENT_FULL_STOP:
00161                 GetCurrentObject()->m_speed=0;
00162                 break;
00163 
00164         case CAMERA_CURRENT_START_ROTATEX_UP:
00165                 GetCurrentObject()->StartAction(ROTATE_X_UP     );
00166                 break;
00167         
00168         case CAMERA_CURRENT_STOP_ROTATEX_UP:
00169                 GetCurrentObject()->StopAction(ROTATE_X_UP);
00170                 break;
00171         
00172         case CAMERA_CURRENT_ROTATEX_UP:
00173                 GetCurrentObject()->m_Angle.IncX(2);
00174                 break;
00175         
00176         case CAMERA_CURRENT_START_ROTATEX_DOWN:
00177                 GetCurrentObject()->StartAction(ROTATE_X_DOWN);
00178                 break;
00179         
00180         case CAMERA_CURRENT_STOP_ROTATEX_DOWN:
00181                 GetCurrentObject()->StopAction(ROTATE_X_DOWN);
00182                 break;
00183         
00184         case CAMERA_CURRENT_ROTATEX_DOWN:
00185                 GetCurrentObject()->m_Angle.DecX(2);
00186                 break;
00187 
00188         case CAMERA_CURRENT_START_ROTATEZ_UP:
00189                 GetCurrentObject()->StartAction(ROTATE_Z_UP);
00190                 break;
00191         
00192         case CAMERA_CURRENT_STOP_ROTATEZ_UP:
00193                 GetCurrentObject()->StopAction(ROTATE_Z_UP);
00194                 break;
00195         
00196         case CAMERA_CURRENT_ROTATEZ_UP:
00197                 GetCurrentObject()->m_Angle.IncZ(2);
00198                 break;
00199         
00200         case CAMERA_CURRENT_START_ROTATEZ_DOWN:
00201                 GetCurrentObject()->StartAction(ROTATE_Z_DOWN);
00202                 break;
00203         
00204         case CAMERA_CURRENT_STOP_ROTATEZ_DOWN:
00205                 GetCurrentObject()->StopAction(ROTATE_Z_DOWN);
00206                 break;
00207         
00208         case CAMERA_CURRENT_ROTATEZ_DOWN:
00209                 GetCurrentObject()->m_Angle.DecZ(2);
00210                 break;
00211 
00212         case CAMERA_CURRENT_START_ROTATEY_UP:
00213                 GetCurrentObject()->StartAction(ROTATE_Y_UP);
00214                 break;
00215         
00216         case CAMERA_CURRENT_STOP_ROTATEY_UP:
00217                 GetCurrentObject()->StopAction(ROTATE_Y_UP);
00218                 break;
00219         
00220         case CAMERA_CURRENT_ROTATEY_UP:
00221                 GetCurrentObject()->m_Angle.IncY(2);
00222                 break;
00223         
00224         case CAMERA_CURRENT_START_ROTATEY_DOWN:
00225                 GetCurrentObject()->StartAction(ROTATE_Y_DOWN);
00226                 break;
00227         
00228         case CAMERA_CURRENT_STOP_ROTATEY_DOWN:
00229                 GetCurrentObject()->StopAction(ROTATE_Y_DOWN);
00230                 break;
00231         
00232         case CAMERA_CURRENT_ROTATEY_DOWN:
00233                 GetCurrentObject()->m_Angle.DecY(2);
00234                 break;
00235                 
00236         case CAMERA_NEXT_CAM:
00237                 NextObject();
00238                 break;
00239         case CAMERA_PREV_CAM:
00240                 PreviousObject();
00241                 break;
00242 
00243         case CAMERA_CURRENT_INCREASE_ZOOM:
00244                 GetCurrentObject()->ZoomOut();
00245                 break;
00246         case CAMERA_CURRENT_START_INCREASE_ZOOM:
00247                 GetCurrentObject()->StartAction(ZOOM_UP);
00248                 break;
00249         case CAMERA_CURRENT_STOP_INCREASE_ZOOM:
00250                 GetCurrentObject()->StopAction(ZOOM_UP);
00251                 break;
00252 
00253         case CAMERA_CURRENT_DECREASE_ZOOM:
00254                 GetCurrentObject()->ZoomIn();
00255                 break;
00256         case CAMERA_CURRENT_START_DECREASE_ZOOM:
00257                 GetCurrentObject()->StartAction(ZOOM_DOWN);
00258                 break;
00259         case CAMERA_CURRENT_STOP_DECREASE_ZOOM:
00260                 GetCurrentObject()->StopAction(ZOOM_DOWN);
00261                 break;  
00262         case CAMERA_SET_POS_X:
00263                 GetCurrentObject()->m_Position.SetX(atof(Action.m_Param.data()));
00264                 break;
00265         case CAMERA_SET_POS_Y:
00266                 GetCurrentObject()->m_Position.SetY(atof(Action.m_Param.data()));
00267                 break;
00268         case CAMERA_SET_POS_Z:
00269                 GetCurrentObject()->m_Position.SetZ(atof(Action.m_Param.data()));
00270                 break;
00271         case CAMERA_SET_TARGET_POS_X:
00272                 GetCurrentObject()->m_Target.SetX(atof(Action.m_Param.data()));
00273                 break;
00274         case CAMERA_SET_TARGET_POS_Y:
00275                 GetCurrentObject()->m_Target.SetY(atof(Action.m_Param.data()));
00276                 break;
00277         case CAMERA_SET_TARGET_POS_Z:
00278                 GetCurrentObject()->m_Target.SetZ(atof(Action.m_Param.data()));
00279                 break;
00280         case CAMERA_SET_ANGLE_X:
00281                 GetCurrentObject()->m_Angle.SetX(atof(Action.m_Param.data()));
00282                 break;
00283         case CAMERA_SET_ANGLE_Y:
00284                 GetCurrentObject()->m_Angle.SetY(atof(Action.m_Param.data()));
00285                 break;
00286         case CAMERA_SET_ANGLE_Z:
00287                 GetCurrentObject()->m_Angle.SetZ(atof(Action.m_Param.data()));
00288                 break;
00289         case CAMERA_CURRENT_SHOW_INFO:
00290                 GetCurrentObject()->SetShowInfoState(true);
00291                 break;
00292         case CAMERA_CURRENT_HIDE_INFO:
00293                 GetCurrentObject()->SetShowInfoState(false);
00294                 break;
00295         //--------------------------------------------------------------------
00296         //Chase cam action
00297         //--------------------------------------------------------------------
00298         case CAMERA_CURRENT_START_INCREASE_AROUND:
00299                 if(strcmp("class ExCCameraChase",GetCurrentObject()->GetType().data())==0)
00300                 {
00301                         GetCurrentObject()->StartAction(ANGLE_AROUND_TARGET_UP);
00302                 }
00303                 break;
00304         case CAMERA_CURRENT_STOP_INCREASE_AROUND:
00305                 if(strcmp("class ExCCameraChase",GetCurrentObject()->GetType().data())==0)
00306                 {
00307                         GetCurrentObject()->StopAction(ANGLE_AROUND_TARGET_UP);
00308                 }
00309                 break;
00310         case CAMERA_CURRENT_START_DECREASE_AROUND:
00311                 if(strcmp("class ExCCameraChase",GetCurrentObject()->GetType().data())==0)
00312                 {
00313                         GetCurrentObject()->StartAction(ANGLE_AROUND_TARGET_DOWN);
00314                 }
00315                 break;
00316         case CAMERA_CURRENT_STOP_DECREASE_AROUND:
00317                 if(strcmp("class ExCCameraChase",GetCurrentObject()->GetType().data())==0)
00318                 {
00319                         GetCurrentObject()->StopAction(ANGLE_AROUND_TARGET_DOWN);
00320                 }
00321                 break;
00322 
00323         case CAMERA_CURRENT_START_INCREASE_DISTANCE:
00324                 if(strcmp("class ExCCameraChase",GetCurrentObject()->GetType().data())==0)
00325                 {
00326                         GetCurrentObject()->StartAction(DISTANCE_FROM_TARGET_UP);
00327                 }
00328                 break;
00329         case CAMERA_CURRENT_STOP_INCREASE_DISTANCE:
00330                 if(strcmp("class ExCCameraChase",GetCurrentObject()->GetType().data())==0)
00331                 {
00332                         GetCurrentObject()->StopAction(DISTANCE_FROM_TARGET_UP);
00333                 }
00334                 break;
00335         case CAMERA_CURRENT_START_DECREASE_DISTANCE:
00336                 if(strcmp("class ExCCameraChase",GetCurrentObject()->GetType().data())==0)
00337                 {
00338                         GetCurrentObject()->StartAction(DISTANCE_FROM_TARGET_DOWN);
00339                 }
00340                 break;
00341         case CAMERA_CURRENT_STOP_DECREASE_DISTANCE:
00342                 if(strcmp("class ExCCameraChase",GetCurrentObject()->GetType().data())==0)
00343                 {
00344                         GetCurrentObject()->StopAction(DISTANCE_FROM_TARGET_DOWN);
00345                 }
00346                 break;
00347 
00348         case CAMERA_CURRENT_START_INCREASE_HEIGHT:
00349                 if(strcmp("class ExCCameraChase",GetCurrentObject()->GetType().data())==0)
00350                 {
00351                         GetCurrentObject()->StartAction(HEIGHT_FROM_TARGET_UP);
00352                 }
00353                 break;
00354         case CAMERA_CURRENT_STOP_INCREASE_HEIGHT:
00355                 if(strcmp("class ExCCameraChase",GetCurrentObject()->GetType().data())==0)
00356                 {
00357                         GetCurrentObject()->StopAction(HEIGHT_FROM_TARGET_UP);
00358                 }
00359                 break;
00360         case CAMERA_CURRENT_START_DECREASE_HEIGHT:
00361                 if(strcmp("class ExCCameraChase",GetCurrentObject()->GetType().data())==0)
00362                 {
00363                         GetCurrentObject()->StartAction(HEIGHT_FROM_TARGET_DOWN);
00364                 }
00365                 break;
00366         case CAMERA_CURRENT_STOP_DECREASE_HEIGHT:
00367                 if(strcmp("class ExCCameraChase",GetCurrentObject()->GetType().data())==0)
00368                 {
00369                         GetCurrentObject()->StopAction(HEIGHT_FROM_TARGET_DOWN);
00370                 }
00371                 break;
00372         default:
00373                 *Consol<<"Can not file action in CAMERA_ACTION_MAP"<<std::endl;
00374                 break;
00375         }
00376         return  NOTHING;
00377 UnGuard
00378 }

ExCAction ExManagerCamera::InputCommand ExCCommand  Command  )  [virtual]
 

Redéfinie à partir de ExManager.

Définition à la ligne 139 du fichier ExManagerCamera.cpp.

Références GetCurrentObject(), Guard, InputCommand(), NOTHING, et UnGuard.

Référencé par InputCommand().

00140 {
00141 Guard(ExManagerCamera::InputCommand(ExCCommand Command))
00142         if(GetCurrentObject()==NULL)return NOTHING;
00143         return  NOTHING;
00144 UnGuard
00145 }

void ExManagerObject< ExCCamera * >::List void   )  [inherited]
 

bool ExManagerObject< ExCCamera * >::Load std::string  FileName  )  [inherited]
 

ExNihilo::ExId ExManagerObject< ExCCamera * >::NextObject void   )  [inherited]
 

Référencé par InputAction().

ExNihilo::ExId ExManagerObject< ExCCamera * >::PreviousObject void   )  [inherited]
 

Référencé par InputAction().

void ExManagerObject< ExCCamera * >::Reload void   )  [virtual, inherited]
 

Redéfinie à partir de ExManager.

bool ExManagerObject< ExCCamera * >::Remove std::string  Name  )  [inherited]
 

bool ExManagerObject< ExCCamera * >::Remove ExNihilo::ExId  id  )  [inherited]
 

bool ExManagerObject< ExCCamera * >::RemoveCurrentObject void   )  [inherited]
 

void ExManagerCamera::Reset void   )  [virtual]
 

Redéfinie à partir de ExManagerObject< ExCCamera * >.

Définition à la ligne 51 du fichier ExManagerCamera.cpp.

Références Guard, Init(), ExManagerObject< TypeA >::Reset(), Reset(), et UnGuard.

Référencé par ExManagerCommand::ProcesExCAction(), et Reset().

00052 {
00053 Guard(void ExManagerCamera::Reset(void))
00054         ExManagerObject<ExCCamera *>::Reset();
00055         Init();
00056 UnGuard
00057 }

void ExManager::SetAskForCommand bool  status  )  [inline, inherited]
 

Définition à la ligne 87 du fichier ExManager.h.

Références ExManager::m_AskForCommand.

Référencé par ExManagerConsole::ExManagerConsole(), ExManagerModel::ExManagerModel(), ExManagerObjectWindow::Init(), ExManagerNetwork::Init(), ExManagerConsole::InputAction(), ExManagerNetwork::InputCommand(), ExManagerLoad::LoadSetOfFile(), et ExManagerNetwork::Say().

00087 {m_AskForCommand=status;} 

void ExManager::SetAskForExclusifCommand bool  status  )  [inline, inherited]
 

Définition à la ligne 88 du fichier ExManager.h.

Références ExManager::m_Exclusif.

Référencé par ExManagerConsole::ExManagerConsole(), ExManagerModel::ExManagerModel(), ExManagerObjectWindow::Init(), ExManagerNetwork::Init(), ExManagerConsole::InputAction(), ExManagerNetwork::InputCommand(), et ExManagerNetwork::Say().

00088 {m_Exclusif=status;}

bool ExManagerObject< ExCCamera * >::SetCurrentObject std::string  Name  )  [inherited]
 

bool ExManagerObject< ExCCamera * >::SetCurrentObject ExNihilo::ExId  id  )  [inherited]
 

Référencé par Init().

void ExManager::SetFlux std::ostrstream *  consol,
ExCFluxAction action
[inherited]
 

Définition à la ligne 35 du fichier ExManager.cpp.

Références ExManager::Consol, et ExManager::FluxAction.

Référencé par SetManagerLink().

00036 {
00037         Consol=consol;
00038         FluxAction=action;
00039 }

void ExManagerObject< ExCCamera * >::SetManagerId ExManagerId Id  )  [inline, inherited]
 

Définition à la ligne 94 du fichier ExManagerObject.h.

Référencé par SetManagerLink().

00094 {ManagerId      = Id;}

void ExManagerCamera::SetManagerModel ExManagerModel Model  )  [inline]
 

Définition à la ligne 95 du fichier ExManagerCamera.h.

Références ManagerModel.

Référencé par SetManagerLink().

00095 {ManagerModel = Model;}

void ExManager::SetStatus bool  status  )  [inline, inherited]
 

Définition à la ligne 86 du fichier ExManager.h.

Références ExManager::m_Status.

Référencé par ExManagerConsole::Draw(), ExManagerConsole::ExManagerConsole(), ExManagerObjectWindow::Init(), ExManagerInterface::Init(), ExManagerConsole::InputAction(), ExManagerLoad::LoadSetOfFile(), et ExManagerConsole::SetConsoleState().

00086 {m_Status=status;}


Documentation des données imbriquées

std::ostrstream* ExManager::Consol [inherited]
 

Définition à la ligne 73 du fichier ExManager.h.

Référencé par ExManagerObject< TypeA >::Add(), ExManagerConsole::AddStringAction(), ExManagerConsole::ApplyBuffCommand(), ExManagerInputGLUT::CheckInput(), ExManagerSound::DisplayAviableInput(), ExManagerInputGLUT::DisplayAviableInput(), ExManagerLoad::DisplayFileType(), ExManagerLoad::GetFileType(), ExManagerVertexArrays::Init(), ExManagerTexture::Init(), ExManagerSound::Init(), ExManagerFog::Init(), ExManagerSound::InputAction(), ExManagerPVS::InputAction(), ExManagerParticuleSystem::InputAction(), ExManagerModel::InputAction(), ExManagerMesh::InputAction(), ExManagerMap::InputAction(), ExManagerLoad::InputAction(), ExManagerInterface::InputAction(), ExManagerFog::InputAction(), ExManagerEntity::InputAction(), ExManagerConsole::InputAction(), ExManagerCommand::InputAction(), InputAction(), ExManagerAnimation::InputAction(), ExManagerObject< TypeA >::List(), ExManagerModel::List(), ExManagerId::List(), ExManagerConsole::ListConsoleCommand(), ExManagerTexture::Load(), ExManagerParticuleSystem::Load(), ExManagerModel::Load(), ExManagerInterface::Load(), ExManagerTexture::LoadCubeMap(), ExManagerLoad::LoadSetOfFile(), ExManagerSound::LoadSound(), ExManagerSound::PauseSound(), ExManagerSound::PlaySound(), ExManagerCommand::ProcesExCAction(), ExManagerId::RecordObject(), ExManager::SetFlux(), ExManagerSound::SetRepeatSound(), ExManagerSound::StopSound(), ExManagerConsole::UpdateConsolBuffer(), et ExManagerConsole::Write().

ExCFluxAction* ExManager::FluxAction [inherited]
 

Définition à la ligne 74 du fichier ExManager.h.

Référencé par ExManagerWindow::Apply(), ExManagerCommand::ApplyAction(), ExManagerCommand::LoadExecFile(), ExManagerId::RecordObject(), ExManager::SetFlux(), et ExManagerSpecialEffect::Specialeffect().

bool ExManager::m_AskForCommand [protected, inherited]
 

Définition à la ligne 70 du fichier ExManager.h.

Référencé par ExManager::AskForCommand(), ExManagerConsole::ExManagerConsole(), et ExManager::SetAskForCommand().

ExNihilo::ExId ExManagerObject< ExCCamera * >::m_CurrentObjectId [protected, inherited]
 

Définition à la ligne 79 du fichier ExManagerObject.h.

Référencé par GetCurrentObject().

bool ExManager::m_Exclusif [protected, inherited]
 

Définition à la ligne 71 du fichier ExManager.h.

Référencé par ExManager::AskForExclusifCommand(), et ExManager::SetAskForExclusifCommand().

bool ExManagerCamera::m_flag = false [static, private]
 

Définition à la ligne 25 du fichier ExManagerCamera.cpp.

Référencé par CreateSingleton().

ExManagerCamera * ExManagerCamera::m_instance = NULL [static, private]
 

Définition à la ligne 26 du fichier ExManagerCamera.cpp.

Référencé par CreateSingleton().

std::map< ExNihilo::ExId , ExCCamera * , std::less <ExNihilo::ExId > >::iterator ExManagerObject< ExCCamera * >::m_ItMap [protected, inherited]
 

Définition à la ligne 76 du fichier ExManagerObject.h.

Référencé par Draw(), et GetObject().

std::map< ExNihilo::ExId , ExCCamera * , std::less <ExNihilo::ExId > >* ExManagerObject< ExCCamera * >::m_Map [protected, inherited]
 

Définition à la ligne 75 du fichier ExManagerObject.h.

Référencé par Draw(), et GetObject().

bool ExManager::m_Status [protected, inherited]
 

Définition à la ligne 69 du fichier ExManager.h.

Référencé par ExManager::GetStatus(), et ExManager::SetStatus().

ExManagerId* ExManagerObject< ExCCamera * >::ManagerId [protected, inherited]
 

Définition à la ligne 78 du fichier ExManagerObject.h.

ExManagerModel* ExManagerCamera::ManagerModel [private]
 

Définition à la ligne 81 du fichier ExManagerCamera.h.

Référencé par AddCamera(), et SetManagerModel().


La documentation associée à cette classe a été générée à partir des fichiers suivants :
Généré le Tue Oct 28 12:44:01 2003 pour ExNihilo par doxygen 1.3.4