YARP
Yet Another Robot Platform
IConfig.cpp
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2006-2020 Istituto Italiano di Tecnologia (IIT)
3  * Copyright (C) 2006-2010 RobotCub Consortium
4  * All rights reserved.
5  *
6  * This software may be modified and distributed under the terms of the
7  * BSD-3-Clause license. See the accompanying LICENSE file for details.
8  */
9 
10 #include <yarp/os/IConfig.h>
11 
12 
13 yarp::os::IConfig::~IConfig() = default;
14 
16 {
17  YARP_UNUSED(config);
18  return true;
19 }
20 
22 {
23  return true;
24 }
25 
27 {
28  YARP_UNUSED(config);
29  return false;
30 }
yarp::os::Searchable
A base class for nested structures that can be searched.
Definition: Searchable.h:69
YARP_UNUSED
#define YARP_UNUSED(var)
Definition: api.h:159
yarp::os::IConfig::open
virtual bool open(Searchable &config)
Initialize the object.
Definition: IConfig.cpp:15
yarp::os::IConfig::configure
virtual bool configure(Searchable &config)
Change online parameters.
Definition: IConfig.cpp:26
yarp::os::IConfig::close
virtual bool close()
Shut the object down.
Definition: IConfig.cpp:21
yarp::os::IConfig::~IConfig
virtual ~IConfig()
Destructor.
IConfig.h