WB-Toolbox  6.0.0
ASimulinkToolboxforWholeBodyControl
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ForwardKinematics.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_FORWARDKINEMATICS_H
10 #define WBT_FORWARDKINEMATICS_H
11 
12 #include "WBToolbox/Base/WBBlock.h"
13 
14 #include <memory>
15 #include <string>
16 
17 namespace wbt {
18  namespace block {
19  class ForwardKinematics;
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:
49  ~ForwardKinematics() 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_FORWARDKINEMATICS_H
wbt::block::ForwardKinematics::~ForwardKinematics
~ForwardKinematics() override
wbt::block::ForwardKinematics::configureSizeAndPorts
bool configureSizeAndPorts(blockfactory::core::BlockInformation *blockInfo) override
Definition: ForwardKinematics.cpp:86
wbt::block::ForwardKinematics::initialize
bool initialize(blockfactory::core::BlockInformation *blockInfo) override
Definition: ForwardKinematics.cpp:126
wbt
Definition: Configuration.h:17
wbt::block::ForwardKinematics::impl
Definition: ForwardKinematics.cpp:53
wbt::block::ForwardKinematics
The wbt::ForwardKinematics class.
Definition: ForwardKinematics.h:41
wbt::block::ForwardKinematics::pImpl
std::unique_ptr< impl > pImpl
Definition: ForwardKinematics.h:44
wbt::block::ForwardKinematics::terminate
bool terminate(const blockfactory::core::BlockInformation *blockInfo) override
Definition: ForwardKinematics.cpp:173
wbt::block::ForwardKinematics::output
bool output(const blockfactory::core::BlockInformation *blockInfo) override
Definition: ForwardKinematics.cpp:178
wbt::block::ForwardKinematics::parseParameters
bool parseParameters(blockfactory::core::BlockInformation *blockInfo) override
Definition: ForwardKinematics.cpp:74
blockfactory
Definition: WBBlock.h:16
WBBlock.h
wbt::block::ForwardKinematics::ForwardKinematics
ForwardKinematics()
Definition: ForwardKinematics.cpp:63
wbt::block::ForwardKinematics::numberOfParameters
unsigned numberOfParameters() override
Definition: ForwardKinematics.cpp:69
wbt::base::WBBlock
Extension of blockfactory::core::Block for simplifying the development of whole-body blocks.
Definition: WBBlock.h:62