YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
DeviceTemplate.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2023 Istituto Italiano di Tecnologia (IIT)
3 * SPDX-License-Identifier: BSD-3-Clause
4 */
5
6#ifndef YARP_DEVICETEMPLATE_H
7#define YARP_DEVICETEMPLATE_H
8
11
15{
16public:
19 DeviceTemplate(DeviceTemplate&&) noexcept = delete;
20 DeviceTemplate& operator=(const DeviceTemplate&) = delete;
21 DeviceTemplate& operator=(DeviceTemplate&&) noexcept = delete;
22 ~DeviceTemplate() override = default;
23
24 // DeviceDriver
25 bool open(yarp::os::Searchable& config) override;
26 bool close() override;
27};
28
29#endif // YARP_DEVICETEMPLATE_H
This class is the parameters parser for class DeviceTemplate.
DeviceTemplate(DeviceTemplate &&) noexcept=delete
bool open(yarp::os::Searchable &config) override
Open the DeviceDriver.
DeviceTemplate(const DeviceTemplate &)=delete
bool close() override
Close the DeviceDriver.
Interface implemented by all device drivers.
The main, catch-all namespace for YARP.
Definition dirs.h:16