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