Core module

Cubos core library.

Macro used to export and import symbols from the library.

The core library contains loose utilities and functionality on which the rest of the Cubos libraries and applications are built on. Lives in the cubos::core namespace.

This library can be further divided into modules, which are documented in their respective module pages. Each of these modules has its own namespace and directory in the source tree. For example, the ECS module lives in the cubos::core::ecs namespace.

Modules

module Audio
Provides audio functionality.
module Data
Provides filesystem and serialization utilities.
module ECS
Entity Component System library.
module Geometry
Provides geometry utilities.
module Graphics
Provides a graphics API abstraction.
module Input and output
Provides a window API abstraction.
module Memory
Provides a stream library and memory utilities.
module Reflection
Provides utilities useful for handling type-erased data.
module Threading
Provides threading and asynchronous related utilities.

Files

file api.hpp
Macro CUBOS_CORE_API.

Classes

class cubos::core::tel::Metrics
Singleton class that manages a collection of metrics.

Functions

void abort()
Aborts the program and prints a pretty stack trace.

Defines

#define CUBOS_METRIC(...)
Macro to add a metric.

Function documentation

void abort()

Aborts the program and prints a pretty stack trace.

Define documentation

#define CUBOS_METRIC(...)

Macro to add a metric.