#include <ExManagerMap.h>
Graphe d'héritage de la classe ExManagerMap
Membres publics | |
void | Init (void) |
void | Reset (void) |
ExCAction | InputCommand (ExCCommand Command) |
ExCAction | InputAction (ExCAction Action) |
void | SetManagerId (ExManagerId *Id) |
void | SetManagerTexture (ExManagerTexture *Texture) |
void | LoadMap (const char *FileName) |
void | Draw (void) |
void | ShowSkybox (void) |
void | HideSkybox (void) |
void | ShowMesh (void) |
void | HideMesh (void) |
void | EnableOctree (void) |
void | DisableOctree (void) |
void | ShowOctreeSubdivision (void) |
void | HideOctreeSubdivision (void) |
Membres publics statiques | |
ExManagerMap * | CreateSingleton (void) |
Membres privés | |
ExManagerMap (void) | |
~ExManagerMap (void) | |
Attributs Privés | |
ExManagerId * | ManagerId |
ExManagerTexture * | ManagerTexture |
ExCMap * | Map |
bool | MapLoaded |
Attributs Privés Statiques | |
bool | m_flag = false |
ExManagerMap * | m_instance = NULL |
|
Définition à la ligne 43 du fichier ExManagerMap.cpp. Références MapLoaded.
00044 { 00045 MapLoaded=false; 00046 } |
|
Définition à la ligne 48 du fichier ExManagerMap.cpp.
00049 { 00050 } |
|
Définition à la ligne 29 du fichier ExManagerMap.cpp. Références CreateSingleton(), Guard, m_flag, et m_instance. Référencé par CreateSingleton(), et main().
00029 { 00030 Guard(ExManagerMap* ExManagerMap::CreateSingleton(void)) 00031 if(!m_flag) 00032 { 00033 m_flag = true; // We are creating the error log now, so set flag to true 00034 m_instance = new ExManagerMap; // Create the error log 00035 }else 00036 { 00037 std::cout<<"Error singleton already created"<<std::endl; 00038 } 00039 return m_instance; 00040 UnGuard 00041 } |
|
Définition à la ligne 104 du fichier ExManagerMap.h. Références ExCMap::EnableOctree(). Référencé par InputAction().
00104 {Map->EnableOctree();} |
|
Définition à la ligne 68 du fichier ExManagerMap.cpp. Références ExCMap::Draw(), Draw(), Guard, et Map. Référencé par Draw(), et ExManagerOutput::DrawScene().
00069 { 00070 Guard(void ExManagerMap::Draw(void)) 00071 if(MapLoaded) 00072 { 00073 Map->Draw(); 00074 } 00075 UnGuard 00076 } |
|
Définition à la ligne 103 du fichier ExManagerMap.h. Références ExCMap::HideMesh(). Référencé par InputAction().
|
|
Définition à la ligne 102 du fichier ExManagerMap.h. Références ExCMap::ShowMesh(). Référencé par InputAction().
|
|
Définition à la ligne 106 du fichier ExManagerMap.h. Références ExCMap::ShowOctreeSubdivision(). Référencé par InputAction().
00106 {Map->ShowOctreeSubdivision();} |
|
Définition à la ligne 100 du fichier ExManagerMap.h. Références ExCMap::ShowSkybox(). Référencé par InputAction().
00100 {Map->ShowSkybox();} |
|
Redéfinie à partir de ExManager. Définition à la ligne 88 du fichier ExManagerMap.h.
00089 {}; |
|
Redéfinie à partir de ExManager. Définition à la ligne 85 du fichier ExManagerMap.cpp. Références ExManager::Consol, DisableOctree(), EnableOctree(), Guard, HideMesh(), HideOctreeSubdivision(), HideSkybox(), InputAction(), ExCAction::m_Action, ExCAction::m_NextAction, ShowMesh(), ShowOctreeSubdivision(), et ShowSkybox(). Référencé par InputAction(), et ExManagerCommand::ProcesExCAction().
00086 { 00087 Guard(ExCAction ExManagerMap::InputAction(ExCAction Action)) 00088 switch(Action.m_Action) 00089 { 00090 case SHOW_MAP_SKY_BOX:ShowSkybox();break; 00091 case HIDE_MAP_SKY_BOX:HideSkybox();break; 00092 case SHOW_MAP_MESH:ShowMesh();break; 00093 case HIDE_MAP_MESH:HideMesh();break; 00094 case ENABLE_MAP_OCTREE:EnableOctree();break; 00095 case DISABLE_MAP_OCTREE:DisableOctree();break; 00096 case SHOW_MAP_OCTREE_SUBDIVISON:ShowOctreeSubdivision();break; 00097 case HIDE_MAP_OCTREE_SUBDIVISON:HideOctreeSubdivision();break; 00098 00099 default: 00100 *Consol<<"Can not file action in MAP_ACTION_MAP"<<std::endl; 00101 break; 00102 } 00103 if(Action.m_NextAction){return *Action.m_NextAction;} 00104 else{return NOTHING;} 00105 UnGuard 00106 } |
|
Redéfinie à partir de ExManager. Définition à la ligne 78 du fichier ExManagerMap.cpp. Références Guard, et InputCommand(). Référencé par InputCommand().
00079 { 00080 Guard(ExCAction ExManagerMap::InputCommand(ExCCommand Command)) 00081 return NOTHING; 00082 UnGuard 00083 } |
|
Définition à la ligne 57 du fichier ExManagerMap.cpp. Références ExManager::Consol, ExCMap::Consol, Guard, ExCMap::LoadMap(), LoadMap(), ManagerTexture, Map, MapLoaded, et ExCMap::SetManagerTexture(). Référencé par ExManagerCommand::InputAction(), LoadMap(), et ExManagerCommand::LoadSetOfFile().
00058 { 00059 Guard(ExManagerMap::LoadMap(const char * )) 00060 Map=new ExCMap(); 00061 Map->SetManagerTexture(ManagerTexture); 00062 Map->Consol=Consol; 00063 Map->LoadMap(FileName); 00064 MapLoaded=true; 00065 UnGuard 00066 } |
|
Redéfinie à partir de ExManager. Définition à la ligne 52 du fichier ExManagerMap.cpp. Références MapLoaded. Référencé par ExManagerCommand::ProcesExCAction().
00053 { 00054 MapLoaded=false; 00055 } |
|
Définition à la ligne 94 du fichier ExManagerMap.h. Référencé par SetManagerLink().
00095 {ManagerId = Id;} |
|
Définition à la ligne 95 du fichier ExManagerMap.h. Références ManagerId. Référencé par SetManagerLink().
00095 {ManagerId = Id;} |
|
Définition à la ligne 101 du fichier ExManagerMap.h. Références ExCMap::HideSkybox(). Référencé par InputAction().
00101 {Map->HideSkybox();} |
|
Définition à la ligne 105 du fichier ExManagerMap.h. Références ExCMap::DisableOctree(). Référencé par InputAction().
00105 {Map->DisableOctree();} |
|
Définition à la ligne 99 du fichier ExManagerMap.h. Référencé par InputAction().
00100 {Map->ShowSkybox();} |
|
Définition à la ligne 26 du fichier ExManagerMap.cpp. Référencé par CreateSingleton(). |
|
Définition à la ligne 27 du fichier ExManagerMap.cpp. Référencé par CreateSingleton(). |
|
Définition à la ligne 71 du fichier ExManagerMap.h. |
|
Définition à la ligne 72 du fichier ExManagerMap.h. Référencé par LoadMap(). |
|
Définition à la ligne 73 du fichier ExManagerMap.h. |
|
Définition à la ligne 74 du fichier ExManagerMap.h. Référencé par ExManagerMap(), LoadMap(), et Reset(). |