RSB
0.19.0
|
Instances of this class store information about the local host. More...
#include <Model.h>
Public Member Functions | |
HostInfo (const std::string &id=currentCompatibleHostId(), const std::string &hostname=tryCurrentHostname(), const std::string &machineType=tryCurrentMachineType(), const std::string &machineVersion=tryCurrentMachineVersion(), const std::string &softwareType=tryCurrentSoftwareType(), const std::string &softwareVersion=tryCurrentSoftwareVersion()) | |
virtual | ~HostInfo () |
const std::string & | getId () const |
const std::string & | getHostname () const |
const std::string & | getMachineType () const |
const std::string & | getMachineVersion () const |
const std::string & | getSoftwareType () const |
const std::string & | getSoftwareVersion () const |
Private Attributes | |
std::string | id |
std::string | hostname |
std::string | machineType |
std::string | machineVersion |
std::string | softwareType |
std::string | softwareVersion |
Instances of this class store information about the local host.
rsb::introspection::HostInfo::HostInfo | ( | const std::string & | id = currentCompatibleHostId() , |
const std::string & | hostname = tryCurrentHostname() , |
||
const std::string & | machineType = tryCurrentMachineType() , |
||
const std::string & | machineVersion = tryCurrentMachineVersion() , |
||
const std::string & | softwareType = tryCurrentSoftwareType() , |
||
const std::string & | softwareVersion = tryCurrentSoftwareVersion() |
||
) |
const std::string & rsb::introspection::HostInfo::getHostname | ( | ) | const |
const std::string & rsb::introspection::HostInfo::getId | ( | ) | const |
const std::string & rsb::introspection::HostInfo::getMachineType | ( | ) | const |
Definition at line 263 of file Model.cpp.
References machineType.
const std::string & rsb::introspection::HostInfo::getMachineVersion | ( | ) | const |
Definition at line 267 of file Model.cpp.
References machineVersion.
const std::string & rsb::introspection::HostInfo::getSoftwareType | ( | ) | const |
Definition at line 271 of file Model.cpp.
References softwareType.
const std::string & rsb::introspection::HostInfo::getSoftwareVersion | ( | ) | const |
Definition at line 275 of file Model.cpp.
References softwareVersion.
|
private |
Definition at line 180 of file Model.h.
Referenced by getHostname().
|
private |
|
private |
Definition at line 181 of file Model.h.
Referenced by getMachineType().
|
private |
Definition at line 182 of file Model.h.
Referenced by getMachineVersion().
|
private |
Definition at line 183 of file Model.h.
Referenced by getSoftwareType().
|
private |
Definition at line 184 of file Model.h.
Referenced by getSoftwareVersion().