/workspaces/astro/sol3-sdk/cpp/sol3/core/host_identity.h Source File

Space-ng SDK: /workspaces/astro/sol3-sdk/cpp/sol3/core/host_identity.h Source File
Space-ng SDK
host_identity.h
Go to the documentation of this file.
1 // Copyright (c) Space-ng, inc. All rights reserved.
2 #pragma once
3 #include "sol3/core/msg/host_id.h"
4 
5 namespace sol3::core {
8 msg::HostIdConfigT const& hostIdentity();
9 
10 namespace impl {
11 
12 constexpr std::string_view kDefaultHostIdString = "SOL3";
13 constexpr uint16_t kDefaultHostIdNumeric = 0;
14 
15 msg::HostIdConfigT defaultHostIdentity();
16 
17 std::string hostIdConfigPath();
18 
19 msg::HostIdConfigT loadHostIdentityFromPath(std::string const& config_path);
20 
21 } // namespace impl
22 
23 } // namespace sol3::core
constexpr uint16_t kDefaultHostIdNumeric
Definition: host_identity.h:13
msg::HostIdConfigT loadHostIdentityFromPath(std::string const &config_path)
std::string hostIdConfigPath()
constexpr std::string_view kDefaultHostIdString
Definition: host_identity.h:12
msg::HostIdConfigT defaultHostIdentity()
Definition: any_message_input.h:15
msg::HostIdConfigT const & hostIdentity()