carb#

Submodules Summary:

carb.dictionary

This module contains bindings to C++ carb::IDictionary interface.

carb.eventdispatcher

This module contains bindings to C++ carb::eventdispatcher::IEventDispatcher interface.

carb.events

This module contains bindings to C++ carb::IEvents interface.

carb.filesystem

No submodule docstring provided

carb.logging

No submodule docstring provided

carb.profiler

This module contains bindings to C++ carb::profiler::IProfiler interface.

carb.settings

Bindings for `carb::settings::ISettings` interface. Settings is a runtime representation of typical configuration formats (like json, toml, xml), it is a nested dictionary of values.

carb.tokens

Bindings for `carb::tokens::ITokens` interface. It is used for storing tokens and resolving strings containing them.

carb.variant

This module contains bindings to C++ carb::variant::IVariant interface.

Classes Summary:

ColorRgb

ColorRgbDouble

ColorRgba

ColorRgbaDouble

Double2

Double3

Double4

Float2

Pair of floating point values. These can be accessed via the named attributes, `x` & `y`, but

Float3

A triplet of floating point values. These can be accessed via the named attributes, `x`, `y` & `z`, but

Float4

A quadruplet of floating point values. These can be accessed via the named attributes, `x`, `y`, `z` & `w`,

Framework

Int2

Int3

Int4

InterfaceDesc

PluginDesc

PluginHotReload

Members:

PluginImplDesc

Subscription

Subscription holder.

Uint2

Uint3

Uint4

Version

Functions Summary:

cache

Simple lightweight unbounded cache. Sometimes called “memoize”.

log_error

log_info

log_verbose

log_warn

wraps

Decorator factory to apply update_wrapper() to a wrapper function

answer_question

answer_question(question: str) -> str

breakpoint

breakpoint() -> None

get_framework

get_framework() -> carb::Framework

log

log(source: str, level: int, fileName: str, functionName: str, lineNumber: int, message: str) -> None

wait_for_native_debugger

wait_for_native_debugger(timeout: float = -1.0, stop: bool = False, quiet: bool = False) -> bool