iv::World< Component > Class Template Referenceabstract

#include <World.hpp>

Public Member Functions

 World (iv::Instance *inst)
 
iv::Instanceinstance () const
 
void Register (Component *)
 
void Unregister (Component *)
 
const std::unordered_set< Component * > & components ()
 

Public Attributes

iv::ClientMarker cm
 

Protected Member Functions

virtual void Component_Registered (Component *component)=0
 
virtual void Component_Unregistered (Component *component)=0
 

Detailed Description

template<class Component>
class iv::World< Component >

Definition at line 13 of file World.hpp.

Constructor & Destructor Documentation

◆ World()

template<class Component >
iv::World< Component >::World ( iv::Instance inst)

Definition at line 5 of file World.inl.

Member Function Documentation

◆ instance()

template<class Component >
iv::Instance * iv::World< Component >::instance

Definition at line 13 of file World.inl.

◆ Register()

template<class Component >
void iv::World< Component >::Register ( Component *  component)

Definition at line 19 of file World.inl.

◆ Unregister()

template<class Component >
void iv::World< Component >::Unregister ( Component *  component)

Definition at line 26 of file World.inl.

◆ components()

template<class Component >
const std::unordered_set< Component * > & iv::World< Component >::components

Definition at line 33 of file World.inl.

◆ Component_Registered()

template<class Component >
virtual void iv::World< Component >::Component_Registered ( Component *  component)
protectedpure virtual

◆ Component_Unregistered()

template<class Component >
virtual void iv::World< Component >::Component_Unregistered ( Component *  component)
protectedpure virtual

Member Data Documentation

◆ cm

template<class Component >
iv::ClientMarker iv::World< Component >::cm

Definition at line 16 of file World.hpp.


The documentation for this class was generated from the following files: