Sound Bakery  v0.1.0
Open-source audio middleware for games
Loading...
Searching...
No Matches
sbk::core::object_tracker Class Reference

Tracks object categories and types. More...

#include <object_tracker.h>

Inheritance diagram for sbk::core::object_tracker:

Public Member Functions

void track_object (object *object)
 
void untrack_object (object *object, std::optional< rttr::type > typeOverride=std::nullopt)
 
std::unordered_set< object * > get_objects_of_category (const SB_OBJECT_CATEGORY &category) const
 
std::unordered_set< object * > get_objects_of_type (const rttr::type &type) const
 

Detailed Description

Tracks object categories and types.

The object_tracker allows for searching of object types and categories.

Objects are tracked with their memory address. This means objects in sound Bakery cannot be moved around in memory.

See also
database

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