Aggregates all the system (platform) status information, such as available memory, storage, CPU load, etc. More...
#include <idl_generated_code/yarp/os/SystemInfoData.h>
Inheritance diagram for yarp::os::SystemInfoData:Public Types | |
| typedef yarp::os::idl::Unwrapped< SystemInfoData > | unwrapped |
Public Attributes | |
| MemoryInfoData | memory {} |
| StorageInfoData | storage {} |
| ProcessorInfoData | processor {} |
| LoadInfoData | load {} |
| PlatformInfoData | platform {} |
| UserInfoData | user {} |
| ProcessInfoData | process {} |
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. | |
Aggregates all the system (platform) status information, such as available memory, storage, CPU load, etc.
Definition at line 32 of file SystemInfoData.h.
Definition at line 74 of file SystemInfoData.h.
|
default |
| yarp::os::SystemInfoData::SystemInfoData | ( | const MemoryInfoData & | memory, |
| const StorageInfoData & | storage, | ||
| const ProcessorInfoData & | processor, | ||
| const LoadInfoData & | load, | ||
| const PlatformInfoData & | platform, | ||
| const UserInfoData & | user, | ||
| const ProcessInfoData & | process | ||
| ) |
Definition at line 16 of file SystemInfoData.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 65 of file SystemInfoData.cpp.
|
overridevirtual |
Reimplemented from yarp::os::idl::WirePortable.
Definition at line 35 of file SystemInfoData.cpp.
| std::string yarp::os::SystemInfoData::toString | ( | ) | const |
Definition at line 121 of file SystemInfoData.cpp.
|
overridevirtual |
Reimplemented from yarp::os::idl::WirePortable.
Definition at line 78 of file SystemInfoData.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 108 of file SystemInfoData.cpp.
| LoadInfoData yarp::os::SystemInfoData::load {} |
Definition at line 40 of file SystemInfoData.h.
| MemoryInfoData yarp::os::SystemInfoData::memory {} |
Definition at line 37 of file SystemInfoData.h.
| PlatformInfoData yarp::os::SystemInfoData::platform {} |
Definition at line 41 of file SystemInfoData.h.
| ProcessInfoData yarp::os::SystemInfoData::process {} |
Definition at line 43 of file SystemInfoData.h.
| ProcessorInfoData yarp::os::SystemInfoData::processor {} |
Definition at line 39 of file SystemInfoData.h.
| StorageInfoData yarp::os::SystemInfoData::storage {} |
Definition at line 38 of file SystemInfoData.h.
| UserInfoData yarp::os::SystemInfoData::user {} |
Definition at line 42 of file SystemInfoData.h.