DNA Calib 1.1
Project brief
RemoveAnimatedMapCommand.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 RemoveAnimatedMapCommand(MemoryResource* memRes = nullptr);
21 DNACAPI RemoveAnimatedMapCommand(std::uint16_t animatedMapIndex, MemoryResource* memRes = nullptr);
23
25
28
31
38 DNACAPI void setAnimatedMapIndex(std::uint16_t animatedMapIndex);
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: RemoveAnimatedMapCommand.cpp:12
RemoveAnimatedMapCommand is used to remove animated maps.
Definition: RemoveAnimatedMapCommand.h:18
ScopedPtr< Impl > pImpl
Definition: RemoveAnimatedMapCommand.h:50
DNACAPI RemoveAnimatedMapCommand(RemoveAnimatedMapCommand &&)
DNACAPI void setAnimatedMapIndex(std::uint16_t animatedMapIndex)
Method for setting the index of the animated map to remove.
Definition: RemoveAnimatedMapCommand.cpp:59
RemoveAnimatedMapCommand(const RemoveAnimatedMapCommand &)=delete
DNACAPI RemoveAnimatedMapCommand(MemoryResource *memRes=nullptr)
Definition: RemoveAnimatedMapCommand.cpp:40
DNACAPI RemoveAnimatedMapCommand & operator=(RemoveAnimatedMapCommand &&)
RemoveAnimatedMapCommand & operator=(const RemoveAnimatedMapCommand &)=delete
DNACAPI void run(DNACalibDNAReader *output) override
Definition: RemoveAnimatedMapCommand.cpp:67
DNACAPI void setAnimatedMapIndices(ConstArrayView< std::uint16_t > animatedMapIndices)
Method for setting the indices of animated maps to remove.
Definition: RemoveAnimatedMapCommand.cpp:63
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