#include <src/core/Loader.h>
Static Public Member Functions | |
static void | add (const XMLFile *file, const ClassTreeMask &mask=ClassTreeMask()) |
static void | close (const XMLFile *file) |
static void | close () |
static std::vector< std::string > | getLevelList () |
static bool | load (const XMLFile *file, const ClassTreeMask &mask=ClassTreeMask()) |
static bool | load (const ClassTreeMask &mask=ClassTreeMask()) |
static bool | open (const XMLFile *file, const ClassTreeMask &mask=ClassTreeMask()) |
static bool | reload (const XMLFile *file, const ClassTreeMask &mask=ClassTreeMask()) |
static bool | reload (const ClassTreeMask &mask=ClassTreeMask()) |
static void | remove (const XMLFile *file) |
static void | unload (const XMLFile *file, const ClassTreeMask &mask=ClassTreeMask()) |
static void | unload (const ClassTreeMask &mask=ClassTreeMask()) |
Static Public Attributes | |
static ClassTreeMask | currentMask_s |
Static Private Attributes | |
static std::vector< std::pair < const XMLFile *, ClassTreeMask > > | files_s |
void orxonox::Loader::add | ( | const XMLFile * | file, | |
const ClassTreeMask & | mask = ClassTreeMask() | |||
) | [static] |
std::vector< std::string > orxonox::Loader::getLevelList | ( | ) | [static] |
bool orxonox::Loader::load | ( | const XMLFile * | file, | |
const ClassTreeMask & | mask = ClassTreeMask() | |||
) | [static] |
References orxonox::LuaBind::clearLuaOutput(), COUT, currentMask_s, orxonox::XMLFile::getFilename(), orxonox::LuaBind::getInstance(), orxonox::LuaBind::getLuaOutput(), orxonox::XMLFile::getMask(), orxonox::LuaBind::loadFile(), orxonox::XMLPort::LoadObject, orxonox::LuaBind::run(), orxonox::BaseObject::setFile(), orxonox::BaseObject::setLoaderIndentation(), orxonox::BaseObject::setNamespace(), orxonox::Namespace::setRoot(), orxonox::Namespace::toString(), orxonox::Exception::what(), and orxonox::Namespace::XMLPort().
bool orxonox::Loader::load | ( | const ClassTreeMask & | mask = ClassTreeMask() |
) | [static] |
bool orxonox::Loader::open | ( | const XMLFile * | file, | |
const ClassTreeMask & | mask = ClassTreeMask() | |||
) | [static] |
bool orxonox::Loader::reload | ( | const XMLFile * | file, | |
const ClassTreeMask & | mask = ClassTreeMask() | |||
) | [static] |
bool orxonox::Loader::reload | ( | const ClassTreeMask & | mask = ClassTreeMask() |
) | [static] |
void orxonox::Loader::remove | ( | const XMLFile * | file | ) | [static] |
void orxonox::Loader::unload | ( | const XMLFile * | file, | |
const ClassTreeMask & | mask = ClassTreeMask() | |||
) | [static] |
References orxonox::ClassTreeMask::isIncluded().
void orxonox::Loader::unload | ( | const ClassTreeMask & | mask = ClassTreeMask() |
) | [static] |
References orxonox::ClassTreeMask::isIncluded().
Referenced by close(), orxonox::GSGraphics::deactivate(), reload(), and orxonox::Level::~Level().
Referenced by orxonox::XMLPortObjectContainer::identifierIsIncludedInLoaderMask(), and load().
std::vector< std::pair< const XMLFile *, ClassTreeMask > > orxonox::Loader::files_s [static, private] |