YARP
Yet Another Robot Platform
Connection.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/Connection.h>
10 
12 
13 Connection::~Connection() = default;
14 
15 bool Connection::isValid() const
16 {
17  return true;
18 }
19 
21 {
22  return false;
23 }
yarp::os::Time::isValid
bool isValid()
Check if time is valid (non-zero).
Definition: Time.cpp:317
yarp::os::Connection::isBareMode
virtual bool isBareMode() const
Check if carrier excludes type information from payload.
Definition: Connection.cpp:20
Connection.h
yarp::os::Connection
A controller for an individual connection.
Definition: Connection.h:30