Code_TYMPAN  4.4.0
Industrial site acoustic simulation
Public Member Functions | Protected Attributes | List of all members
TYRemElementToInfraAction Class Reference

Suppression d'un element a une infrastructure. More...

#include <TYActions.h>

Inheritance diagram for TYRemElementToInfraAction:
Inheritance graph
[legend]
Collaboration diagram for TYRemElementToInfraAction:
Collaboration graph
[legend]

Public Member Functions

 TYRemElementToInfraAction (SmartPtr< TYGeometryNode > pElementGeoNode, LPTYInfrastructure pInfra, TYModelerFrame *pModeler, const QString &actionName)
 
 TYRemElementToInfraAction (LPTYElement pElement, LPTYInfrastructure pInfra, TYModelerFrame *pModeler, const QString &actionName)
 
virtual ~TYRemElementToInfraAction ()
 
virtual void undo ()
 
virtual void redo ()
 
- Public Member Functions inherited from TYModelerAction
 TYModelerAction (TYModelerFrame *pModeler, const QString &actionName)
 Constructeur. More...
 
virtual ~TYModelerAction ()
 Destructeur. More...
 
- Public Member Functions inherited from TYAction
 TYAction (const QString &actionName)
 
virtual ~TYAction ()
 
QString getName () const
 

Protected Attributes

SmartPtr< TYGeometryNode_pElementGeoNode
 
LPTYUserSourcePonctuelle _pSrcPonct
 
LPTYInfrastructure _pInfra
 
- Protected Attributes inherited from TYModelerAction
TYRenderWindowInteractor_pInteractor
 
TYModelerFrame_pModeler
 

Detailed Description

Suppression d'un element a une infrastructure.

Author
Projet_Tympan.

Definition at line 429 of file TYActions.h.

Constructor & Destructor Documentation

◆ TYRemElementToInfraAction() [1/2]

TYRemElementToInfraAction::TYRemElementToInfraAction ( SmartPtr< TYGeometryNode pElementGeoNode,
LPTYInfrastructure  pInfra,
TYModelerFrame pModeler,
const QString &  actionName 
)

Constructeur.

Definition at line 695 of file TYActions.cpp.

◆ TYRemElementToInfraAction() [2/2]

TYRemElementToInfraAction::TYRemElementToInfraAction ( LPTYElement  pElement,
LPTYInfrastructure  pInfra,
TYModelerFrame pModeler,
const QString &  actionName 
)

Constructeur.

Definition at line 703 of file TYActions.cpp.

Here is the call graph for this function:

◆ ~TYRemElementToInfraAction()

TYRemElementToInfraAction::~TYRemElementToInfraAction ( )
virtual

Destructeur.

Definition at line 734 of file TYActions.cpp.

Member Function Documentation

◆ redo()

void TYRemElementToInfraAction::redo ( )
virtual

Effectue a nouveau la derniere action annulee.

Implements TYModelerAction.

Definition at line 771 of file TYActions.cpp.

Here is the call graph for this function:

◆ undo()

void TYRemElementToInfraAction::undo ( )
virtual

Annule la derniere action.

Implements TYModelerAction.

Definition at line 736 of file TYActions.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ _pElementGeoNode

SmartPtr<TYGeometryNode> TYRemElementToInfraAction::_pElementGeoNode
protected

Definition at line 451 of file TYActions.h.

◆ _pInfra

LPTYInfrastructure TYRemElementToInfraAction::_pInfra
protected

Definition at line 453 of file TYActions.h.

◆ _pSrcPonct

LPTYUserSourcePonctuelle TYRemElementToInfraAction::_pSrcPonct
protected

Definition at line 452 of file TYActions.h.


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