YARP
Yet Another Robot Platform
RemoteControlBoardRemapper.h
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 #ifndef YARP_DEV_CONTROLBOARDREMAPPER_REMOTECONTROLBOARDREMAPPER_H
10 #define YARP_DEV_CONTROLBOARDREMAPPER_REMOTECONTROLBOARDREMAPPER_H
11 
12 #include <yarp/dev/PolyDriver.h>
13 
14 #include "ControlBoardRemapper.h"
15 
98 {
99 private:
103  std::vector<yarp::dev::PolyDriver*> m_remoteControlBoardDevices;
104 
105 
106  // Close all opened remote controlboards
107  void closeAllRemoteControlBoards();
108 
109 public:
115  ~RemoteControlBoardRemapper() override = default;
116 
122  bool open(yarp::os::Searchable &prop) override;
123 
128  bool close() override;
129 };
130 
131 #endif
RemoteControlBoardRemapper::RemoteControlBoardRemapper
RemoteControlBoardRemapper(RemoteControlBoardRemapper &&)=delete
yarp::os::Searchable
A base class for nested structures that can be searched.
Definition: Searchable.h:69
RemoteControlBoardRemapper::open
bool open(yarp::os::Searchable &prop) override
Open the device driver.
Definition: RemoteControlBoardRemapper.cpp:63
RemoteControlBoardRemapper::close
bool close() override
Close the device driver by deallocating all resources and closing ports.
Definition: RemoteControlBoardRemapper.cpp:46
RemoteControlBoardRemapper::~RemoteControlBoardRemapper
~RemoteControlBoardRemapper() override=default
RemoteControlBoardRemapper::RemoteControlBoardRemapper
RemoteControlBoardRemapper(const RemoteControlBoardRemapper &)=delete
ControlBoardRemapper
controlboardremapper : device that takes a list of axes from multiple controlboards and expose them a...
Definition: ControlBoardRemapper.h:94
ControlBoardRemapper.h
PolyDriver.h
RemoteControlBoardRemapper
remotecontrolboardremapper A device that takes a list of axes from multiple controlboards,...
Definition: RemoteControlBoardRemapper.h:98
RemoteControlBoardRemapper::operator=
RemoteControlBoardRemapper & operator=(const RemoteControlBoardRemapper &)=delete
RemoteControlBoardRemapper::RemoteControlBoardRemapper
RemoteControlBoardRemapper()=default
RemoteControlBoardRemapper::operator=
RemoteControlBoardRemapper & operator=(RemoteControlBoardRemapper &&)=delete