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
"
23
#include "
Mcro/AutoModularFeature.h
"
24
#include "
Mcro/AssertMacros.h
"
25
#include "
Mcro/Dll.h
"
26
#include "
Mcro/Delegates/EventDelegate.h
"
27
#include "
Mcro/Delegates/DelegateFrom.h
"
28
#include "
Mcro/Delegates/AsNative.h
"
29
#include "
Mcro/Delegates/EventMultiplex.h
"
30
#include "
Mcro/Error/BlueprintStackTrace.h
"
31
#include "
Mcro/Error/CppException.h
"
32
#include "
Mcro/Error/CppStackTrace.h
"
33
#include "
Mcro/Error/ErrorManager.h
"
34
#include "
Mcro/Error/PlainTextComponent.h
"
35
#include "
Mcro/Error/SErrorDisplay.h
"
36
#include "
Mcro/Error/SPlainTextDisplay.h
"
37
#include "
Mcro/Modules.h
"
38
#include "
Mcro/Observable.h
"
39
#include "
Mcro/Rendering/Textures.h
"
40
#include "
Mcro/Slate.h
"
41
#include "
Mcro/Subsystems.h
"
42
#include "
Mcro/TimespanLiterals.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 */
47
namespace
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
}
AsNative.h
AssertMacros.h
AutoModularFeature.h
BlueprintStackTrace.h
CommonCore.h
This header is a central include for simpler utilities MCRO offers. Higher level features like errors...
CppException.h
CppStackTrace.h
DelegateFrom.h
Dll.h
ErrorManager.h
EventDelegate.h
EventMultiplex.h
Init.h
Textures.h
Modules.h
Observable.h
PlainTextComponent.h
SErrorDisplay.h
SPlainTextDisplay.h
Slate.h
Subsystems.h
TimespanLiterals.h
Yaml.h
Mcro::AutoModularFeature
Definition
AutoModularFeature.h:22
Mcro::Common
Use this namespace for all the common features MCRO has to offer.
Definition
Common.h:48
Mcro::Delegates
Definition
AsNative.h:19
Mcro::Dll
Definition
Dll.h:18
Mcro::Error
Contains utilities for structured error handling.
Definition
Error.Fwd.h:19
Mcro::Modules
Namespace for utilities handling Unreal modules.
Definition
Modules.h:19
Mcro::Observable
Definition
Observable.Fwd.h:24
Mcro::Rendering::Textures
This namespace contain utilities regarding high-level cross-platform and cross-rhi texture objects.
Definition
Textures.h:21
Mcro::Slate
Extra functionalities for general Slate programming chores, including enhancements of the Slate decla...
Definition
Slate.h:22
Mcro::Subsystems
Definition
Subsystems.h:20
Mcro::Timespan::Literals
Definition
TimespanLiterals.h:18
Mcro::Timespan
Definition
TimespanLiterals.h:18
Mcro::UObjects::Init
Definition
Init.h:18
Mcro::Yaml
Definition
Yaml.h:24
Mcro_Origin
Public
Mcro
Common.h
Generated by
1.12.0