DNA Calib 1.1
Project brief
RemoveJointCommand.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "dnacalib/Command.h"
6#include "dnacalib/Defs.h"
8
9#include <cstdint>
10
11namespace dnac {
12
13class DNACalibDNAReader;
14
19 public:
20 DNACAPI explicit RemoveJointCommand(MemoryResource* memRes = nullptr);
21 DNACAPI RemoveJointCommand(std::uint16_t jointIndex, MemoryResource* memRes = nullptr);
23
25
28
31
38 DNACAPI void setJointIndex(std::uint16_t jointIndex);
46 DNACAPI void run(DNACalibDNAReader* output) override;
47
48 private:
49 class Impl;
51
52};
53
54} // namespace dnac
Command is an abstract class whose implementations are expected to modify the DNA provided in the run...
Definition: Command.h:15
Definition: DNACalibDNAReader.h:12
Definition: RemoveJointCommand.cpp:12
RemoveJointCommand is used to remove joints.
Definition: RemoveJointCommand.h:18
DNACAPI void setJointIndex(std::uint16_t jointIndex)
Method for setting the index of the joint to remove.
Definition: RemoveJointCommand.cpp:59
DNACAPI RemoveJointCommand & operator=(RemoveJointCommand &&)
RemoveJointCommand & operator=(const RemoveJointCommand &)=delete
DNACAPI RemoveJointCommand(RemoveJointCommand &&)
DNACAPI void setJointIndices(ConstArrayView< std::uint16_t > jointIndices)
Method for setting the indices of joints to remove.
Definition: RemoveJointCommand.cpp:63
DNACAPI RemoveJointCommand(MemoryResource *memRes=nullptr)
Definition: RemoveJointCommand.cpp:40
RemoveJointCommand(const RemoveJointCommand &)=delete
ScopedPtr< Impl > pImpl
Definition: RemoveJointCommand.h:50
DNACAPI void run(DNACalibDNAReader *output) override
Definition: RemoveJointCommand.cpp:67
MemoryResource is an abstract class that allows the implementation of polymorphic allocators.
Definition: MemoryResource.h:17
Takes ownership over the given pointer and handles it's lifetime.
Definition: ScopedPtr.h:116
A view over a continuous sequence of objects.
Definition: ArrayView.h:55
#define DNACAPI
Definition: dnacalib/Defs.h:26
Definition: Command.h:8