HW-SD  1.0.0
Public Member Functions | Public Attributes | List of all members
hwsd::NodeInfo Struct Reference

A structure containing node-specific information. More...

#include <nodeInfo.h>

+ Inheritance diagram for hwsd::NodeInfo:
+ Collaboration diagram for hwsd::NodeInfo:

Public Member Functions

 NodeInfo ()
 Default constructor describing a local session.
bool operator== (const NodeInfo &rhs) const
bool operator!= (const NodeInfo &rhs) const

Public Attributes

lunchbox::UUID id
 Random unique ID identifing the origin node.
std::string nodeName
 System hostname if remote, empty for local.
std::string session
 The session name: local, default or custom string.
char dummy [32]
 Buffer for binary-compatible additions.

Detailed Description

A structure containing node-specific information.

Definition at line 30 of file nodeInfo.h.

Constructor & Destructor Documentation

hwsd::NodeInfo::NodeInfo ( )

Default constructor describing a local session.

Version
1.0

Member Function Documentation

bool hwsd::NodeInfo::operator!= ( const NodeInfo rhs) const
Returns
true if both infos are not identical.
Version
1.0
bool hwsd::NodeInfo::operator== ( const NodeInfo rhs) const
Returns
true if both informations are identical.
Version
1.0

Member Data Documentation

lunchbox::UUID hwsd::NodeInfo::id

Random unique ID identifing the origin node.

Version
1.0

Definition at line 42 of file nodeInfo.h.

std::string hwsd::NodeInfo::nodeName

System hostname if remote, empty for local.

Version
1.0

Definition at line 45 of file nodeInfo.h.

std::string hwsd::NodeInfo::session

The session name: local, default or custom string.

Version
1.0

Definition at line 48 of file nodeInfo.h.


The documentation for this struct was generated from the following file: