Holds the operating system information. More...
#include <idl_generated_code/yarp/os/PlatformInfoData.h>
Inheritance diagram for yarp::os::PlatformInfoData:Public Types | |
| typedef yarp::os::idl::Unwrapped< PlatformInfoData > | unwrapped |
Public Attributes | |
| std::string | name {} |
| std::string | distribution {} |
| std::string | release {} |
| std::string | codename {} |
| std::string | kernel {} |
| std::string | environmentVars {} |
Additional Inherited Members | |
Static Public Member Functions inherited from yarp::os::Portable | |
| static bool | copyPortable (const PortWriter &writer, PortReader &reader) |
| Copy one portable to another, via writing and reading. | |
Holds the operating system information.
Definition at line 24 of file PlatformInfoData.h.
Definition at line 64 of file PlatformInfoData.h.
|
default |
| yarp::os::PlatformInfoData::PlatformInfoData | ( | const std::string & | name, |
| const std::string & | distribution, | ||
| const std::string & | release, | ||
| const std::string & | codename, | ||
| const std::string & | kernel, | ||
| const std::string & | environmentVars | ||
| ) |
Definition at line 16 of file PlatformInfoData.cpp.
|
overridevirtual |
Read this object from a network connection.
Override this for your particular class.
| reader | an interface to the network connection for reading |
Implements yarp::os::Portable.
Definition at line 60 of file PlatformInfoData.cpp.
|
overridevirtual |
Reimplemented from yarp::os::idl::WirePortable.
Definition at line 33 of file PlatformInfoData.cpp.
| std::string yarp::os::PlatformInfoData::toString | ( | ) | const |
Definition at line 113 of file PlatformInfoData.cpp.
|
overridevirtual |
Reimplemented from yarp::os::idl::WirePortable.
Definition at line 73 of file PlatformInfoData.cpp.
|
overridevirtual |
Write this object to a network connection.
Override this for your particular class. Be aware that depending on the nature of the connections a port has, and what protocol they use, and how efficient the YARP implementation is, this method may be called once, twice, or many times, as the result of a single call to Port::write
| writer | an interface to the network connection for writing |
Implements yarp::os::Portable.
Definition at line 100 of file PlatformInfoData.cpp.
| std::string yarp::os::PlatformInfoData::codename {} |
Definition at line 32 of file PlatformInfoData.h.
| std::string yarp::os::PlatformInfoData::distribution {} |
Definition at line 30 of file PlatformInfoData.h.
| std::string yarp::os::PlatformInfoData::environmentVars {} |
Definition at line 34 of file PlatformInfoData.h.
| std::string yarp::os::PlatformInfoData::kernel {} |
Definition at line 33 of file PlatformInfoData.h.
| std::string yarp::os::PlatformInfoData::name {} |
Definition at line 29 of file PlatformInfoData.h.
| std::string yarp::os::PlatformInfoData::release {} |
Definition at line 31 of file PlatformInfoData.h.