Cbeam
Loading...
Searching...
No Matches
runtime.hpp File Reference
#include <cbeam/config.hpp>
#include "windows_config.hpp"
#include <filesystem>
#include <stdexcept>
#include <string>
Include dependency graph for runtime.hpp:

Go to the source code of this file.

Namespaces

namespace  cbeam
 The root namespace for the Cbeam library. This namespace unifies cross-platform utilities for concurrency, memory management, file handling, logging, serialization, and more. Its purpose is to provide a cohesive collection of modern C++ components that address common system-level and application-level tasks, while promoting thread-safety, interprocess communication, and stable resource handling across varied platform APIs.
 
namespace  cbeam::platform
 Groups platform-specific helpers for Windows, Linux, and macOS. These utilities detect CPU architecture, manage COM initialization on Windows, resolve runtime paths, handle system directories, and unify OS-level functionality behind well-defined C++ APIs.
 

Functions

std::filesystem::path cbeam::platform::get_path_to_runtime_binary (const void *symbol_inside_runtime_binary=nullptr)
 Retrieves the absolute path to the runtime binary (either an executable or a shared library) that contains a specified symbol.