#include <copyCommand.h>
Public Member Functions | |
CopyCommand (CopyBufferPtr copy_buffer_ptr, ConstSelectionPtr selection_ptr, ConstCloudPtr cloud_ptr) | |
Constructor. | |
~CopyCommand () | |
Destructor. | |
Protected Member Functions | |
void | execute () |
Copy the selected points into the copy buffer. | |
void | undo () |
undo is not supported for this command. | |
Private Member Functions | |
CopyCommand () | |
Default constructor - object is not default constructable. | |
CopyCommand (const CopyCommand &) | |
Copy constructor - commands are non-copyable. | |
CopyCommand & | operator= (const CopyCommand &) |
Equal operator - commands are non-copyable. | |
Private Attributes | |
ConstCloudPtr | cloud_ptr_ |
a shared pointer pointing to the cloud | |
CopyBufferPtr | copy_buffer_ptr_ |
a pointer to the copy buffer. | |
ConstSelectionPtr | selection_ptr_ |
a shared pointer pointing to the selection |
Definition at line 48 of file copyCommand.h.
CopyCommand::CopyCommand | ( | CopyBufferPtr | copy_buffer_ptr, |
ConstSelectionPtr | selection_ptr, | ||
ConstCloudPtr | cloud_ptr | ||
) | [inline] |
Constructor.
copy_buffer_ptr | a shared pointer pointing to the copy buffer. |
selection_ptr | a shared pointer pointing to the selection object. |
cloud_ptr | a shared pointer pointing to the cloud object. |
Definition at line 55 of file copyCommand.h.
CopyCommand::~CopyCommand | ( | ) | [inline] |
Destructor.
Definition at line 65 of file copyCommand.h.
CopyCommand::CopyCommand | ( | ) | [inline, private] |
Default constructor - object is not default constructable.
Definition at line 90 of file copyCommand.h.
CopyCommand::CopyCommand | ( | const CopyCommand & | ) | [inline, private] |
Copy constructor - commands are non-copyable.
Definition at line 96 of file copyCommand.h.
void CopyCommand::execute | ( | ) | [inline, protected, virtual] |
Copy the selected points into the copy buffer.
Implements Command.
Definition at line 74 of file copyCommand.h.
CopyCommand& CopyCommand::operator= | ( | const CopyCommand & | ) | [inline, private] |
Equal operator - commands are non-copyable.
Definition at line 103 of file copyCommand.h.
void CopyCommand::undo | ( | ) | [inline, protected, virtual] |
undo is not supported for this command.
Implements Command.
Definition at line 83 of file copyCommand.h.
ConstCloudPtr CopyCommand::cloud_ptr_ [private] |
a shared pointer pointing to the cloud
Definition at line 115 of file copyCommand.h.
CopyBufferPtr CopyCommand::copy_buffer_ptr_ [private] |
a pointer to the copy buffer.
Definition at line 109 of file copyCommand.h.
ConstSelectionPtr CopyCommand::selection_ptr_ [private] |
a shared pointer pointing to the selection
Definition at line 112 of file copyCommand.h.