YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
Nop.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3 * SPDX-License-Identifier: BSD-3-Clause
4 */
5
6#ifndef YARP_NOP_NOP_H
7#define YARP_NOP_NOP_H
8
11#include "Nop_ParamsParser.h"
12
20class Nop :
23 public Nop_ParamsParser
24{
25public:
26 Nop();
27 Nop(const Nop&) = delete;
28 Nop(Nop&&) = delete;
29 Nop& operator=(const Nop&) = delete;
30 Nop& operator=(Nop&&) = delete;
31
32 ~Nop() override;
33
34 bool open(yarp::os::Searchable& config) override;
35 bool close() override;
36
37 void run() override;
38
39};
40
41#endif // YARP_NOP_NOP_H
This class is the parameters parser for class Nop.
test_nop: A test device that does absolutely nothing.
Definition Nop.h:24
Nop(const Nop &)=delete
void run() override
Loop function.
Definition Nop.cpp:44
bool open(yarp::os::Searchable &config) override
Open the DeviceDriver.
Definition Nop.cpp:26
bool close() override
Close the DeviceDriver.
Definition Nop.cpp:39
Nop & operator=(Nop &&)=delete
~Nop() override
Definition Nop.cpp:22
Nop(Nop &&)=delete
Nop & operator=(const Nop &)=delete
Nop()
Definition Nop.cpp:17
Interface implemented by all device drivers.
An abstraction for a periodic thread.
A base class for nested structures that can be searched.
Definition Searchable.h:31