RSB  0.19.0
rsb::introspection::HostInfo Class Reference

Instances of this class store information about the local host. More...

#include <Model.h>

Collaboration diagram for rsb::introspection::HostInfo:
Collaboration graph

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
 

Detailed Description

Instances of this class store information about the local host.

Author
jmoringe

Definition at line 157 of file Model.h.

Constructor & Destructor Documentation

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() 
)

Definition at line 241 of file Model.cpp.

rsb::introspection::HostInfo::~HostInfo ( )
virtual

Definition at line 252 of file Model.cpp.

Member Function Documentation

const std::string & rsb::introspection::HostInfo::getHostname ( ) const

Definition at line 259 of file Model.cpp.

References hostname.

const std::string & rsb::introspection::HostInfo::getId ( ) const

Definition at line 255 of file Model.cpp.

References id.

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.

Member Data Documentation

std::string rsb::introspection::HostInfo::hostname
private

Definition at line 180 of file Model.h.

Referenced by getHostname().

std::string rsb::introspection::HostInfo::id
private

Definition at line 179 of file Model.h.

Referenced by getId().

std::string rsb::introspection::HostInfo::machineType
private

Definition at line 181 of file Model.h.

Referenced by getMachineType().

std::string rsb::introspection::HostInfo::machineVersion
private

Definition at line 182 of file Model.h.

Referenced by getMachineVersion().

std::string rsb::introspection::HostInfo::softwareType
private

Definition at line 183 of file Model.h.

Referenced by getSoftwareType().

std::string rsb::introspection::HostInfo::softwareVersion
private

Definition at line 184 of file Model.h.

Referenced by getSoftwareVersion().


The documentation for this class was generated from the following files: