Inheritance diagram for NL3D::CAsyncFileManager3D::CIGLoadUser:

Public Member Functions | |
| CIGLoadUser (const std::string &meshName, UInstanceGroup **ppIG) | |
| void | getName (std::string &result) const |
| void | run (void) |
Private Attributes | |
| std::string | _IGName |
| UInstanceGroup ** | _ppIG |
|
||||||||||||
|
Definition at line 413 of file async_file_manager_3d.cpp.
|
|
|
Reimplemented from NLMISC::IRunnable. Definition at line 451 of file async_file_manager_3d.cpp.
00452 {
00453 result = "LoadIGUser(" + _IGName + ")";
00454 }
|
|
|
Implements NLMISC::IRunnable. Definition at line 420 of file async_file_manager_3d.cpp. References NL3D_MEM_IG, and nlwarning.
00421 {
00422 NL3D_MEM_IG
00423 CInstanceGroupUser *pIG = new CInstanceGroupUser();
00424 try
00425 {
00426 if (pIG->init (_IGName))
00427 {
00428 *_ppIG = pIG;
00429 }
00430 else
00431 {
00432 nlwarning ("Couldn't init '%s'", _IGName.c_str());
00433 delete pIG;
00434 *_ppIG = (UInstanceGroup*)-1;
00435 delete this;
00436 return;
00437 }
00438 }
00439 catch(EPathNotFound &)
00440 {
00441 nlwarning ("Couldn't load '%s'", _IGName.c_str());
00442 delete pIG;
00443 *_ppIG = (UInstanceGroup*)-1;
00444 delete this;
00445 return;
00446 }
00447 delete this;
00448 }
|
|
|
Definition at line 117 of file async_file_manager_3d.h. |
|
|
Definition at line 118 of file async_file_manager_3d.h. |
1.3.6