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

Référence de la classe ExManagerParticuleSystem

#include <ExManagerParticuleSystem.h>


Membres publics

 ExManagerParticuleSystem (void)
 ~ExManagerParticuleSystem (void)
void SetManagerTexture (ExManagerTexture *Texture)
void SetManagerPVS (ExManagerPVS *PVS)
void SetManagerCollision (ExManagerCollision *Collision)
bool LoadParticuleSysteme (const char *FileName)
int StartParticuleSysteme (char *param)
int StopParticuleSysteme (char *param)
int PauseParticuleSysteme (char *param)
int StartAllParticuleSysteme (void)
int StopAllParticuleSysteme (void)
int PauseAllParticuleSysteme (void)
int GetNumberEnableParticuleSysteme (void)
void ListParticuleSysteme (void)
void RecordToManagerPVS (void)

Attributs Publics

std::ostrstream * Consol
void(* WriteToConsol )(const char *Label)

Membres privés

void CreateVecPobject (void)

Attributs Privés

ExManagerTextureManagerTexture
ExManagerPVSManagerPVS
ExManagerCollisionManagerCollision
std::vector< ExCSystemeParticule > * m_VecParticuleSysteme
std::vector< ExCSystemeParticule * > * m_VecPParticuleSysteme
std::vector< ExCSystemeParticule
>::iterator 
m_ItVecParticuleSysteme


Documentation des contructeurs et destructeurs

ExManagerParticuleSystem void   
 

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

Références ExManagerParticuleSystem(), Guard, m_VecParticuleSysteme, m_VecPParticuleSysteme, et UnGuard.

Référencé par ExManagerParticuleSystem(), et ~ExManagerParticuleSystem().

00026 {
00027 Guard(ExManagerParticuleSystem::ExManagerParticuleSystem(void))
00028         m_VecParticuleSysteme = new std::vector<ExCSystemeParticule>;
00029         m_VecPParticuleSysteme = new std::vector<ExCSystemeParticule *>;
00030 UnGuard
00031 }

~ExManagerParticuleSystem void   
 

Définition à la ligne 34 du fichier ExManagerParticuleSystem.cpp.

Références ExManagerParticuleSystem(), Guard, et UnGuard.

00035 {
00036 Guard(ExManagerParticuleSystem::~ExManagerParticuleSystem(void))
00037 UnGuard
00038 }


Documentation des méthodes

void CreateVecPobject void    [private]
 

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

Références Consol, CreateVecPobject(), Guard, m_ItVecParticuleSysteme, m_VecParticuleSysteme, m_VecPParticuleSysteme, et UnGuard.

Référencé par CreateVecPobject(), et 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 }

int GetNumberEnableParticuleSysteme void    [inline]
 

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

Références m_VecParticuleSysteme.

Référencé par PauseAllParticuleSysteme(), PauseParticuleSysteme(), StartAllParticuleSysteme(), StartParticuleSysteme(), StopAllParticuleSysteme(), et StopParticuleSysteme().

00078 {return m_VecParticuleSysteme->size();}

void ListParticuleSysteme void   
 

Définition à la ligne 131 du fichier ExManagerParticuleSystem.cpp.

Références Consol, Guard, ListParticuleSysteme(), m_ItVecParticuleSysteme, m_VecParticuleSysteme, et UnGuard.

Référencé par ListParticuleSysteme(), et 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 }

bool LoadParticuleSysteme const char *    FileName
 

Définition à la ligne 41 du fichier ExManagerParticuleSystem.cpp.

Références CreateVecPobject(), Guard, ExCSystemeParticule::LoadParticuleSysteme(), LoadParticuleSysteme(), m_VecParticuleSysteme, UnGuard, WriteToConsol, et ExCSystemeParticule::WriteToConsol.

Référencé par LoadParticuleSysteme(), et 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 }

int PauseAllParticuleSysteme void   
 

Définition à la ligne 120 du fichier ExManagerParticuleSystem.cpp.

Références GetNumberEnableParticuleSysteme(), Guard, m_ItVecParticuleSysteme, m_VecParticuleSysteme, PauseAllParticuleSysteme(), et UnGuard.

Référencé par PauseAllParticuleSysteme(), et ExManagerCommand::ProcessAction().

int PauseParticuleSysteme char *    param
 

Définition à la ligne 84 du fichier ExManagerParticuleSystem.cpp.

Références GetNumberEnableParticuleSysteme(), Guard, m_ItVecParticuleSysteme, m_VecParticuleSysteme, PauseParticuleSysteme(), et UnGuard.

Référencé par PauseParticuleSysteme(), et 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 }

void RecordToManagerPVS void    [inline]
 

Définition à la ligne 80 du fichier ExManagerParticuleSystem.h.

Références m_VecPParticuleSysteme, et ExManagerPVS::SetVecSystemeParticule().

Référencé par SetManagerLink().

void SetManagerCollision ExManagerCollision   Collision [inline]
 

Définition à la ligne 66 du fichier ExManagerParticuleSystem.h.

Référencé par SetManagerLink().

00066 {ManagerCollision = Collision;}

void SetManagerPVS ExManagerPVS   PVS [inline]
 

Définition à la ligne 65 du fichier ExManagerParticuleSystem.h.

Référencé par SetManagerLink().

00065 {ManagerPVS = PVS;}

void SetManagerTexture ExManagerTexture   Texture [inline]
 

Définition à la ligne 64 du fichier ExManagerParticuleSystem.h.

Référencé par SetManagerLink().

00064 {ManagerTexture = Texture;}

int StartAllParticuleSysteme void   
 

Définition à la ligne 98 du fichier ExManagerParticuleSystem.cpp.

Références GetNumberEnableParticuleSysteme(), Guard, m_ItVecParticuleSysteme, m_VecParticuleSysteme, StartAllParticuleSysteme(), et UnGuard.

Référencé par ExManagerCommand::ProcessAction(), et StartAllParticuleSysteme().

int StartParticuleSysteme char *    param
 

Définition à la ligne 56 du fichier ExManagerParticuleSystem.cpp.

Références GetNumberEnableParticuleSysteme(), Guard, m_ItVecParticuleSysteme, m_VecParticuleSysteme, StartParticuleSysteme(), et UnGuard.

Référencé par ExManagerCommand::ProcessAction(), et 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 }

int StopAllParticuleSysteme void   
 

Définition à la ligne 109 du fichier ExManagerParticuleSystem.cpp.

Références GetNumberEnableParticuleSysteme(), Guard, m_ItVecParticuleSysteme, m_VecParticuleSysteme, StopAllParticuleSysteme(), et UnGuard.

Référencé par ExManagerCommand::ProcessAction(), et StopAllParticuleSysteme().

int StopParticuleSysteme char *    param
 

Définition à la ligne 70 du fichier ExManagerParticuleSystem.cpp.

Références GetNumberEnableParticuleSysteme(), Guard, m_ItVecParticuleSysteme, m_VecParticuleSysteme, StopParticuleSysteme(), et UnGuard.

Référencé par ExManagerCommand::ProcessAction(), et 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 }


Documentation des données imbriquées

std::ostrstream* Consol
 

Définition à la ligne 61 du fichier ExManagerParticuleSystem.h.

Référencé par CreateVecPobject(), ListParticuleSysteme(), et SetManagerLink().

std::vector<ExCSystemeParticule>::iterator m_ItVecParticuleSysteme [private]
 

Définition à la ligne 49 du fichier ExManagerParticuleSystem.h.

Référencé par CreateVecPobject(), ListParticuleSysteme(), PauseAllParticuleSysteme(), PauseParticuleSysteme(), StartAllParticuleSysteme(), StartParticuleSysteme(), StopAllParticuleSysteme(), et StopParticuleSysteme().

std::vector<ExCSystemeParticule>* m_VecParticuleSysteme [private]
 

Définition à la ligne 47 du fichier ExManagerParticuleSystem.h.

Référencé par CreateVecPobject(), ExManagerParticuleSystem(), GetNumberEnableParticuleSysteme(), ListParticuleSysteme(), LoadParticuleSysteme(), PauseAllParticuleSysteme(), PauseParticuleSysteme(), StartAllParticuleSysteme(), StartParticuleSysteme(), StopAllParticuleSysteme(), et StopParticuleSysteme().

std::vector<ExCSystemeParticule*>* m_VecPParticuleSysteme [private]
 

Définition à la ligne 48 du fichier ExManagerParticuleSystem.h.

Référencé par CreateVecPobject(), ExManagerParticuleSystem(), et RecordToManagerPVS().

ExManagerCollision* ManagerCollision [private]
 

Définition à la ligne 45 du fichier ExManagerParticuleSystem.h.

ExManagerPVS* ManagerPVS [private]
 

Définition à la ligne 44 du fichier ExManagerParticuleSystem.h.

ExManagerTexture* ManagerTexture [private]
 

Définition à la ligne 43 du fichier ExManagerParticuleSystem.h.

void(* WriteToConsol)(const char *Label)
 

Référencé par LoadParticuleSysteme(), et SetManagerLink().


La documentation associée à cette classe a été générée à partir des fichiers suivants :
Généré le Tue Aug 6 20:25:46 2002 pour ExNihilo par doxygen1.2.17