PT::CombinedPanoCommand Class Reference

PanoCommand to combine other PanoCommands. More...

#include <PanoCommand.h>

Inheritance diagram for PT::CombinedPanoCommand:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 CombinedPanoCommand (Panorama &pano, std::vector< PanoCommand * > &commands)
 Constructor.
 ~CombinedPanoCommand ()
virtual bool processPanorama (Panorama &pano)
virtual std::string getName () const

Private Attributes

std::vector< PanoCommand * > commands

Detailed Description

PanoCommand to combine other PanoCommands.

Use to get one Undo step from what would normally be several PanoCommands.

Definition at line 69 of file PanoCommand.h.


Constructor & Destructor Documentation

PT::CombinedPanoCommand::CombinedPanoCommand Panorama pano,
std::vector< PanoCommand * > &  commands
[inline]
 

Constructor.

Parameters:
commands List of pointers to commands. The applied from beginning to end. CombinedPanoCommand deletes the commands when it is itself deleted.

Definition at line 77 of file PanoCommand.h.

PT::CombinedPanoCommand::~CombinedPanoCommand  )  [inline]
 

Definition at line 80 of file PanoCommand.h.


Member Function Documentation

virtual std::string PT::CombinedPanoCommand::getName  )  const [inline, virtual]
 

Reimplemented from AppBase::Command< std::string >.

Definition at line 102 of file PanoCommand.h.

virtual bool PT::CombinedPanoCommand::processPanorama Panorama pano  )  [inline, virtual]
 

Reimplemented from PT::PanoCommand.

Definition at line 89 of file PanoCommand.h.


Member Data Documentation

std::vector<PanoCommand*> PT::CombinedPanoCommand::commands [private]
 

Definition at line 107 of file PanoCommand.h.


The documentation for this class was generated from the following file:
Generated on Wed Jul 16 01:25:54 2014 for Hugintrunk by  doxygen 1.3.9.1