A helper class to pass the SystemInfo object around the YARP network. More...
#include <yarp/os/SystemInfoSerializer.h>
Inheritance diagram for yarp::os::SystemInfoSerializer:Classes | |
| class | Private |
Public Member Functions | |
| SystemInfoSerializer () | |
| SystemInfoSerializer constructor. More... | |
| virtual | ~SystemInfoSerializer () |
| ~SystemInfoSerializer deconstructor More... | |
| bool | read (yarp::os::ConnectionReader &connection) override |
| reads from a ConnectionReader and fill into the SystemInfo structs. More... | |
| bool | write (yarp::os::ConnectionWriter &connection) const override |
| write the SystemInfo structs using a ConnectionWriter. More... | |
Public Member Functions inherited from yarp::os::Portable | |
| virtual Type | getType () const |
Public Member Functions inherited from yarp::os::PortReader | |
| virtual | ~PortReader () |
| Destructor. More... | |
| virtual Type | getReadType () const |
Public Member Functions inherited from yarp::os::PortWriter | |
| virtual | ~PortWriter () |
| Destructor. More... | |
| virtual void | onCompletion () const |
| This is called when the port has finished all writing operations. More... | |
| virtual void | onCommencement () const |
| This is called when the port is about to begin writing operations. More... | |
| virtual yarp::os::Type | getWriteType () const |
Public Attributes | |
| yarp::os::SystemInfo::MemoryInfo | memory |
| system memory information More... | |
| yarp::os::SystemInfo::StorageInfo | storage |
| system storage information More... | |
| yarp::os::SystemInfo::ProcessorInfo | processor |
| system processor type information More... | |
| yarp::os::SystemInfo::PlatformInfo | platform |
| operating system information More... | |
| yarp::os::SystemInfo::LoadInfo | load |
| current cpu load information More... | |
| yarp::os::SystemInfo::UserInfo | user |
| current user information More... | |
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. More... | |
A helper class to pass the SystemInfo object around the YARP network.
Definition at line 23 of file SystemInfoSerializer.h.
| SystemInfoSerializer::SystemInfoSerializer | ( | ) |
SystemInfoSerializer constructor.
Definition at line 42 of file SystemInfoSerializer.cpp.
|
virtual |
~SystemInfoSerializer deconstructor
Definition at line 50 of file SystemInfoSerializer.cpp.
|
overridevirtual |
reads from a ConnectionReader and fill into the SystemInfo structs.
| connection | a ConnectionReader |
Implements yarp::os::Portable.
Definition at line 55 of file SystemInfoSerializer.cpp.
|
overridevirtual |
write the SystemInfo structs using a ConnectionWriter.
| connection | a ConnectionWriter |
Implements yarp::os::Portable.
Definition at line 103 of file SystemInfoSerializer.cpp.
| yarp::os::SystemInfo::LoadInfo yarp::os::SystemInfoSerializer::load |
current cpu load information
Definition at line 73 of file SystemInfoSerializer.h.
| yarp::os::SystemInfo::MemoryInfo yarp::os::SystemInfoSerializer::memory |
system memory information
Definition at line 53 of file SystemInfoSerializer.h.
| yarp::os::SystemInfo::PlatformInfo yarp::os::SystemInfoSerializer::platform |
operating system information
Definition at line 68 of file SystemInfoSerializer.h.
| yarp::os::SystemInfo::ProcessorInfo yarp::os::SystemInfoSerializer::processor |
system processor type information
Definition at line 63 of file SystemInfoSerializer.h.
| yarp::os::SystemInfo::StorageInfo yarp::os::SystemInfoSerializer::storage |
system storage information
Definition at line 58 of file SystemInfoSerializer.h.
| yarp::os::SystemInfo::UserInfo yarp::os::SystemInfoSerializer::user |
current user information
Definition at line 78 of file SystemInfoSerializer.h.