te::edit::AddContinuosCommand Class Reference

Undo/Redo for add one components. More...

#include <AddContinuosCommand.h>

Inheritance diagram for te::edit::AddContinuosCommand:

Public Member Functions

 AddContinuosCommand (std::vector< Feature * > &items, std::vector< te::gm::Coord2D > &coords, int &correntIndex, te::qt::widgets::MapDisplay *display, const te::map::AbstractLayerPtr &layer, QUndoCommand *parent=0)
 
virtual void redo ()
 Reimplemented from QUndoCommand. More...
 
virtual void undo ()
 Reimplemented from QUndoCommand. More...
 
virtual ~AddContinuosCommand ()
 Destructor. More...
 

Private Member Functions

void draw ()
 

Private Attributes

std::vector< Feature * > & m_addItems
 
std::vector< te::gm::Coord2D > & m_coords
 
int & m_correntIndex
 
te::qt::widgets::MapDisplaym_display
 
te::map::AbstractLayerPtr m_layer
 

Detailed Description

Undo/Redo for add one components.

Definition at line 49 of file AddContinuosCommand.h.

Constructor & Destructor Documentation

te::edit::AddContinuosCommand::AddContinuosCommand ( std::vector< Feature * > &  items,
std::vector< te::gm::Coord2D > &  coords,
int &  correntIndex,
te::qt::widgets::MapDisplay display,
const te::map::AbstractLayerPtr layer,
QUndoCommand *  parent = 0 
)
virtual te::edit::AddContinuosCommand::~AddContinuosCommand ( )
virtual

Destructor.

Member Function Documentation

void te::edit::AddContinuosCommand::draw ( )
private
virtual void te::edit::AddContinuosCommand::redo ( )
virtual

Reimplemented from QUndoCommand.

virtual void te::edit::AddContinuosCommand::undo ( )
virtual

Reimplemented from QUndoCommand.

Member Data Documentation

std::vector<Feature*>& te::edit::AddContinuosCommand::m_addItems
private

Definition at line 74 of file AddContinuosCommand.h.

std::vector<te::gm::Coord2D>& te::edit::AddContinuosCommand::m_coords
private

Definition at line 75 of file AddContinuosCommand.h.

int& te::edit::AddContinuosCommand::m_correntIndex
private

Definition at line 77 of file AddContinuosCommand.h.

te::qt::widgets::MapDisplay* te::edit::AddContinuosCommand::m_display
private

Definition at line 72 of file AddContinuosCommand.h.

te::map::AbstractLayerPtr te::edit::AddContinuosCommand::m_layer
private

Definition at line 73 of file AddContinuosCommand.h.


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