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

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

#include <TYActions.h>

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

Public Member Functions

 TYAddElementToInfraAction (SmartPtr< TYGeometryNode > pElementGeoNode, LPTYInfrastructure pInfra, TYModelerFrame *pModeler, const QString &actionName)
 
 TYAddElementToInfraAction (LPTYElement pElement, LPTYInfrastructure pInfra, TYModelerFrame *pModeler, const QString &actionName)
 
virtual ~TYAddElementToInfraAction ()
 
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

Ajout d'un element a une infrastructure.

Author
Projet_Tympan.

Definition at line 397 of file TYActions.h.

Constructor & Destructor Documentation

◆ TYAddElementToInfraAction() [1/2]

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

Constructeur.

Definition at line 583 of file TYActions.cpp.

◆ TYAddElementToInfraAction() [2/2]

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

Constructeur.

Definition at line 591 of file TYActions.cpp.

Here is the call graph for this function:

◆ ~TYAddElementToInfraAction()

TYAddElementToInfraAction::~TYAddElementToInfraAction ( )
virtual

Destructeur.

Definition at line 622 of file TYActions.cpp.

Member Function Documentation

◆ redo()

void TYAddElementToInfraAction::redo ( )
virtual

Effectue a nouveau la derniere action annulee.

Implements TYModelerAction.

Definition at line 658 of file TYActions.cpp.

Here is the call graph for this function:

◆ undo()

void TYAddElementToInfraAction::undo ( )
virtual

Annule la derniere action.

Implements TYModelerAction.

Definition at line 624 of file TYActions.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ _pElementGeoNode

SmartPtr<TYGeometryNode> TYAddElementToInfraAction::_pElementGeoNode
protected

Definition at line 419 of file TYActions.h.

◆ _pInfra

LPTYInfrastructure TYAddElementToInfraAction::_pInfra
protected

Definition at line 421 of file TYActions.h.

◆ _pSrcPonct

LPTYUserSourcePonctuelle TYAddElementToInfraAction::_pSrcPonct
protected

Definition at line 420 of file TYActions.h.


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