#include <ExManagerLight.h>
Membres publics | |
ExManagerLight (void) | |
~ExManagerLight (void) | |
void | SetManagerPVS (ExManagerPVS *PVS) |
void | SetManagerCollision (ExManagerCollision *Collision) |
void | SetManagerId (ExManagerId *Id) |
void | Reset (void) |
void | Init (void) |
bool | Init (char *FileName) |
ExId | NewObject (void) |
ExCLight * | Get (char *Name) |
ExCLight * | Get (ExId Id) |
ExId | Add (ExCLight Object) |
bool | Remove (ExId Id) |
ExId | GetIdByName (char *Name) |
char * | GetNameById (ExId Id) |
Attributs Publics | |
std::ostrstream * | Consol |
void(* | WriteToConsol )(const char *Label) |
Membres privés | |
void | RegisterToPVS (ExId Id) |
Attributs Privés | |
ExManagerPVS * | ManagerPVS |
ExManagerCollision * | ManagerCollision |
ExManagerId * | ManagerId |
std::vector< ExCLight > | m_VecLight |
std::vector< ExCLight >::iterator | m_ItVecLight |
|
Définition à la ligne 26 du fichier ExManagerLight.cpp. Références ExManagerLight(), Guard, et UnGuard. Référencé par ExManagerLight(), et ~ExManagerLight().
00027 { 00028 Guard(ExManagerLight::ExManagerLight(void)) 00029 UnGuard 00030 } |
|
Définition à la ligne 33 du fichier ExManagerLight.cpp. Références ExManagerLight(), Guard, et UnGuard.
00034 { 00035 Guard(ExManagerLight::~ExManagerLight(void)) 00036 UnGuard 00037 } |
|
Définition à la ligne 106 du fichier ExManagerLight.cpp. Références Add(), ExId, ExCObject::GetId(), Guard, m_VecLight, et UnGuard. Référencé par Add().
00107 { 00108 Guard(ExId ExManagerLight::Add(ExCLight Object)) 00109 m_VecLight.push_back(Object); 00110 return Object.GetId(); 00111 UnGuard 00112 } |
|
Définition à la ligne 90 du fichier ExManagerLight.cpp. Références ExId, Get(), Guard, m_ItVecLight, m_VecLight, et UnGuard.
00091 { 00092 Guard(ExCLight * ExManagerLight::Get(ExId Id)) 00093 int i=0; 00094 for(m_ItVecLight=m_VecLight.begin();m_ItVecLight!=m_VecLight.end();m_ItVecLight++,i++) 00095 { 00096 if(m_ItVecLight->GetId()==Id) 00097 { 00098 return &m_VecLight.at(i); 00099 } 00100 } 00101 return NULL; 00102 UnGuard 00103 } |
|
Définition à la ligne 74 du fichier ExManagerLight.cpp. Références Get(), Guard, m_ItVecLight, m_VecLight, et UnGuard. Référencé par Get().
00075 { 00076 Guard(ExCLight * ExManagerLight::Get(char * Name)) 00077 int i=0; 00078 for(m_ItVecLight=m_VecLight.begin();m_ItVecLight!=m_VecLight.end();m_ItVecLight++,i++) 00079 { 00080 if(strcmp(m_ItVecLight->GetName(),Name)==0) 00081 { 00082 return &m_VecLight.at(i); 00083 } 00084 } 00085 return NULL; 00086 UnGuard 00087 } |
|
Définition à la ligne 131 du fichier ExManagerLight.cpp. Références ExId, GetIdByName(), Guard, m_ItVecLight, m_VecLight, et UnGuard. Référencé par GetIdByName().
00132 { 00133 Guard(ExId ExManagerLight::GetIdByName(char *Name)) 00134 for(m_ItVecLight=m_VecLight.begin();m_ItVecLight!=m_VecLight.end();m_ItVecLight++) 00135 { 00136 if(strcmp(m_ItVecLight->GetName(),Name)==0) 00137 { 00138 return m_ItVecLight->GetId(); 00139 } 00140 } 00141 return -1; 00142 UnGuard 00143 } |
|
Définition à la ligne 146 du fichier ExManagerLight.cpp. Références ExId, GetNameById(), Guard, m_ItVecLight, m_VecLight, et UnGuard. Référencé par GetNameById().
00147 { 00148 Guard(char * ExManagerLight::GetNameById(ExId Id)) 00149 for(m_ItVecLight=m_VecLight.begin();m_ItVecLight!=m_VecLight.end();m_ItVecLight++) 00150 { 00151 if(m_ItVecLight->GetId()==Id) 00152 { 00153 return m_ItVecLight->GetName(); 00154 } 00155 } 00156 return NULL; 00157 UnGuard 00158 } |
|
Définition à la ligne 55 du fichier ExManagerLight.cpp. Références Guard, Init(), et UnGuard.
00056 { 00057 Guard(bool ExManagerLight::Init(char * FileName)) 00058 //openf file and load object 00059 return true; 00060 UnGuard 00061 } |
|
Définition à la ligne 48 du fichier ExManagerLight.cpp. Références Guard, Init(), et UnGuard. Référencé par Init().
00049 { 00050 Guard(void ExManagerLight::Init(void)) 00051 UnGuard 00052 } |
|
Définition à la ligne 64 du fichier ExManagerLight.cpp. Références ExId, ExCObject::GetId(), Guard, m_VecLight, NewObject(), et UnGuard. Référencé par NewObject().
00065 { 00066 Guard(ExId ExManagerLight::NewObject(void)) 00067 ExCLight NewLight; 00068 m_VecLight.push_back(NewLight); 00069 return NewLight.GetId(); 00070 UnGuard 00071 } |
|
|
|
Définition à la ligne 115 du fichier ExManagerLight.cpp. Références ExId, Guard, m_ItVecLight, m_VecLight, Remove(), et UnGuard. Référencé par Remove().
00116 { 00117 Guard(bool ExManagerLight::Remove(ExId Id)) 00118 for(m_ItVecLight=m_VecLight.begin();m_ItVecLight!=m_VecLight.end();m_ItVecLight++) 00119 { 00120 if(m_ItVecLight->GetId()==Id) 00121 { 00122 m_VecLight.erase(m_ItVecLight); 00123 return true; 00124 } 00125 } 00126 return false; 00127 UnGuard 00128 } |
|
Définition à la ligne 40 du fichier ExManagerLight.cpp. Références Guard, m_VecLight, Reset(), et UnGuard. Référencé par ExManagerCommand::ProcessAction(), et Reset().
00041 { 00042 Guard(void ExManagerLight::Reset(void)) 00043 m_VecLight.clear(); 00044 UnGuard 00045 } |
|
Définition à la ligne 63 du fichier ExManagerLight.h. Référencé par SetManagerLink().
00063 {ManagerCollision = Collision;} |
|
Définition à la ligne 64 du fichier ExManagerLight.h. Référencé par SetManagerLink().
00064 {ManagerId = Id;} |
|
Définition à la ligne 62 du fichier ExManagerLight.h. Référencé par SetManagerLink().
00062 {ManagerPVS = PVS;} |
|
Définition à la ligne 59 du fichier ExManagerLight.h. Référencé par SetManagerLink(). |
|
Définition à la ligne 47 du fichier ExManagerLight.h. Référencé par Get(), GetIdByName(), GetNameById(), et Remove(). |
|
Définition à la ligne 46 du fichier ExManagerLight.h. Référencé par Add(), Get(), GetIdByName(), GetNameById(), NewObject(), Remove(), et Reset(). |
|
Définition à la ligne 43 du fichier ExManagerLight.h. |
|
Définition à la ligne 44 du fichier ExManagerLight.h. |
|
Définition à la ligne 42 du fichier ExManagerLight.h. |
|
Référencé par SetManagerLink(). |