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

Action d'orientation du site. More...

#include <TYActions.h>

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

Public Member Functions

 TYSetOrientationSiteAction (LPTYSiteNode &pSite, const TYSegment &oldOrient, const TYSegment &newOrient, TYModelerFrame *pModeler, const QString &actionName)
 
virtual ~TYSetOrientationSiteAction ()
 
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

LPTYSiteNode _pSite
 
TYSegment _oldOrient
 
TYSegment _newOrient
 
- Protected Attributes inherited from TYModelerAction
TYRenderWindowInteractor_pInteractor
 
TYModelerFrame_pModeler
 

Detailed Description

Action d'orientation du site.

Author
Projet_Tympan.

Definition at line 793 of file TYActions.h.

Constructor & Destructor Documentation

◆ TYSetOrientationSiteAction()

TYSetOrientationSiteAction::TYSetOrientationSiteAction ( LPTYSiteNode pSite,
const TYSegment oldOrient,
const TYSegment newOrient,
TYModelerFrame pModeler,
const QString &  actionName 
)

Constructeur.

Definition at line 1145 of file TYActions.cpp.

◆ ~TYSetOrientationSiteAction()

TYSetOrientationSiteAction::~TYSetOrientationSiteAction ( )
virtual

Destructeur.

Definition at line 1152 of file TYActions.cpp.

Member Function Documentation

◆ redo()

void TYSetOrientationSiteAction::redo ( )
virtual

Effectue a nouveau la derniere action annulee.

Implements TYModelerAction.

Definition at line 1162 of file TYActions.cpp.

Here is the call graph for this function:

◆ undo()

void TYSetOrientationSiteAction::undo ( )
virtual

Annule la derniere action.

Implements TYModelerAction.

Definition at line 1154 of file TYActions.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ _newOrient

TYSegment TYSetOrientationSiteAction::_newOrient
protected

Definition at line 812 of file TYActions.h.

◆ _oldOrient

TYSegment TYSetOrientationSiteAction::_oldOrient
protected

Definition at line 811 of file TYActions.h.

◆ _pSite

LPTYSiteNode TYSetOrientationSiteAction::_pSite
protected

Definition at line 810 of file TYActions.h.


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