YARP
Yet Another Robot Platform
WireState.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3  * SPDX-License-Identifier: BSD-3-Clause
4  */
5 
6 #ifndef YARP_OS_IDL_WIRESTATE_H
7 #define YARP_OS_IDL_WIRESTATE_H
8 
9 #include <yarp/os/api.h>
10 
11 namespace yarp {
12 namespace os {
13 namespace idl {
14 
19 {
20 public:
21  int len;
22  int code;
23  bool need_ok;
25 
26  WireState();
27 
28  bool isValid() const;
29 };
30 
31 } // namespace idl
32 } // namespace os
33 } // namespace yarp
34 
35 #endif // YARP_OS_IDL_WIRESTATE_H
IDL-friendly state.
Definition: WireState.h:19
bool isValid()
Check if time is valid (non-zero).
Definition: Time.cpp:314
The main, catch-all namespace for YARP.
Definition: dirs.h:16
#define YARP_os_API
Definition: api.h:18