#include <ExManagerParticuleSystem.h>
|
Definition at line 25 of file ExManagerParticuleSystem.cpp. References ExManagerParticuleSystem(), Guard, m_VecParticuleSysteme, m_VecPParticuleSysteme, and UnGuard. Referenced by ExManagerParticuleSystem(), and ~ExManagerParticuleSystem().
00026 { 00027 Guard(ExManagerParticuleSystem::ExManagerParticuleSystem(void)) 00028 m_VecParticuleSysteme = new std::vector<ExCSystemeParticule>; 00029 m_VecPParticuleSysteme = new std::vector<ExCSystemeParticule *>; 00030 UnGuard 00031 } |
|
Definition at line 34 of file ExManagerParticuleSystem.cpp. References ExManagerParticuleSystem(), Guard, and UnGuard.
00035 { 00036 Guard(ExManagerParticuleSystem::~ExManagerParticuleSystem(void)) 00037 UnGuard 00038 } |
|
Definition at line 147 of file ExManagerParticuleSystem.cpp. References Consol, CreateVecPobject(), Guard, m_ItVecParticuleSysteme, m_VecParticuleSysteme, m_VecPParticuleSysteme, and UnGuard. Referenced by CreateVecPobject(), and LoadParticuleSysteme().
00148 { 00149 Guard(void ExManagerParticuleSystem::CreateVecPobject(void)) 00150 m_VecPParticuleSysteme->clear(); 00151 int i=0; 00152 for(m_ItVecParticuleSysteme=m_VecParticuleSysteme->begin();m_ItVecParticuleSysteme!=m_VecParticuleSysteme->end();m_ItVecParticuleSysteme++,i++) 00153 { 00154 m_VecPParticuleSysteme->push_back(&m_VecParticuleSysteme->at(i)); 00155 } 00156 *Consol<<"Number of Particule syteme :"<<m_VecPParticuleSysteme->size()<<std::endl; 00157 UnGuard 00158 } |
|
Definition at line 78 of file ExManagerParticuleSystem.h. References m_VecParticuleSysteme. Referenced by PauseAllParticuleSysteme(), PauseParticuleSysteme(), StartAllParticuleSysteme(), StartParticuleSysteme(), StopAllParticuleSysteme(), and StopParticuleSysteme().
00078 {return m_VecParticuleSysteme->size();} |
|
Definition at line 131 of file ExManagerParticuleSystem.cpp. References Consol, Guard, ListParticuleSysteme(), m_ItVecParticuleSysteme, m_VecParticuleSysteme, and UnGuard. Referenced by ListParticuleSysteme(), and ExManagerCommand::ProcessAction().
00132 { 00133 Guard(void ExManagerParticuleSystem::ListParticuleSysteme(void)) 00134 for(m_ItVecParticuleSysteme=m_VecParticuleSysteme->begin();m_ItVecParticuleSysteme!=m_VecParticuleSysteme->end();m_ItVecParticuleSysteme++) 00135 { 00136 if(m_ItVecParticuleSysteme->GetParticuleSystemeState()) 00137 { 00138 *Consol<<"ParticuleSysteme :"<<m_ItVecParticuleSysteme->GetParticuleSystemeName()<<" State : Enable"<<std::endl; 00139 }else 00140 { 00141 *Consol<<"ParticuleSysteme :"<<m_ItVecParticuleSysteme->GetParticuleSystemeName()<<" State : Disable"<<std::endl; 00142 } 00143 } 00144 UnGuard 00145 } |
|
Definition at line 41 of file ExManagerParticuleSystem.cpp. References CreateVecPobject(), Guard, ExCSystemeParticule::LoadParticuleSysteme(), LoadParticuleSysteme(), m_VecParticuleSysteme, UnGuard, WriteToConsol, and ExCSystemeParticule::WriteToConsol. Referenced by LoadParticuleSysteme(), and ExManagerCommand::ProcessAction().
00042 { 00043 Guard(bool ExManagerParticuleSystem::LoadParticuleSysteme(const char * FileName)) 00044 ExCSystemeParticule systeme; 00045 systeme.WriteToConsol=WriteToConsol; 00046 if(systeme.LoadParticuleSysteme(FileName)) 00047 { 00048 m_VecParticuleSysteme->push_back(systeme); 00049 CreateVecPobject(); 00050 return true; 00051 } 00052 return false; 00053 UnGuard 00054 } |
|
Definition at line 120 of file ExManagerParticuleSystem.cpp. References GetNumberEnableParticuleSysteme(), Guard, m_ItVecParticuleSysteme, m_VecParticuleSysteme, PauseAllParticuleSysteme(), and UnGuard. Referenced by PauseAllParticuleSysteme(), and ExManagerCommand::ProcessAction().
00121 { 00122 Guard(int ExManagerParticuleSystem::PauseAllParticuleSysteme(void)) 00123 for(m_ItVecParticuleSysteme=m_VecParticuleSysteme->begin();m_ItVecParticuleSysteme!=m_VecParticuleSysteme->end();m_ItVecParticuleSysteme++) 00124 { 00125 m_ItVecParticuleSysteme->Pause(); 00126 } 00127 return GetNumberEnableParticuleSysteme(); 00128 UnGuard 00129 } |
|
Definition at line 84 of file ExManagerParticuleSystem.cpp. References GetNumberEnableParticuleSysteme(), Guard, m_ItVecParticuleSysteme, m_VecParticuleSysteme, PauseParticuleSysteme(), and UnGuard. Referenced by PauseParticuleSysteme(), and ExManagerCommand::ProcessAction().
00085 { 00086 Guard(int ExManagerParticuleSystem::PauseParticuleSysteme(char *param)) 00087 for(m_ItVecParticuleSysteme=m_VecParticuleSysteme->begin();m_ItVecParticuleSysteme!=m_VecParticuleSysteme->end();m_ItVecParticuleSysteme++) 00088 { 00089 if(strcmp(m_ItVecParticuleSysteme->GetParticuleSystemeName(),param)==0) 00090 { 00091 m_ItVecParticuleSysteme->Pause(); 00092 } 00093 } 00094 return GetNumberEnableParticuleSysteme(); 00095 UnGuard 00096 } |
|
Definition at line 80 of file ExManagerParticuleSystem.h. References m_VecPParticuleSysteme, and ExManagerPVS::SetVecSystemeParticule(). Referenced by SetManagerLink().
|
|
Definition at line 66 of file ExManagerParticuleSystem.h. Referenced by SetManagerLink().
00066 {ManagerCollision = Collision;} |
|
Definition at line 65 of file ExManagerParticuleSystem.h. Referenced by SetManagerLink().
00065 {ManagerPVS = PVS;} |
|
Definition at line 64 of file ExManagerParticuleSystem.h. Referenced by SetManagerLink().
00064 {ManagerTexture = Texture;} |
|
Definition at line 98 of file ExManagerParticuleSystem.cpp. References GetNumberEnableParticuleSysteme(), Guard, m_ItVecParticuleSysteme, m_VecParticuleSysteme, StartAllParticuleSysteme(), and UnGuard. Referenced by ExManagerCommand::ProcessAction(), and StartAllParticuleSysteme().
00099 { 00100 Guard(int ExManagerParticuleSystem::StartAllParticuleSysteme(void)) 00101 for(m_ItVecParticuleSysteme=m_VecParticuleSysteme->begin();m_ItVecParticuleSysteme!=m_VecParticuleSysteme->end();m_ItVecParticuleSysteme++) 00102 { 00103 m_ItVecParticuleSysteme->Start(); 00104 } 00105 return GetNumberEnableParticuleSysteme(); 00106 UnGuard 00107 } |
|
Definition at line 56 of file ExManagerParticuleSystem.cpp. References GetNumberEnableParticuleSysteme(), Guard, m_ItVecParticuleSysteme, m_VecParticuleSysteme, StartParticuleSysteme(), and UnGuard. Referenced by ExManagerCommand::ProcessAction(), and StartParticuleSysteme().
00057 { 00058 Guard(int ExManagerParticuleSystem::StartParticuleSysteme(char *param)) 00059 for(m_ItVecParticuleSysteme=m_VecParticuleSysteme->begin();m_ItVecParticuleSysteme!=m_VecParticuleSysteme->end();m_ItVecParticuleSysteme++) 00060 { 00061 if(strcmp(m_ItVecParticuleSysteme->GetParticuleSystemeName(),param)==0) 00062 { 00063 m_ItVecParticuleSysteme->Start(); 00064 } 00065 } 00066 return GetNumberEnableParticuleSysteme(); 00067 UnGuard 00068 } |
|
Definition at line 109 of file ExManagerParticuleSystem.cpp. References GetNumberEnableParticuleSysteme(), Guard, m_ItVecParticuleSysteme, m_VecParticuleSysteme, StopAllParticuleSysteme(), and UnGuard. Referenced by ExManagerCommand::ProcessAction(), and StopAllParticuleSysteme().
00110 { 00111 Guard(int ExManagerParticuleSystem::StopAllParticuleSysteme(void)) 00112 for(m_ItVecParticuleSysteme=m_VecParticuleSysteme->begin();m_ItVecParticuleSysteme!=m_VecParticuleSysteme->end();m_ItVecParticuleSysteme++) 00113 { 00114 m_ItVecParticuleSysteme->Stop(); 00115 } 00116 return GetNumberEnableParticuleSysteme(); 00117 UnGuard 00118 } |
|
Definition at line 70 of file ExManagerParticuleSystem.cpp. References GetNumberEnableParticuleSysteme(), Guard, m_ItVecParticuleSysteme, m_VecParticuleSysteme, StopParticuleSysteme(), and UnGuard. Referenced by ExManagerCommand::ProcessAction(), and StopParticuleSysteme().
00071 { 00072 Guard(int ExManagerParticuleSystem::StopParticuleSysteme(char *param)) 00073 for(m_ItVecParticuleSysteme=m_VecParticuleSysteme->begin();m_ItVecParticuleSysteme!=m_VecParticuleSysteme->end();m_ItVecParticuleSysteme++) 00074 { 00075 if(strcmp(m_ItVecParticuleSysteme->GetParticuleSystemeName(),param)==0) 00076 { 00077 m_ItVecParticuleSysteme->Stop(); 00078 } 00079 } 00080 return GetNumberEnableParticuleSysteme(); 00081 UnGuard 00082 } |
|
Definition at line 61 of file ExManagerParticuleSystem.h. Referenced by CreateVecPobject(), ListParticuleSysteme(), and SetManagerLink(). |
|
Definition at line 49 of file ExManagerParticuleSystem.h. Referenced by CreateVecPobject(), ListParticuleSysteme(), PauseAllParticuleSysteme(), PauseParticuleSysteme(), StartAllParticuleSysteme(), StartParticuleSysteme(), StopAllParticuleSysteme(), and StopParticuleSysteme(). |
|
Definition at line 47 of file ExManagerParticuleSystem.h. Referenced by CreateVecPobject(), ExManagerParticuleSystem(), GetNumberEnableParticuleSysteme(), ListParticuleSysteme(), LoadParticuleSysteme(), PauseAllParticuleSysteme(), PauseParticuleSysteme(), StartAllParticuleSysteme(), StartParticuleSysteme(), StopAllParticuleSysteme(), and StopParticuleSysteme(). |
|
Definition at line 48 of file ExManagerParticuleSystem.h. Referenced by CreateVecPobject(), ExManagerParticuleSystem(), and RecordToManagerPVS(). |
|
Definition at line 45 of file ExManagerParticuleSystem.h. |
|
Definition at line 44 of file ExManagerParticuleSystem.h. |
|
Definition at line 43 of file ExManagerParticuleSystem.h. |
|
Referenced by LoadParticuleSysteme(), and SetManagerLink(). |