RSB
0.12.2
|
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 256 of file Model.cpp.
References machineType.
const std::string & rsb::introspection::HostInfo::getMachineVersion | ( | ) | const |
Definition at line 260 of file Model.cpp.
References machineVersion.
const std::string & rsb::introspection::HostInfo::getSoftwareType | ( | ) | const |
Definition at line 264 of file Model.cpp.
References softwareType.
const std::string & rsb::introspection::HostInfo::getSoftwareVersion | ( | ) | const |
Definition at line 268 of file Model.cpp.
References softwareVersion.
|
private |
Definition at line 175 of file Model.h.
Referenced by getHostname().
|
private |
|
private |
Definition at line 176 of file Model.h.
Referenced by getMachineType().
|
private |
Definition at line 177 of file Model.h.
Referenced by getMachineVersion().
|
private |
Definition at line 178 of file Model.h.
Referenced by getSoftwareType().
|
private |
Definition at line 179 of file Model.h.
Referenced by getSoftwareVersion().