WB-Toolbox  5.6.1
ASimulinkToolboxforWholeBodyControl
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
YarpWrite.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2018 Istituto Italiano di Tecnologia (IIT)
3  * All rights reserved.
4  *
5  * This software may be modified and distributed under the terms of the
6  * GNU Lesser General Public License v2.1 or any later version.
7  */
8 
9 #ifndef WBT_YARPWRITE_H
10 #define WBT_YARPWRITE_H
11 
12 #include <BlockFactory/Core/Block.h>
13 
14 #include <memory>
15 #include <string>
16 
17 namespace wbt {
18  namespace block {
19  class YarpWrite;
20  } // namespace block
21 } // namespace wbt
22 
23 namespace blockfactory {
24  namespace core {
25  class BlockInformation;
26  } // namespace core
27 } // namespace blockfactory
28 
41 class wbt::block::YarpWrite final : public blockfactory::core::Block
42 {
43 private:
44  class impl;
45  std::unique_ptr<impl> pImpl;
46 
47 public:
48  YarpWrite();
49  ~YarpWrite() override;
50 
51  unsigned numberOfParameters() override;
52  bool parseParameters(blockfactory::core::BlockInformation* blockInfo) override;
53  bool configureSizeAndPorts(blockfactory::core::BlockInformation* blockInfo) override;
54  bool initialize(blockfactory::core::BlockInformation* blockInfo) override;
55  bool terminate(const blockfactory::core::BlockInformation* blockInfo) override;
56  bool output(const blockfactory::core::BlockInformation* blockInfo) override;
57 };
58 
59 #endif // WBT_YARPWRITE_H
wbt::block::YarpWrite::output
bool output(const blockfactory::core::BlockInformation *blockInfo) override
Definition: YarpWrite.cpp:205
wbt::block::YarpWrite::parseParameters
bool parseParameters(blockfactory::core::BlockInformation *blockInfo) override
Definition: YarpWrite.cpp:71
wbt
Definition: Configuration.h:17
wbt::block::YarpWrite::YarpWrite
YarpWrite()
Definition: YarpWrite.cpp:60
wbt::block::YarpWrite::~YarpWrite
~YarpWrite() override
wbt::block::YarpWrite
The wbt::YarpWrite class.
Definition: YarpWrite.h:41
wbt::block::YarpWrite::initialize
bool initialize(blockfactory::core::BlockInformation *blockInfo) override
Definition: YarpWrite.cpp:118
wbt::block::YarpWrite::configureSizeAndPorts
bool configureSizeAndPorts(blockfactory::core::BlockInformation *blockInfo) override
Definition: YarpWrite.cpp:88
wbt::block::YarpWrite::terminate
bool terminate(const blockfactory::core::BlockInformation *blockInfo) override
Definition: YarpWrite.cpp:193
blockfactory
Definition: WBBlock.h:16
wbt::block::YarpWrite::numberOfParameters
unsigned numberOfParameters() override
Definition: YarpWrite.cpp:66
wbt::block::YarpWrite::pImpl
std::unique_ptr< impl > pImpl
Definition: YarpWrite.h:44
wbt::block::YarpWrite::impl
Definition: YarpWrite.cpp:46