#include <ExManagerObject.h>
Graphe d'héritage de la classe ExManagerObject< TypeA >
Membres publics | |
ExManagerObject () | |
~ExManagerObject () | |
void | SetManagerId (ExManagerId *Id) |
void | Reset (void) |
void | Init (void) |
void | Init (std::string FileName) |
void | Reload (void) |
void | List (void) |
virtual void | Draw (void) |
bool | Add (TypeA object) |
bool | Add (std::string FileName) |
bool | Load (std::string FileName) |
bool | Remove (ExNihilo::ExId id) |
bool | Remove (std::string Name) |
bool | RemoveCurrentObject (void) |
TypeA * | GetObject (ExNihilo::ExId id) |
TypeA * | GetObject (std::string Name) |
TypeA * | GetCurrentObject (void) |
TypeA * | GetFirstObject (void) |
TypeA * | GetLastObject (void) |
ExNihilo::ExId | GetFirstObjectId (void) |
ExNihilo::ExId | GetLasstObjectId (void) |
bool | SetCurrentObject (ExNihilo::ExId id) |
bool | SetCurrentObject (std::string Name) |
ExNihilo::ExId | NextObject (void) |
ExNihilo::ExId | PreviousObject (void) |
unsigned int | GetNumberObject (void) |
void | SetFlux (std::ostrstream *consol, ExCFluxAction *action) |
bool | GetStatus (void) |
void | SetStatus (bool status) |
void | SetAskForCommand (bool status) |
void | SetAskForExclusifCommand (bool status) |
bool | AskForCommand (void) |
bool | AskForExclusifCommand (void) |
virtual ExCAction | InputCommand (ExCCommand Command) |
virtual ExCAction | InputAction (ExCAction Action) |
Attributs Publics | |
std::ostrstream * | Consol |
ExCFluxAction * | FluxAction |
Attributs Protégés | |
std::map< ExNihilo::ExId, TypeA, std::less< ExNihilo::ExId > > * | m_Map |
std::map< ExNihilo::ExId, TypeA, std::less< ExNihilo::ExId > >::iterator | m_ItMap |
ExManagerId * | ManagerId |
ExNihilo::ExId | m_CurrentObjectId |
bool | m_Status |
bool | m_AskForCommand |
bool | m_Exclusif |
|
Définition à la ligne 130 du fichier ExManagerObject.h. Référencé par ExManagerObject< TypeA >::~ExManagerObject().
00131 { 00132 Guard(ExManagerObject<TypeA>::ExManagerObject(void)) 00133 00134 UnGuard 00135 } |
|
Définition à la ligne 138 du fichier ExManagerObject.h. Références ExManagerObject< TypeA >::ExManagerObject(), Guard, et UnGuard.
00139 { 00140 Guard(ExManagerObject<TypeA>::~ExManagerObject(void)) 00141 UnGuard 00142 } |
|
Redéfinie dans ExManagerTexture. Définition à la ligne 234 du fichier ExManagerObject.h. Références ExManagerObject< TypeA >::Add(), Guard, ExManagerObject< TypeA >::Load(), et UnGuard.
00235 { 00236 Guard(bool ExManagerObject<TypeA>::Add(std::string FileName)) 00237 return Load(FileName); 00238 UnGuard 00239 } |
|
Redéfinie dans ExManagerTexture. Définition à la ligne 196 du fichier ExManagerObject.h. Références ExManager::Consol, Guard, ExManagerObject< TypeA >::m_Map, ExManagerObject< TypeA >::ManagerId, ExManagerId::RecordObject(), et UnGuard. Référencé par ExManagerTexture::Add(), ExManagerObject< TypeA >::Add(), ExManagerCamera::AddCamera(), ExManagerParticuleSystem::Load(), ExManagerObjectWindow::Load(), ExManagerObject< TypeA >::Load(), ExManagerModel::Load(), et ExManagerAnimation::Load().
00197 { 00198 Guard(bool ExManagerObject<TypeA>::Add(TypeA object)) 00199 try 00200 { 00201 //Ask ManagerId for Aviable Id and Avialbe name 00202 //object.SetIdName(ManagerId->GetNewIdName(object.GetName())); 00203 00204 std::pair<ExNihilo::ExId,TypeA> obj; 00205 obj.first=ManagerId->RecordObject(object); 00206 obj.second=object; 00207 m_Map->insert(obj); 00208 return true; 00209 } 00210 catch(ExCExpRecordObject) 00211 { 00212 *Consol<<"ExManagerObject:: Exception record object"<<std::endl; 00213 std::cout<<"ExManagerObject:: Exception record object"<<std::endl; 00214 return false; 00215 } 00216 catch(...) 00217 { 00218 *Consol<<"ExManagerObject:: Exception add object"<<std::endl; 00219 std::cout<<"ExManagerObject:: Exception add object"<<std::endl; 00220 return false; 00221 } 00222 UnGuard 00223 } |
|
Définition à la ligne 89 du fichier ExManager.h. Références ExManager::m_AskForCommand. Référencé par ExManagerCommand::InputCommand().
00089 {return m_AskForCommand;} |
|
Définition à la ligne 90 du fichier ExManager.h. Références ExManager::m_Exclusif. Référencé par ExManagerCommand::InputCommand().
00090 {return m_Exclusif;} |
|
Redéfinie dans ExManagerAnimation, ExManagerCamera, ExManagerEntity, ExManagerGizmo, ExManagerInterface, ExManagerLight, ExManagerLoad, ExManagerMesh, ExManagerModel, ExManagerObjectWindow, ExManagerParticuleSystem, ExManagerSpirit, et ExManagerVertexProgram. Définition à la ligne 101 du fichier ExManagerObject.h.
00101 {}; |
|
Redéfinie dans ExManagerAnimation, ExManagerCamera, ExManagerEntity, et ExManagerModel. Définition à la ligne 284 du fichier ExManagerObject.h. Références ExManagerObject< TypeA >::GetObject(), Guard, ExManagerObject< TypeA >::m_CurrentObjectId, et UnGuard.
00285 { 00286 Guard(TypeA * ExManagerObject<TypeA>::GetCurrentObject(void)) 00287 return GetObject(m_CurrentObjectId); 00288 UnGuard 00289 } |
|
|
|
|
|
|
|
Définition à la ligne 292 du fichier ExManagerObject.h. Références ExManagerObject< TypeA >::GetObject(), Guard, ExManagerObject< TypeA >::m_ItMap, ExManagerObject< TypeA >::m_Map, et UnGuard.
00293 { 00294 Guard(TypeA * ExManagerObject<TypeA>::GetLastObject(void)) 00295 m_ItMap=m_Map->end(); 00296 m_ItMap--; 00297 return GetObject(m_ItMap->second.GetId()); 00298 UnGuard 00299 } |
|
Définition à la ligne 124 du fichier ExManagerObject.h.
00124 {return m_Map->size();} |
|
Définition à la ligne 276 du fichier ExManagerObject.h. Références ExManagerObject< TypeA >::GetObject(), ExManagerId::GetObjectId(), Guard, ExManagerObject< TypeA >::m_ItMap, ExManagerObject< TypeA >::ManagerId, et UnGuard.
00277 { 00278 Guard(TypeA * ExManagerObject<TypeA>::GetObject(std::string Name)) 00279 return GetObject(ManagerId->GetObjectId(Name,typeid(&m_ItMap->second).name())); 00280 UnGuard 00281 } |
|
Redéfinie dans ExManagerAnimation, ExManagerCamera, ExManagerEntity, ExManagerMesh, et ExManagerModel. Définition à la ligne 267 du fichier ExManagerObject.h. Références ExNihilo::ExId, Guard, ExManagerObject< TypeA >::m_Map, et UnGuard. Référencé par ExManagerObject< TypeA >::GetCurrentObject(), ExManagerObject< TypeA >::GetLastObject(), ExManagerObject< TypeA >::GetObject(), et ExManagerObject< TypeA >::SetCurrentObject().
00268 { 00269 Guard(TypeA * ExManagerObject<TypeA>::GetObject(ExNihilo::ExId id)) 00270 if(m_Map->find(id)==m_Map->end())return NULL; 00271 return &m_Map->find(id)->second; 00272 UnGuard 00273 } |
|
Définition à la ligne 85 du fichier ExManager.h. Références ExManager::m_Status. Référencé par ExManagerInterface::Draw(), ExManagerConsole::Draw(), et ExManagerOutput::DrawScene().
00085 {return m_Status;} |
|
Redéfinie dans ExManagerTexture. Définition à la ligne 164 du fichier ExManagerObject.h. Références Guard, ExManagerObject< TypeA >::Init(), et UnGuard.
00165 { 00166 Guard(void ExManagerObject<TypeA>::Init(std::string FileName)) 00167 UnGuard 00168 } |
|
|
Redéfinie dans ExManagerCommand, ExManagerConsole, ExManagerFog, ExManagerId, ExManagerMap, ExManagerNetwork, ExManagerPVS, ExManagerSpecialEffect, ExManagerWindow, ExManagerLoad, ExManagerAnimation, ExManagerCamera, ExManagerEntity, ExManagerInterface, ExManagerLoad, ExManagerMesh, ExManagerModel, ExManagerObjectWindow, ExManagerParticuleSystem, ExManagerSound, et ExManagerTexture. Définition à la ligne 42 du fichier ExManager.cpp. Références NOTHING.
00043 {return NOTHING;} |
|
Redéfinie dans ExManagerCommand, ExManagerConsole, ExManagerFog, ExManagerMap, ExManagerNetwork, ExManagerPVS, ExManagerSpecialEffect, ExManagerWindow, ExManagerLoad, ExManagerAnimation, ExManagerCamera, ExManagerEntity, ExManagerInterface, ExManagerLoad, ExManagerMesh, ExManagerModel, ExManagerObjectWindow, ExManagerParticuleSystem, et ExManagerSound. Définition à la ligne 40 du fichier ExManager.cpp. Références NOTHING.
00041 {return NOTHING;} |
|
Redéfinie dans ExManagerModel. Définition à la ligne 179 du fichier ExManagerObject.h. Références ExManager::Consol, Guard, ExManagerObject< TypeA >::m_CurrentObjectId, ExManagerObject< TypeA >::m_ItMap, ExManagerObject< TypeA >::m_Map, et UnGuard.
00180 { 00181 Guard(void ExManagerObject<TypeA>::List(void)) 00182 *Consol<<"---------------List of Object Type :"<<typeid(&m_ItMap->second).name()<<"--------------"<<std::endl; 00183 for(m_ItMap=m_Map->begin();m_ItMap!=m_Map->end();m_ItMap++) 00184 { 00185 *Consol<<" Id:"<<m_ItMap->second.GetId()<<" Name :"<<m_ItMap->second.GetName()<<std::endl; 00186 } 00187 *Consol<<"-----------------------------------------------------------------"<<std::endl; 00188 *Consol<<" Number Total of Object : "<<m_Map->size()<<std::endl; 00189 *Consol<<" Current Object Id : "<<m_CurrentObjectId<<std::endl; 00190 *Consol<<"-----------------------------------------------------------------"<<std::endl; 00191 00192 UnGuard 00193 } |
|
Redéfinie dans ExManagerLoad, ExManagerAnimation, ExManagerEntity, ExManagerInterface, ExManagerLoad, ExManagerMesh, ExManagerModel, ExManagerObjectWindow, ExManagerParticuleSystem, et ExManagerTexture. Définition à la ligne 226 du fichier ExManagerObject.h. Références ExManagerObject< TypeA >::Add(), Guard, et UnGuard. Référencé par ExManagerObject< TypeA >::Add().
00227 { 00228 Guard(bool ExManagerObject<TypeA>::Load(std::string FileName)) 00229 return Add(TypeA(FileName)); 00230 UnGuard 00231 } |
|
Définition à la ligne 335 du fichier ExManagerObject.h. Références ExNihilo::ExId, Guard, ExManagerObject< TypeA >::m_CurrentObjectId, ExManagerObject< TypeA >::m_Map, et UnGuard.
00336 { 00337 Guard(ExNihilo::ExId ExManagerObject<TypeA>::NextObject(void)) 00338 if(m_Map->upper_bound(m_CurrentObjectId)==m_Map->end()) 00339 { 00340 m_CurrentObjectId=m_Map->begin()->first; 00341 }else 00342 { 00343 m_CurrentObjectId=m_Map->upper_bound(m_CurrentObjectId)->first; 00344 } 00345 return m_CurrentObjectId; 00346 UnGuard 00347 } |
|
Définition à la ligne 350 du fichier ExManagerObject.h. Références ExNihilo::ExId, Guard, ExManagerObject< TypeA >::m_CurrentObjectId, ExManagerObject< TypeA >::m_ItMap, ExManagerObject< TypeA >::m_Map, et UnGuard.
00351 { 00352 Guard(ExNihilo::ExId ExManagerObject<TypeA>::PreviousObject(void)) 00353 if(m_Map->begin()->first==m_CurrentObjectId) 00354 { 00355 m_CurrentObjectId=m_Map->rbegin()->first; 00356 }else 00357 { 00358 m_ItMap=m_Map->find(m_CurrentObjectId); 00359 m_ItMap--; 00360 m_CurrentObjectId=m_ItMap->first; 00361 } 00362 return m_CurrentObjectId; 00363 UnGuard 00364 } |
|
Redéfinie à partir de ExManager. Redéfinie dans ExManagerAnimation, ExManagerEntity, ExManagerModel, et ExManagerTexture. Définition à la ligne 171 du fichier ExManagerObject.h.
00172 { 00173 Guard(void ExManagerObject<TypeA>::Reload(void)) 00174 UnGuard 00175 } |
|
Définition à la ligne 251 du fichier ExManagerObject.h. Références ExManagerId::GetObjectId(), Guard, ExManagerObject< TypeA >::ManagerId, ExManagerObject< TypeA >::Remove(), et UnGuard.
00252 { 00253 Guard(bool ExManagerObject<TypeA>::Remove(std::string Name)) 00254 return Remove(ManagerId->GetObjectId(Name,typeid(&TypeA))); 00255 UnGuard 00256 } |
|
Définition à la ligne 242 du fichier ExManagerObject.h. Références ExNihilo::ExId, Guard, ExManagerObject< TypeA >::m_CurrentObjectId, ExManagerObject< TypeA >::m_Map, et UnGuard. Référencé par ExManagerObject< TypeA >::Remove(), et ExManagerObject< TypeA >::RemoveCurrentObject().
00243 { 00244 Guard(bool ExManagerObject<TypeA>::Remove(ExNihilo::ExId id)) 00245 if(0==m_Map->erase(id))return false; 00246 else{if(m_CurrentObjectId==id)m_CurrentObjectId=-1;return true;} 00247 UnGuard 00248 } |
|
Définition à la ligne 259 du fichier ExManagerObject.h. Références Guard, ExManagerObject< TypeA >::m_CurrentObjectId, ExManagerObject< TypeA >::Remove(), et UnGuard.
00260 { 00261 Guard(bool ExManagerObject<TypeA>::RemoveCurrentObject(void)) 00262 return Remove(m_CurrentObjectId); 00263 UnGuard 00264 } |
|
|
Définition à la ligne 87 du fichier ExManager.h. Références ExManager::m_AskForCommand. Référencé par ExManagerConsole::ExManagerConsole(), ExManagerModel::ExManagerModel(), ExManagerObjectWindow::Init(), ExManagerNetwork::Init(), ExManagerConsole::InputAction(), ExManagerNetwork::InputCommand(), ExManagerLoad::LoadSetOfFile(), et ExManagerNetwork::Say().
00087 {m_AskForCommand=status;} |
|
Définition à la ligne 88 du fichier ExManager.h. Références ExManager::m_Exclusif. Référencé par ExManagerConsole::ExManagerConsole(), ExManagerModel::ExManagerModel(), ExManagerObjectWindow::Init(), ExManagerNetwork::Init(), ExManagerConsole::InputAction(), ExManagerNetwork::InputCommand(), et ExManagerNetwork::Say().
00088 {m_Exclusif=status;} |
|
Redéfinie dans ExManagerTexture. Définition à la ligne 327 du fichier ExManagerObject.h. Références ExManagerId::GetObjectId(), Guard, ExManagerObject< TypeA >::m_ItMap, ExManagerObject< TypeA >::ManagerId, ExManagerObject< TypeA >::SetCurrentObject(), et UnGuard.
00328 { 00329 Guard(bool ExManagerObject<TypeA>::SetCurrentObject(std::string Name)) 00330 return SetCurrentObject(ManagerId->GetObjectId(Name,typeid(&m_ItMap->second).name())); 00331 UnGuard 00332 } |
|
Redéfinie dans ExManagerObjectWindow, et ExManagerTexture. Définition à la ligne 318 du fichier ExManagerObject.h. Références ExNihilo::ExId, ExManagerObject< TypeA >::GetObject(), Guard, ExManagerObject< TypeA >::m_CurrentObjectId, et UnGuard. Référencé par ExManagerObjectWindow::SetCurrentObject(), et ExManagerObject< TypeA >::SetCurrentObject().
00319 { 00320 Guard(bool ExManagerObject<TypeA>::SetCurrentObject(ExNihilo::ExId id)) 00321 if(GetObject(id)!=NULL)m_CurrentObjectId=id;return true; 00322 return false; 00323 UnGuard 00324 } |
|
Définition à la ligne 35 du fichier ExManager.cpp. Références ExManager::Consol, et ExManager::FluxAction. Référencé par SetManagerLink().
00036 { 00037 Consol=consol; 00038 FluxAction=action; 00039 } |
|
Définition à la ligne 94 du fichier ExManagerObject.h.
00094 {ManagerId = Id;} |
|
Définition à la ligne 86 du fichier ExManager.h. Références ExManager::m_Status. Référencé par ExManagerConsole::Draw(), ExManagerConsole::ExManagerConsole(), ExManagerObjectWindow::Init(), ExManagerInterface::Init(), ExManagerConsole::InputAction(), ExManagerLoad::LoadSetOfFile(), et ExManagerConsole::SetConsoleState().
00086 {m_Status=status;} |
|
|
Définition à la ligne 74 du fichier ExManager.h. Référencé par ExManagerWindow::Apply(), ExManagerCommand::ApplyAction(), ExManagerCommand::LoadExecFile(), ExManagerId::RecordObject(), ExManager::SetFlux(), et ExManagerSpecialEffect::Specialeffect(). |
|
Définition à la ligne 70 du fichier ExManager.h. Référencé par ExManager::AskForCommand(), ExManagerConsole::ExManagerConsole(), et ExManager::SetAskForCommand(). |
|
|
Définition à la ligne 71 du fichier ExManager.h. Référencé par ExManager::AskForExclusifCommand(), et ExManager::SetAskForExclusifCommand(). |
|
Définition à la ligne 76 du fichier ExManagerObject.h. Référencé par ExManagerObject< TypeA >::GetLastObject(), ExManagerObject< TypeA >::GetObject(), ExManagerObject< TypeA >::List(), ExManagerObject< TypeA >::PreviousObject(), et ExManagerObject< TypeA >::SetCurrentObject(). |
|
|
Définition à la ligne 69 du fichier ExManager.h. Référencé par ExManager::GetStatus(), et ExManager::SetStatus(). |
|
Définition à la ligne 78 du fichier ExManagerObject.h. Référencé par ExManagerObject< TypeA >::Add(), ExManagerObject< TypeA >::GetObject(), ExManagerObject< TypeA >::Remove(), ExManagerObject< TypeA >::SetCurrentObject(), et ExManagerObject< ExCSpirit >::SetManagerId(). |