MCRO
C++23 utilities for Unreal Engine.
Loading...
Searching...
No Matches
Common.h
Go to the documentation of this file.
1/** @noop License Comment
2 * @file
3 * @copyright
4 * This Source Code is subject to the terms of the Mozilla Public License, v2.0.
5 * If a copy of the MPL was not distributed with this file You can obtain one at
6 * https://mozilla.org/MPL/2.0/
7 *
8 * @author David Mórász
9 * @date 2025
10 */
11
12/**
13 * @file
14 * @brief
15 * This header is a central include for all common utilities MCRO offers including higher level features like errors
16 * and delegates. You may use the Mcro::Common namespace or use the individual namespaces declared
17 * in the individual headers if you notice name conflicts with your own project.
18 */
19
20#pragma once
21
22#include "Mcro/CommonCore.h"
24#include "Mcro/AssertMacros.h"
25#include "Mcro/Dll.h"
37#include "Mcro/Modules.h"
38#include "Mcro/Observable.h"
40#include "Mcro/Slate.h"
41#include "Mcro/Subsystems.h"
43#include "Mcro/UObjects/Init.h"
44#include "Mcro/Yaml.h"
45
46/** @brief Use this namespace for all the common features MCRO has to offer */
47namespace Mcro::Common
48{
49 using namespace Mcro::AutoModularFeature;
50 using namespace Mcro::Dll;
51 using namespace Mcro::Delegates;
52 using namespace Mcro::Error;
53 using namespace Mcro::Modules;
54 using namespace Mcro::Observable;
55 using namespace Mcro::Rendering::Textures;
56 using namespace Mcro::Slate;
57 using namespace Mcro::Subsystems;
58 using namespace Mcro::Timespan;
59 using namespace Mcro::UObjects::Init;
60 using namespace Mcro::Yaml;
61
62 /** @brief Use Mcro::Common with namespaces included which may guard common vocabulary symbols like "From" or "Get" */
63 namespace With
64 {
65 /** @copydoc Mcro::Delegates::InferDelegate */
66 namespace InferDelegate { using namespace Mcro::Common; using namespace Mcro::Common::InferDelegate; }
67 namespace Literals { using namespace Mcro::Common; using namespace Mcro::Timespan::Literals; }
68 }
69}
This header is a central include for simpler utilities MCRO offers. Higher level features like errors...
Use this namespace for all the common features MCRO has to offer.
Definition Common.h:48
Contains utilities for structured error handling.
Definition Error.Fwd.h:19
Namespace for utilities handling Unreal modules.
Definition Modules.h:19
This namespace contain utilities regarding high-level cross-platform and cross-rhi texture objects.
Definition Textures.h:21
Extra functionalities for general Slate programming chores, including enhancements of the Slate decla...
Definition Slate.h:22