DNA Calib 1.1
Project brief
Classes | Public Member Functions | Private Attributes | List of all members
dnac::RemoveBlendShapeCommand Class Reference

RemoveBlendShapeCommand is used to remove blend shapes. More...

#include <RemoveBlendShapeCommand.h>

Inheritance diagram for dnac::RemoveBlendShapeCommand:
Inheritance graph
Collaboration diagram for dnac::RemoveBlendShapeCommand:
Collaboration graph

Classes

class  Impl
 

Public Member Functions

DNACAPI RemoveBlendShapeCommand (MemoryResource *memRes=nullptr)
 
DNACAPI RemoveBlendShapeCommand (std::uint16_t blendShapeIndex, MemoryResource *memRes=nullptr)
 
DNACAPI RemoveBlendShapeCommand (ConstArrayView< std::uint16_t > blendShapeIndices, MemoryResource *memRes=nullptr)
 
DNACAPI ~RemoveBlendShapeCommand ()
 
 RemoveBlendShapeCommand (const RemoveBlendShapeCommand &)=delete
 
RemoveBlendShapeCommandoperator= (const RemoveBlendShapeCommand &)=delete
 
DNACAPI RemoveBlendShapeCommand (RemoveBlendShapeCommand &&)
 
DNACAPI RemoveBlendShapeCommandoperator= (RemoveBlendShapeCommand &&)
 
DNACAPI void setBlendShapeIndex (std::uint16_t blendShapeIndex)
 Method for setting the index of the blend shape to remove. More...
 
DNACAPI void setBlendShapeIndices (ConstArrayView< std::uint16_t > blendShapeIndices)
 Method for setting the indices of blend shapes to remove. More...
 
DNACAPI void run (DNACalibDNAReader *output) override
 
- Public Member Functions inherited from dnac::Command
virtual ~Command ()
 
virtual void run (DNACalibDNAReader *output)=0
 

Private Attributes

ScopedPtr< ImplpImpl
 

Detailed Description

RemoveBlendShapeCommand is used to remove blend shapes.

Constructor & Destructor Documentation

◆ RemoveBlendShapeCommand() [1/5]

dnac::RemoveBlendShapeCommand::RemoveBlendShapeCommand ( MemoryResource memRes = nullptr)
explicit
40 : pImpl{makeScoped<Impl>(memRes)} {
41}
ScopedPtr< Impl > pImpl
Definition: RemoveBlendShapeCommand.h:50

◆ RemoveBlendShapeCommand() [2/5]

dnac::RemoveBlendShapeCommand::RemoveBlendShapeCommand ( std::uint16_t  blendShapeIndex,
MemoryResource memRes = nullptr 
)
43 :
44 pImpl{makeScoped<Impl>(memRes)} {
45
46 pImpl->setBlendShapeIndex(blendShapeIndex);
47}

References pImpl.

◆ RemoveBlendShapeCommand() [3/5]

dnac::RemoveBlendShapeCommand::RemoveBlendShapeCommand ( ConstArrayView< std::uint16_t >  blendShapeIndices,
MemoryResource memRes = nullptr 
)
49 :
50 pImpl{makeScoped<Impl>(memRes)} {
51
52 pImpl->setBlendShapeIndices(blendShapeIndices);
53}

References pImpl.

◆ ~RemoveBlendShapeCommand()

dnac::RemoveBlendShapeCommand::~RemoveBlendShapeCommand ( )
default

◆ RemoveBlendShapeCommand() [4/5]

dnac::RemoveBlendShapeCommand::RemoveBlendShapeCommand ( const RemoveBlendShapeCommand )
delete

◆ RemoveBlendShapeCommand() [5/5]

dnac::RemoveBlendShapeCommand::RemoveBlendShapeCommand ( RemoveBlendShapeCommand &&  )
default

Member Function Documentation

◆ operator=() [1/2]

RemoveBlendShapeCommand & dnac::RemoveBlendShapeCommand::operator= ( const RemoveBlendShapeCommand )
delete

◆ operator=() [2/2]

RemoveBlendShapeCommand & dnac::RemoveBlendShapeCommand::operator= ( RemoveBlendShapeCommand &&  )
default

◆ run()

void dnac::RemoveBlendShapeCommand::run ( DNACalibDNAReader output)
overridevirtual

Implements dnac::Command.

67 {
68 pImpl->run(static_cast<DNACalibDNAReaderImpl*>(output));
69}

References pImpl.

◆ setBlendShapeIndex()

void dnac::RemoveBlendShapeCommand::setBlendShapeIndex ( std::uint16_t  blendShapeIndex)

Method for setting the index of the blend shape to remove.

Parameters
blendShapeIndexThe index of the blend shape.
Note
Call to either setter overwrites previous setter calls. When running the command, the last set blend shape(s) will be removed.
59 {
60 pImpl->setBlendShapeIndex(blendShapeIndex);
61}

References pImpl.

◆ setBlendShapeIndices()

void dnac::RemoveBlendShapeCommand::setBlendShapeIndices ( ConstArrayView< std::uint16_t >  blendShapeIndices)

Method for setting the indices of blend shapes to remove.

Parameters
blendShapeIndicesThe blend shape indices.
Note
Call to either setter overwrites previous setter calls. When running the command, the last set blend shape(s) will be removed.
63 {
64 pImpl->setBlendShapeIndices(blendShapeIndices);
65}

References pImpl.

Member Data Documentation

◆ pImpl

ScopedPtr<Impl> dnac::RemoveBlendShapeCommand::pImpl
private

The documentation for this class was generated from the following files: