YARP
Yet Another Robot Platform
WireState.cpp
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 
10 
11 #include <yarp/os/idl/Unwrapped.h>
12 
13 using namespace yarp::os::idl;
14 
16  len(-1),
17  code(-1),
18  need_ok(false),
19  parent(nullptr)
20 {
21 }
22 
23 bool WireState::isValid() const
24 {
25  return len >= 0;
26 }
yarp::os::idl::WireState::WireState
WireState()
Definition: WireState.cpp:15
yarp::os::idl
Definition: BareStyle.h:18
yarp::os::idl::WireState::isValid
bool isValid() const
Definition: WireState.cpp:23
WireState.h
Unwrapped.h
yarp::os::idl::WireState::len
int len
Definition: WireState.h:24