WB-Toolbox  6.0.0
ASimulinkToolboxforWholeBodyControl
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
SetMotorParameters.h
Go to the documentation of this file.
1 /*
2 
3  * Copyright (C) 2018 Istituto Italiano di Tecnologia (IIT)
4  * All rights reserved.
5  *
6  * This software may be modified and distributed under the terms of the
7  * GNU Lesser General Public License v2.1 or any later version.
8  */
9 
10 #ifndef WBT_SETMOTORPARAMETERS_H
11 #define WBT_SETMOTORPARAMETERS_H
12 
13 #include "WBToolbox/Base/WBBlock.h"
14 
15 #include <memory>
16 #include <string>
17 
18 namespace wbt {
19  namespace block {
20  class SetMotorParameters;
21  } // namespace block
22 } // namespace wbt
23 
24 namespace blockfactory {
25  namespace core {
26  class BlockInformation;
27  } // namespace core
28 } // namespace blockfactory
29 
50 {
51 private:
52  class impl;
53  std::unique_ptr<impl> pImpl;
54 
55 public:
57  ~SetMotorParameters() override;
58 
59  unsigned numberOfParameters() override;
60  bool configureSizeAndPorts(blockfactory::core::BlockInformation* blockInfo) override;
61  bool parseParameters(blockfactory::core::BlockInformation* blockInfo) override;
62  bool initialize(blockfactory::core::BlockInformation* blockInfo) override;
63  bool terminate(const blockfactory::core::BlockInformation* blockInfo) override;
64  bool output(const blockfactory::core::BlockInformation* blockInfo) override;
65 };
66 
67 #endif // WBT_SETMOTORPARAMETERS_H
wbt
Definition: Configuration.h:17
wbt::block::SetMotorParameters::output
bool output(const blockfactory::core::BlockInformation *blockInfo) override
Definition: SetMotorParameters.cpp:358
wbt::block::SetMotorParameters::configureSizeAndPorts
bool configureSizeAndPorts(blockfactory::core::BlockInformation *blockInfo) override
Definition: SetMotorParameters.cpp:111
wbt::block::SetMotorParameters::~SetMotorParameters
~SetMotorParameters() override
wbt::block::SetMotorParameters::parseParameters
bool parseParameters(blockfactory::core::BlockInformation *blockInfo) override
Definition: SetMotorParameters.cpp:89
wbt::block::SetMotorParameters::SetMotorParameters
SetMotorParameters()
Definition: SetMotorParameters.cpp:78
wbt::block::SetMotorParameters::terminate
bool terminate(const blockfactory::core::BlockInformation *blockInfo) override
Definition: SetMotorParameters.cpp:320
blockfactory
Definition: WBBlock.h:16
WBBlock.h
wbt::block::SetMotorParameters
The wbt::SetMotorParameters class.
Definition: SetMotorParameters.h:49
wbt::block::SetMotorParameters::initialize
bool initialize(blockfactory::core::BlockInformation *blockInfo) override
Definition: SetMotorParameters.cpp:189
wbt::block::SetMotorParameters::pImpl
std::unique_ptr< impl > pImpl
Definition: SetMotorParameters.h:52
wbt::block::SetMotorParameters::numberOfParameters
unsigned numberOfParameters() override
Definition: SetMotorParameters.cpp:84
wbt::block::SetMotorParameters::impl
Definition: SetMotorParameters.cpp:55
wbt::base::WBBlock
Extension of blockfactory::core::Block for simplifying the development of whole-body blocks.
Definition: WBBlock.h:62