PT::CombinedPanoCommand Class Reference

PanoCommand to combine other PanoCommands. More...

#include <PanoCommand.h>

Inheritance diagram for PT::CombinedPanoCommand:

Inheritance graph
List of all members.

Public Member Functions

 CombinedPanoCommand (Panorama &pano, std::vector< PanoCommand * > &commands)
 ~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]


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.

References commands.

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.

References commands, and HuginBase::PanoCommand< std::string >::pano.

Member Data Documentation

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

Definition at line 105 of file PanoCommand.h.

Referenced by processPanorama(), and ~CombinedPanoCommand().

The documentation for this class was generated from the following file:
Generated on 23 May 2018 for Hugintrunk by  doxygen 1.4.7