Skip to content

Class atlas::system_registry

ClassList > atlas > system_registry

Public Functions

Type Name
system_registry (const std::string & p_tag)
~system_registry ()

Public Static Functions

Type Name
ref< world_scope > create_world (const std::string & p_tag)
Instantiates new world_scope .
ref< world_scope > get_world (const std::string & p_tag)
Searches and returns world_scope if found.

Public Functions Documentation

function system_registry

atlas::system_registry::system_registry (
    const std::string & p_tag
) 

function ~system_registry

atlas::system_registry::~system_registry () 

Public Static Functions Documentation

function create_world

Instantiates new world_scope .

static ref < world_scope > atlas::system_registry::create_world (
    const std::string & p_tag
) 

Note:

system_registry does the following: * Creates world scopes * Manages Lifetimes of world objects * Keeps tracks of the refcounting of references to these world objects * Provide globalized access to other worlds


function get_world

Searches and returns world_scope if found.

static ref < world_scope > atlas::system_registry::get_world (
    const std::string & p_tag
) 

Returns nullptr if world_scope not found



The documentation for this class was generated from the following file TheAtlasEngine/atlas/core/system_framework/system_registry.hpp