YARP
Yet Another Robot Platform
IConfig.h
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 #ifndef YARP_OS_ICONFIG_H
11 #define YARP_OS_ICONFIG_H
12 
13 
14 #include <yarp/os/Searchable.h>
15 
16 namespace yarp {
17 namespace os {
18 
27 {
28 public:
32  virtual ~IConfig();
33 
40  virtual bool open(Searchable& config);
41 
46  virtual bool close();
47 
56  virtual bool configure(Searchable& config);
57 };
58 
59 } // namespace os
60 } // namespace yarp
61 
62 #endif // YARP_OS_ICONFIG_H
yarp::os::Searchable
A base class for nested structures that can be searched.
Definition: Searchable.h:69
YARP_os_API
#define YARP_os_API
Definition: api.h:19
Searchable.h
yarp::os::IConfig
An object that can be configured.
Definition: IConfig.h:27
yarp::os::IConfig::~IConfig
virtual ~IConfig()
Destructor.
yarp
The main, catch-all namespace for YARP.
Definition: environment.h:18