Sen API
Sen Libraries
Loading...
Searching...
No Matches
kernel/include/sen/kernel/util.h
Go to the documentation of this file.
1// === util.h ==========================================================================================================
2// Sen Infrastructure
3// Released under the Apache License v2.0 (SPDX-License-Identifier Apache-2.0).
4// See the LICENSE.txt file for more information.
5// © Airbus SAS, Airbus Helicopters, and Airbus Defence and Space SAU/GmbH/SAS.
6// =====================================================================================================================
7
8#ifndef SEN_KERNEL_UTIL_H
9#define SEN_KERNEL_UTIL_H
10
11// generated code
12#include "stl/sen/kernel/basic_types.stl.h"
13
14// std
15#include <cstdint>
16#include <string_view>
17
18namespace sen::kernel
19{
20
22ProcessInfo getOwnProcessInfo(std::string_view sessionName);
23
25[[nodiscard]] uint32_t getHostId();
26
28[[nodiscard]] uint32_t getUniqueSenProcessId();
29
30} // namespace sen::kernel
31
32#endif // SEN_KERNEL_UTIL_H
Strong type for the unique identifier for a transport timer.
Definition native_object_impl.h:39
ProcessInfo getOwnProcessInfo(std::string_view sessionName)
Utility function to fetch our process info.
uint32_t getUniqueSenProcessId()
Utility function to fetch our process ID.
uint32_t getHostId()
Utility function to fetch our host ID.