DNA Calib 1.1
Project brief
RemoveJointAnimationCommand.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 RemoveJointAnimationCommand(MemoryResource* memRes = nullptr);
21 DNACAPI RemoveJointAnimationCommand(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: RemoveJointAnimationCommand.cpp:12
RemoveJointAnimationCommand is used to remove joint animation data.
Definition: RemoveJointAnimationCommand.h:18
ScopedPtr< Impl > pImpl
Definition: RemoveJointAnimationCommand.h:41
DNACAPI RemoveJointAnimationCommand(RemoveJointAnimationCommand &&)
RemoveJointAnimationCommand & operator=(const RemoveJointAnimationCommand &)=delete
DNACAPI RemoveJointAnimationCommand & operator=(RemoveJointAnimationCommand &&)
DNACAPI RemoveJointAnimationCommand(MemoryResource *memRes=nullptr)
Definition: RemoveJointAnimationCommand.cpp:35
DNACAPI void setJointIndex(std::uint16_t jointIndex)
Method for setting the index of a joint whose animation data to remove.
Definition: RemoveJointAnimationCommand.cpp:48
DNACAPI void run(DNACalibDNAReader *output) override
Definition: RemoveJointAnimationCommand.cpp:52
RemoveJointAnimationCommand(const RemoveJointAnimationCommand &)=delete
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