YARP
Yet Another Robot Platform
WireState.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2006-2020 Istituto Italiano di Tecnologia (IIT)
3  * All rights reserved.
4  *
5  * This software may be modified and distributed under the terms of the
6  * BSD-3-Clause license. See the accompanying LICENSE file for details.
7  */
8 
9 #ifndef YARP_OS_IDL_WIRESTATE_H
10 #define YARP_OS_IDL_WIRESTATE_H
11 
12 #include <yarp/os/api.h>
13 
14 namespace yarp {
15 namespace os {
16 namespace idl {
17 
22 {
23 public:
24  int len;
25  int code;
26  bool need_ok;
28 
29  WireState();
30 
31  bool isValid() const;
32 };
33 
34 } // namespace idl
35 } // namespace os
36 } // namespace yarp
37 
38 #endif // YARP_OS_IDL_WIRESTATE_H
yarp::os::Time::isValid
bool isValid()
Check if time is valid (non-zero).
Definition: Time.cpp:317
api.h
YARP_os_API
#define YARP_os_API
Definition: api.h:19
yarp::os::idl::WireState::need_ok
bool need_ok
Definition: WireState.h:26
yarp::os::idl::WireState::code
int code
Definition: WireState.h:25
yarp::os::idl::WireState
IDL-friendly state.
Definition: WireState.h:22
yarp
The main, catch-all namespace for YARP.
Definition: environment.h:18
yarp::os::idl::WireState::parent
WireState * parent
Definition: WireState.h:27
yarp::os::idl::WireState::len
int len
Definition: WireState.h:24