impl Namespace Reference

Space-ng SDK: sol3::core::impl Namespace Reference
Space-ng SDK
sol3::core::impl Namespace Reference

Classes

class  FileDescriptor
 
class  Mmap
 

Functions

std::string loadJsonFile (cpp::fs::path const &json_path)
 
msg::HostIdConfigT defaultHostIdentity ()
 
std::string hostIdConfigPath ()
 
msg::HostIdConfigT loadHostIdentityFromPath (std::string const &config_path)
 
bool isUpperAlphaNumeric (std::string const &str) noexcept
 String contains only: A-Z 0-9. More...
 
bool isValidHostId (std::string const &host_id) noexcept
 Checks if host is upper alpha numeric 4 characters long. More...
 
bool isValidRunUuid (std::string const &run_id) noexcept
 Checks if run id is upper alpha numeric and 8 characters long. More...
 
uint64_t makeUuid ()
 

Variables

constexpr std::string_view kDefaultHostIdString = "SOL3"
 
constexpr uint16_t kDefaultHostIdNumeric = 0
 

Function Documentation

◆ defaultHostIdentity()

msg::HostIdConfigT sol3::core::impl::defaultHostIdentity ( )

◆ hostIdConfigPath()

std::string sol3::core::impl::hostIdConfigPath ( )

◆ isUpperAlphaNumeric()

bool sol3::core::impl::isUpperAlphaNumeric ( std::string const &  str)
noexcept

String contains only: A-Z 0-9.

◆ isValidHostId()

bool sol3::core::impl::isValidHostId ( std::string const &  host_id)
noexcept

Checks if host is upper alpha numeric 4 characters long.

◆ isValidRunUuid()

bool sol3::core::impl::isValidRunUuid ( std::string const &  run_id)
noexcept

Checks if run id is upper alpha numeric and 8 characters long.

◆ loadHostIdentityFromPath()

msg::HostIdConfigT sol3::core::impl::loadHostIdentityFromPath ( std::string const &  config_path)

◆ loadJsonFile()

std::string sol3::core::impl::loadJsonFile ( cpp::fs::path const &  json_path)

◆ makeUuid()

uint64_t sol3::core::impl::makeUuid ( )
inline

Variable Documentation

◆ kDefaultHostIdNumeric

constexpr uint16_t sol3::core::impl::kDefaultHostIdNumeric = 0
constexpr

◆ kDefaultHostIdString

constexpr std::string_view sol3::core::impl::kDefaultHostIdString = "SOL3"
constexpr