WB-Toolbox  5.6.1
ASimulinkToolboxforWholeBodyControl
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
DotJNu.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_DOTJNU_H
10 #define WBT_DOTJNU_H
11 
12 #include "WBToolbox/Base/WBBlock.h"
13 
14 #include <memory>
15 #include <string>
16 
17 namespace wbt {
18  namespace block {
19  class DotJNu;
20  } // namespace block
21 } // namespace wbt
22 
23 namespace blockfactory {
24  namespace core {
25  class BlockInformation;
26  } // namespace core
27 } // namespace blockfactory
28 
42 {
43 private:
44  class impl;
45  std::unique_ptr<impl> pImpl;
46 
47 public:
48  DotJNu();
49  ~DotJNu() override;
50 
51  unsigned numberOfParameters() override;
52  bool configureSizeAndPorts(blockfactory::core::BlockInformation* blockInfo) override;
53  bool parseParameters(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_DOTJNU_H
wbt::block::DotJNu::numberOfParameters
unsigned numberOfParameters() override
Definition: DotJNu.cpp:72
wbt::block::DotJNu::~DotJNu
~DotJNu() override
wbt::block::DotJNu::DotJNu
DotJNu()
Definition: DotJNu.cpp:66
wbt
Definition: Configuration.h:17
wbt::block::DotJNu::pImpl
std::unique_ptr< impl > pImpl
Definition: DotJNu.h:44
wbt::block::DotJNu::parseParameters
bool parseParameters(blockfactory::core::BlockInformation *blockInfo) override
Definition: DotJNu.cpp:77
wbt::block::DotJNu
The wbt::DotJNu class.
Definition: DotJNu.h:41
wbt::block::DotJNu::initialize
bool initialize(blockfactory::core::BlockInformation *blockInfo) override
Definition: DotJNu.cpp:133
wbt::block::DotJNu::output
bool output(const blockfactory::core::BlockInformation *blockInfo) override
Definition: DotJNu.cpp:189
wbt::block::DotJNu::impl
Definition: DotJNu.cpp:55
DotJNu
@ DotJNu
Definition: DotJNu.cpp:49
blockfactory
Definition: WBBlock.h:16
WBBlock.h
wbt::block::DotJNu::terminate
bool terminate(const blockfactory::core::BlockInformation *blockInfo) override
Definition: DotJNu.cpp:184
wbt::block::DotJNu::configureSizeAndPorts
bool configureSizeAndPorts(blockfactory::core::BlockInformation *blockInfo) override
Definition: DotJNu.cpp:89
wbt::base::WBBlock
Extension of blockfactory::core::Block for simplifying the development of whole-body blocks.
Definition: WBBlock.h:62