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);
22
24
27
30
36 DNACAPI void setJointIndex(std::uint16_t jointIndex);
37 DNACAPI void run(DNACalibDNAReader* output) override;
38
39 private:
40 class Impl;
42
43};
44
45} // 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 a joint.
Definition: RemoveJointCommand.h:18
DNACAPI void setJointIndex(std::uint16_t jointIndex)
Method for setting the index of the joint to remove.
Definition: RemoveJointCommand.cpp:48
DNACAPI RemoveJointCommand & operator=(RemoveJointCommand &&)
RemoveJointCommand & operator=(const RemoveJointCommand &)=delete
DNACAPI RemoveJointCommand(RemoveJointCommand &&)
DNACAPI RemoveJointCommand(MemoryResource *memRes=nullptr)
Definition: RemoveJointCommand.cpp:35
RemoveJointCommand(const RemoveJointCommand &)=delete
ScopedPtr< Impl > pImpl
Definition: RemoveJointCommand.h:41
DNACAPI void run(DNACalibDNAReader *output) override
Definition: RemoveJointCommand.cpp:52
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
#define DNACAPI
Definition: dnacalib/Defs.h:26
Definition: Command.h:8