Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
CopyCommand Class Reference

#include <copyCommand.h>

Inheritance diagram for CopyCommand:
Inheritance graph
[legend]

List of all members.

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.
CopyCommandoperator= (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

Detailed Description

Definition at line 48 of file copyCommand.h.


Constructor & Destructor Documentation

CopyCommand::CopyCommand ( CopyBufferPtr  copy_buffer_ptr,
ConstSelectionPtr  selection_ptr,
ConstCloudPtr  cloud_ptr 
) [inline]

Constructor.

Parameters:
copy_buffer_ptra shared pointer pointing to the copy buffer.
selection_ptra shared pointer pointing to the selection object.
cloud_ptra shared pointer pointing to the cloud object.

Definition at line 55 of file copyCommand.h.

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.


Member Function Documentation

void CopyCommand::execute ( ) [inline, protected, virtual]

Copy the selected points into the copy buffer.

Precondition:
Assumes the constructor was given appropriate pointers to the required objects.

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.


Member Data Documentation

a shared pointer pointing to the cloud

Definition at line 115 of file copyCommand.h.

a pointer to the copy buffer.

Definition at line 109 of file copyCommand.h.

a shared pointer pointing to the selection

Definition at line 112 of file copyCommand.h.


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


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:38:49