#include <ExManagerParticuleSystem.h>
Graphe d'héritage de la classe ExManagerParticuleSystem

Membres publics | |
| ExCAction | InputCommand (ExCCommand Command) |
| ExCAction | InputAction (ExCAction Action) |
| void | SetManagerTexture (ExManagerTexture *Texture) |
| bool | Load (std::string FileName) |
| void | Init (void) |
| void | Reset (void) |
| int | Start (std::string Name) |
| int | Stop (std::string Name) |
| int | Pause (std::string Name) |
| int | Start (ExNihilo::ExId id) |
| int | Stop (ExNihilo::ExId id) |
| int | Pause (ExNihilo::ExId id) |
| int | StartAll (void) |
| int | StopAll (void) |
| int | PauseAll (void) |
| int | GetNumberEnableParticuleSysteme (void) |
| void | Draw (void) |
Membres publics statiques | |
| ExManagerParticuleSystem * | CreateSingleton (void) |
Membres privés | |
| ExManagerParticuleSystem (void) | |
| ~ExManagerParticuleSystem (void) | |
Attributs Privés | |
| ExManagerTexture * | ManagerTexture |
Attributs Privés Statiques | |
| bool | m_flag = false |
| ExManagerParticuleSystem * | m_instance = NULL |
|
|
Définition à la ligne 42 du fichier ExManagerParticuleSystem.cpp. Références ExManagerParticuleSystem(), et Guard. Référencé par ExManagerParticuleSystem(), et ~ExManagerParticuleSystem().
00043 {
00044 Guard(ExManagerParticuleSystem::ExManagerParticuleSystem(void))
00045
00046 UnGuard
00047 }
|
|
|
Définition à la ligne 50 du fichier ExManagerParticuleSystem.cpp. Références ExManagerParticuleSystem(), et Guard.
00051 {
00052 Guard(ExManagerParticuleSystem::~ExManagerParticuleSystem(void))
00053 UnGuard
00054 }
|
|
|
Définition à la ligne 28 du fichier ExManagerParticuleSystem.cpp. Références CreateSingleton(), Guard, m_flag, et m_instance. Référencé par CreateSingleton(), et main().
00028 {
00029 Guard(ExManagerParticuleSystem* ExManagerParticuleSystem::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 ExManagerParticuleSystem; // Create the error log
00034 }else
00035 {
00036 std::cout<<"Error singleton already created"<<std::endl;
00037 }
00038 return m_instance;
00039 UnGuard
00040 }
|
|
|
Redéfinie à partir de ExManagerObject< ExCSystemeParticule >. Définition à la ligne 152 du fichier ExManagerParticuleSystem.cpp. Références Draw(), Guard, ExManagerObject< ExCSystemeParticule >::m_ItMap, et ExManagerObject< ExCSystemeParticule >::m_Map. Référencé par Draw(), et ExManagerOutput::DrawScene().
|
|
|
Définition à la ligne 105 du fichier ExManagerParticuleSystem.h. Références ExManagerObject< ExCSystemeParticule >::m_Map. Référencé par Pause(), PauseAll(), Start(), StartAll(), Stop(), et StopAll().
00106 {return m_Map->size();}
|
|
|
Redéfinie à partir de ExManagerObject< ExCSystemeParticule >. Définition à la ligne 56 du fichier ExManagerParticuleSystem.cpp. Références Guard, ExManagerObject::Init(), et ExManagerModel::Init(). Référencé par InitManager().
00057 {
00058 Guard(void ExManagerModel::Init(void))
00059 ExManagerObject<ExCSystemeParticule>::Init();
00060 UnGuard
00061 }
|
|
|
Redéfinie à partir de ExManager. Définition à la ligne 193 du fichier ExManagerParticuleSystem.cpp. Références ExManager::Consol, ExManagerObject< ExCSystemeParticule >::GetObject(), Guard, InputAction(), ExManagerObject< ExCSystemeParticule >::List(), Load(), ExCAction::m_Action, ExCAction::m_NextAction, ExCAction::m_Param, ExCSystemeParticule::Pause(), PauseAll(), ExCSystemeParticule::Start(), StartAll(), ExCSystemeParticule::Stop(), et StopAll(). Référencé par InputAction(), et ExManagerCommand::ProcesExCAction().
00194 {
00195 Guard(ExCAction ExManagerParticuleSystem::InputAction(ExCAction Action))
00196 switch(Action.m_Action)
00197 {
00198 case LOAD_PARTICULESYSTEME:Load(Action.m_Param);break;
00199 case STAR_PARTICULESYSTEME:GetObject(Action.m_Param)->Start();break;
00200 case STOP_PARTICULESYSTEME:GetObject(Action.m_Param)->Stop();break;
00201 case PAUSE_PARTICULESYSTEME:GetObject(Action.m_Param)->Pause();break;
00202 case STAR_ALL_PARTICULESYSTEME:StartAll();break;
00203 case STOP_ALL_PARTICULESYSTEME:StopAll();break;
00204 case PAUSE_ALL_PARTICULESYSTEME:PauseAll();break;
00205 case LIST_PARTICULESYSTEME:List();break;
00206
00207 default:
00208 *Consol<<"Can not file action in PARTICULESYSTEME_ACTION_MAP"<<std::endl;
00209 break;
00210 }
00211 if(Action.m_NextAction){return *Action.m_NextAction;}
00212 else{return NOTHING;}
00213 UnGuard
00214 }
|
|
|
Redéfinie à partir de ExManager. Définition à la ligne 186 du fichier ExManagerParticuleSystem.cpp. Références Guard, et InputCommand(). Référencé par InputCommand().
00187 {
00188 Guard(ExCAction ExManagerParticuleSystem::InputCommand(ExCCommand Command))
00189 return NOTHING;
00190 UnGuard
00191 }
|
|
|
Redéfinie à partir de ExManagerObject< ExCSystemeParticule >. Définition à la ligne 68 du fichier ExManagerParticuleSystem.cpp. Références ExManagerObject::Add(), ExManager::Consol, ExCSystemeParticule::Consol, Guard, ExCSystemeParticule::Load(), Load(), ManagerTexture, et ExCSystemeParticule::SetManagerTexture(). Référencé par InputAction(), ExManagerCommand::InputAction(), et Load().
00069 {
00070 Guard(bool ExManagerParticuleSystem::Load(std::string FileName))
00071 FileName="../Data/ParticuleSystem/"+FileName;
00072 try
00073 {
00074 ExCSystemeParticule systeme;
00075 systeme.Consol=Consol;
00076 systeme.SetManagerTexture(ManagerTexture);
00077 systeme.Load(FileName);
00078 return ExManagerObject<ExCSystemeParticule>::Add(systeme);
00079 }
00080 catch(ExCExpFileNotFound)
00081 {
00082 *Consol<<"ExManagerParticuleSystem::ExCeption =>"<<FileName<<" File not found"<<std::endl;
00083 return false;
00084 }
00085 catch(ExCExpFileReadError)
00086 {
00087 *Consol<<"ExManagerParticuleSystem::ExCeption =>"<<FileName<<" Read file error"<<std::endl;
00088 return false;
00089 }
00090 catch(...)
00091 {
00092 *Consol<<"ExManagerParticuleSystem::ExCeption =>"<<FileName<<" Unknow exception"<<std::endl;
00093 return false;
00094 }
00095 UnGuard
00096 }
|
|
|
|
|
|
Définition à la ligne 127 du fichier ExManagerParticuleSystem.cpp. Références GetNumberEnableParticuleSysteme(), Guard, et Pause(). Référencé par Pause().
00128 {
00129 Guard(int ExManagerParticuleSystem::Pause(std::string Name))
00130 /*for(m_ItMap=m_Map->begin();m_ItMap!=m_Map->end();m_ItMap++)
00131 {
00132 if(strcmp(m_ItMap->GetParticuleSystemeName(),param.data())==0)
00133 {
00134 m_ItMap->Pause();
00135 }
00136 }*/
00137 return GetNumberEnableParticuleSysteme();
00138 UnGuard
00139 }
|
|
|
Définition à la ligne 173 du fichier ExManagerParticuleSystem.cpp. Références GetNumberEnableParticuleSysteme(), Guard, ExManagerObject< ExCSystemeParticule >::m_ItMap, ExManagerObject< ExCSystemeParticule >::m_Map, et PauseAll(). Référencé par InputAction(), et PauseAll().
00174 {
00175 Guard(int ExManagerParticuleSystem::PauseAll(void))
00176 for(m_ItMap=m_Map->begin();m_ItMap!=m_Map->end();m_ItMap++)
00177 {
00178 m_ItMap->second.Pause();
00179 }
00180 return GetNumberEnableParticuleSysteme();
00181 UnGuard
00182 }
|
|
|
Redéfinie à partir de ExManagerObject< ExCSystemeParticule >. Définition à la ligne 63 du fichier ExManagerParticuleSystem.cpp. Références ExManagerObject::Reset(). Référencé par ExManagerCommand::ProcesExCAction().
00064 {
00065 ExManagerObject<ExCSystemeParticule>::Reset();
00066 }
|
|
|
Définition à la ligne 87 du fichier ExManagerParticuleSystem.h. Références ManagerTexture. Référencé par SetManagerLink().
00088 {ManagerTexture = Texture;}
|
|
|
|
|
|
Définition à la ligne 98 du fichier ExManagerParticuleSystem.cpp. Références GetNumberEnableParticuleSysteme(), Guard, et Start(). Référencé par Start().
00099 {
00100 Guard(int ExManagerParticuleSystem::Start(std::string Name))
00101 /*for(m_ItMap=m_Map->begin();m_ItMap!=m_Map->end();m_ItMap++)
00102 {
00103 if(strcmp(m_ItMap->GetParticuleSystemeName(),param.data())==0)
00104 {
00105 m_ItMap->Start();
00106 }
00107 }
00108 */
00109 return GetNumberEnableParticuleSysteme();
00110 UnGuard
00111 }
|
|
|
Définition à la ligne 141 du fichier ExManagerParticuleSystem.cpp. Références GetNumberEnableParticuleSysteme(), Guard, ExManagerObject< ExCSystemeParticule >::m_ItMap, ExManagerObject< ExCSystemeParticule >::m_Map, et StartAll(). Référencé par InputAction(), et StartAll().
00142 {
00143 Guard(int ExManagerParticuleSystem::StartAll(void))
00144 for(m_ItMap=m_Map->begin();m_ItMap!=m_Map->end();m_ItMap++)
00145 {
00146 m_ItMap->second.Start();
00147 }
00148 return GetNumberEnableParticuleSysteme();
00149 UnGuard
00150 }
|
|
|
|
|
|
Définition à la ligne 113 du fichier ExManagerParticuleSystem.cpp. Références GetNumberEnableParticuleSysteme(), Guard, et Stop(). Référencé par Stop().
00114 {
00115 Guard(int ExManagerParticuleSystem::Stop(std::string Name))
00116 /*for(m_ItMap=m_Map->begin();m_ItMap!=m_Map->end();m_ItMap++)
00117 {
00118 if(strcmp(m_ItMap->GetParticuleSystemeName(),param.data())==0)
00119 {
00120 m_ItMap->Stop();
00121 }
00122 }*/
00123 return GetNumberEnableParticuleSysteme();
00124 UnGuard
00125 }
|
|
|
Définition à la ligne 162 du fichier ExManagerParticuleSystem.cpp. Références GetNumberEnableParticuleSysteme(), Guard, ExManagerObject< ExCSystemeParticule >::m_ItMap, ExManagerObject< ExCSystemeParticule >::m_Map, et StopAll(). Référencé par InputAction(), et StopAll().
00163 {
00164 Guard(int ExManagerParticuleSystem::StopAll(void))
00165 for(m_ItMap=m_Map->begin();m_ItMap!=m_Map->end();m_ItMap++)
00166 {
00167 m_ItMap->second.Stop();
00168 }
00169 return GetNumberEnableParticuleSysteme();
00170 UnGuard
00171 }
|
|
|
Définition à la ligne 25 du fichier ExManagerParticuleSystem.cpp. Référencé par CreateSingleton(). |
|
|
Définition à la ligne 26 du fichier ExManagerParticuleSystem.cpp. Référencé par CreateSingleton(). |
|
|
Définition à la ligne 70 du fichier ExManagerParticuleSystem.h. Référencé par Load(). |
1.3-rc1