NkPlatformConfig.h
Include
#include "NKPlatform/NkPlatformConfig.h"Namespace
nkentseu::platformLink (Jenga)
nkentseudependson(["NKPlatform"])Types
PlatformConfig | Platform configuration structure (compile time) |
PlatformCapabilities | Structure of the platform hardware capabilities (run time) |
Functions · 7
GetPlatformConfig | Gets the PlatformConfig singleton instance |
GetPlatformCapabilities | Gets the PlatformCapabilities singleton instance |
GetPlatformName | Gets the platform name as a string |
GetArchName | Gets the architecture name as a string |
GetCompilerName | Gets the compiler name as a string |
Is64Bit | Checks whether the target architecture is 64-bit |
IsLittleEndian | Checks whether the system is little-endian |
Macros · 17
NKENTSEU_PATH_SEPARATOR | Path separator on Windows (character) |
NKENTSEU_PATH_SEPARATOR_STR | Path separator on Windows (string) |
NKENTSEU_LINE_ENDING | End-of-line sequence on Windows |
NKENTSEU_MAX_PATH | Maximum path length on Windows (MAX_PATH) |
NKENTSEU_DYNAMIC_LIB_EXT | Windows dynamic library extension |
NKENTSEU_STATIC_LIB_EXT | Windows static library extension |
NKENTSEU_EXECUTABLE_EXT | Windows executable extension |
NKENTSEU_HAS_UNICODE | Unicode support flag |
NKENTSEU_HAS_THREADING | Multithreading support flag |
NKENTSEU_HAS_FILESYSTEM | <filesystem> support flag |
NKENTSEU_HAS_NETWORK | Network API support flag |
NKENTSEU_DEBUG_BUILD | Debug build flag |
NKENTSEU_RELEASE_BUILD | |
NKENTSEU_OPTIMIZED_BUILD | Optimised build flag |
NKENTSEU_CACHE_ALIGNED | Alignment on a CPU cache line |
NKENTSEU_SIMD_ALIGNMENT | Alignment required by SIMD instructions |
NKENTSEU_SIMD_ALIGNED | Alignment for SIMD data |
Member details
const PlatformConfig &GetPlatformConfig()
Gets the PlatformConfig singleton instance
Source : NkPlatformConfig.h, line 196
const PlatformCapabilities &GetPlatformCapabilities()
Gets the PlatformCapabilities singleton instance
Source : NkPlatformConfig.h, line 320
#define NKENTSEU_PATH_SEPARATOR
Path separator on Windows (character)
Source : NkPlatformConfig.h, line 343
#define NKENTSEU_PATH_SEPARATOR_STR
Path separator on Windows (string)
Source : NkPlatformConfig.h, line 351
#define NKENTSEU_LINE_ENDING
End-of-line sequence on Windows
Source : NkPlatformConfig.h, line 359
#define NKENTSEU_MAX_PATH
Maximum path length on Windows (MAX_PATH)
Source : NkPlatformConfig.h, line 368
#define NKENTSEU_DYNAMIC_LIB_EXT
Windows dynamic library extension
Source : NkPlatformConfig.h, line 371
#define NKENTSEU_STATIC_LIB_EXT
Windows static library extension
Source : NkPlatformConfig.h, line 374
#define NKENTSEU_EXECUTABLE_EXT
Windows executable extension
Source : NkPlatformConfig.h, line 377
#define NKENTSEU_HAS_UNICODE
Unicode support flag
Source : NkPlatformConfig.h, line 480
#define NKENTSEU_HAS_THREADING
Multithreading support flag
Source : NkPlatformConfig.h, line 500
#define NKENTSEU_HAS_FILESYSTEM
<filesystem> support flag
Source : NkPlatformConfig.h, line 519
#define NKENTSEU_HAS_NETWORK
Network API support flag
Source : NkPlatformConfig.h, line 538
#define NKENTSEU_DEBUG_BUILD
Debug build flag
Source : NkPlatformConfig.h, line 561
#define NKENTSEU_RELEASE_BUILD
Source : NkPlatformConfig.h, line 562
#define NKENTSEU_OPTIMIZED_BUILD
Optimised build flag
Source : NkPlatformConfig.h, line 582
#define NKENTSEU_CACHE_ALIGNED
Alignment on a CPU cache line
struct NKENTSEU_CACHE_ALIGNED ThreadLocalData { int counter; // Aligné sur ligne de cache };
Source : NkPlatformConfig.h, line 608
#define NKENTSEU_SIMD_ALIGNMENT
Alignment required by SIMD instructions
Source : NkPlatformConfig.h, line 619
#define NKENTSEU_SIMD_ALIGNED
Alignment for SIMD data
NKENTSEU_SIMD_ALIGNED float simdBuffer[16]; // Aligné pour AVX/SSE
Source : NkPlatformConfig.h, line 641
const char *GetPlatformName()
Gets the platform name as a string
Source : NkPlatformConfig.h, line 660
const char *GetArchName()
Gets the architecture name as a string
Source : NkPlatformConfig.h, line 683
const char *GetCompilerName()
Gets the compiler name as a string
Source : NkPlatformConfig.h, line 704
bool Is64Bit()
Checks whether the target architecture is 64-bit
Source : NkPlatformConfig.h, line 723
bool IsLittleEndian()
Checks whether the system is little-endian
Source : NkPlatformConfig.h, line 738