RemoveJointCommand is used to remove joints.
More...
#include <RemoveJointCommand.h>
RemoveJointCommand is used to remove joints.
◆ RemoveJointCommand() [1/5]
dnac::RemoveJointCommand::RemoveJointCommand |
( |
MemoryResource * |
memRes = nullptr | ) |
|
|
explicit |
40 :
pImpl{makeScoped<Impl>(memRes)} {
41}
ScopedPtr< Impl > pImpl
Definition: RemoveJointCommand.h:50
◆ RemoveJointCommand() [2/5]
dnac::RemoveJointCommand::RemoveJointCommand |
( |
std::uint16_t |
jointIndex, |
|
|
MemoryResource * |
memRes = nullptr |
|
) |
| |
43 :
44 pImpl{makeScoped<Impl>(memRes)} {
45
46 pImpl->setJointIndex(jointIndex);
47}
References pImpl.
◆ RemoveJointCommand() [3/5]
49 :
50 pImpl{makeScoped<Impl>(memRes)} {
51
52 pImpl->setJointIndices(jointIndices);
53}
References pImpl.
◆ ~RemoveJointCommand()
dnac::RemoveJointCommand::~RemoveJointCommand |
( |
| ) |
|
|
default |
◆ RemoveJointCommand() [4/5]
◆ RemoveJointCommand() [5/5]
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ run()
◆ setJointIndex()
void dnac::RemoveJointCommand::setJointIndex |
( |
std::uint16_t |
jointIndex | ) |
|
Method for setting the index of the joint to remove.
- Parameters
-
jointIndex | The index of the joint. |
- Note
- Call to either setter overwrites previous setter calls. When running the command, the last set joint(s) will be removed.
59 {
60 pImpl->setJointIndex(jointIndex);
61}
References pImpl.
◆ setJointIndices()
void dnac::RemoveJointCommand::setJointIndices |
( |
ConstArrayView< std::uint16_t > |
jointIndices | ) |
|
Method for setting the indices of joints to remove.
- Parameters
-
jointIndices | The joint indices. |
- Note
- Call to either setter overwrites previous setter calls. When running the command, the last set joint(s) will be removed.
63 {
64 pImpl->setJointIndices(jointIndices);
65}
References pImpl.
◆ pImpl
The documentation for this class was generated from the following files: