Pothos  0.1.1
The Pothos dataflow programming software suite
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros
HostInfo.hpp
Go to the documentation of this file.
1 
11 #pragma once
12 #include <Pothos/Config.hpp>
13 #include <cstddef>
14 #include <string>
15 
16 namespace Pothos {
17 namespace System {
18 
23 {
24 public:
28  HostInfo(void);
29 
33  static HostInfo get(void);
34 
35  std::string osName;
36  std::string osVersion;
37  std::string osArchitecture;
38  std::string nodeName;
39  std::string nodeId;
40 
43 
45  std::string pid;
46 };
47 
48 } //namespace System
49 } //namespace Pothos
std::string pid
The process id of the caller.
Definition: HostInfo.hpp:45
#define POTHOS_API
Definition: Config.hpp:41
std::string nodeId
Definition: HostInfo.hpp:39
std::string osName
Definition: HostInfo.hpp:35
Definition: HostInfo.hpp:22
std::string nodeName
Definition: HostInfo.hpp:38
std::string osArchitecture
Definition: HostInfo.hpp:37
size_t processorCount
The number of CPUs on this system.
Definition: HostInfo.hpp:42
std::string osVersion
Definition: HostInfo.hpp:36