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
9
#include <
yarp/os/idl/WireState.h
>
10
11
#include <
yarp/os/idl/Unwrapped.h
>
12
13
using namespace
yarp::os::idl
;
14
15
WireState::WireState
() :
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
YARP
3.4.100+20201223.2+gitb8ea4d712
src
libYARP_os
src
yarp
os
idl
WireState.cpp
Generated on Sun Jan 3 2021 02:46:24 for YARP by
1.8.20