YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
SystemInfoSerializer.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3 * SPDX-FileCopyrightText: 2006-2010 RobotCub Consortium
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef YARP_OS_SYSTEMINFOSERIALIZER_H
8#define YARP_OS_SYSTEMINFOSERIALIZER_H
9
10#include <yarp/os/Portable.h>
11#include <yarp/os/SystemInfo.h>
12
13namespace yarp::os {
14
20{
21public:
26
30 virtual ~SystemInfoSerializer();
31
37 bool read(yarp::os::ConnectionReader& connection) override;
38
44 bool write(yarp::os::ConnectionWriter& connection) const override;
45
50
55
60
65
70
75
76 // yarp::os::SystemInfo::NetworkInfo network;
77
78#ifndef DOXYGEN_SHOULD_SKIP_THIS
79private:
80 class Private;
81 Private* mPriv;
82#endif // DOXYGEN_SHOULD_SKIP_THIS
83};
84
85} // namespace yarp::os
86
87#endif // YARP_OS_SYSTEMINFOSERIALIZER_H
A mini-server for performing network communication in the background.
An interface for reading from a network connection.
An interface for writing to a network connection.
This is a base class for objects that can be both read from and be written to the YARP network.
Definition Portable.h:25
A helper class to pass the SystemInfo object around the YARP network.
yarp::os::SystemInfo::LoadInfo load
current cpu load information
yarp::os::SystemInfo::UserInfo user
current user information
yarp::os::SystemInfo::StorageInfo storage
system storage information
yarp::os::SystemInfo::PlatformInfo platform
operating system information
yarp::os::SystemInfo::MemoryInfo memory
system memory information
yarp::os::SystemInfo::ProcessorInfo processor
system processor type information
An interface to the operating system, including Port based communication.
The LoadInfo struct holds the current cpu load information.
Definition SystemInfo.h:68
The MemoryInfo struct holds the system memory information.
Definition SystemInfo.h:33
The PlatformInfo struct holds the operating system information.
Definition SystemInfo.h:80
The ProcessorInfo struct holds the processor information.
Definition SystemInfo.h:52
The StorageInfo struct holds the system storage information.
Definition SystemInfo.h:43
The UserInfo struct holds the current user information.
Definition SystemInfo.h:93
#define YARP_os_API
Definition api.h:18