Code_TYMPAN  4.2.0
Industrial site acoustic simulation
Public Member Functions | List of all members
TYInfrastructure Class Reference

#include <TYInfrastructure.h>

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

Public Member Functions

 TYInfrastructure ()
 
 TYInfrastructure (const TYInfrastructure &other)
 
virtual ~TYInfrastructure ()
 
TYInfrastructureoperator= (const TYInfrastructure &other)
 Operateur =. More...
 
bool operator== (const TYInfrastructure &other) const
 Operateur ==. More...
 
bool operator!= (const TYInfrastructure &other) const
 Operateur !=. More...
 
virtual bool deepCopy (const TYElement *pOther, bool copyId=true, bool pUseCopyTag=false)
 
virtual std::string toString () const
 
virtual DOM_Element toXML (DOM_Element &domElement)
 
virtual int fromXML (DOM_Element domElement)
 
virtual void getChilds (LPTYElementArray &childs, bool recursif=true)
 
- Public Member Functions inherited from TYElement
void * getAllUses ()
 
void setAllUses (void *allUses)
 
void cleanAllUses ()
 
 TYElement ()
 
 TYElement (TYElement *pParent, bool PutInInstanceList=true)
 
 TYElement (const TYElement &other, bool PutInInstanceList=true)
 
virtual ~TYElement ()
 
void setID (TYUUID id)
 
void setID (const QString &str_id)
 
const TYUUIDgetID () const
 
QString getStringID () const
 
bool hasNullID () const
 
void regenerateID ()
 
void setName (QString name)
 
void setName (std::string name)
 
virtual QString getName () const
 
void setParent (TYElement *pParent)
 
TYElementgetParent () const
 
virtual void setIsAcousticModified (bool isModified)
 
bool getIsAcousticModified ()
 
virtual void setIsGeometryModified (bool isModified)
 
bool getIsGeometryModified ()
 
TYElementoperator= (const TYElement &other)
 
bool operator== (const TYElement &other) const
 
bool operator!= (const TYElement &other) const
 
bool callFromXMLIfEqual (DOM_Element &domElement, int *pRetVal=NULL)
 
std::string getMetierName ()
 
virtual void setInCurrentCalcul (bool state, bool recurschild=true, bool recursparent=true)
 
virtual bool isInCurrentCalcul ()
 
void addCopy ()
 Increment le compteur de nombre de copies. More...
 
void setCopyCount (const unsigned int copyCount)
 Modifie la vaeur du compteur. More...
 
- Public Member Functions inherited from IRefCount
 IRefCount ()
 
virtual ~IRefCount ()
 
virtual int incRef ()
 
virtual int decRef ()
 
int getRefCount () const
 
- Public Member Functions inherited from OPrototype
virtual ~OPrototype ()
 
virtual OPrototypeclone () const =0
 
virtual const char * getClassName () const
 
bool isA (const char *className) const
 

Gestion du Calcul courant

TYTabReseauTransportGeoNode _listResTrans
 Liste des reseaux de transport. More...
 
TYTabBatimentGeoNode _listBatiment
 Liste des batiments. More...
 
TYTabMachineGeoNode _listMachine
 Liste des machines. More...
 
TYTabUserSourcePonctuelleGeoNode _listSrc
 Liste des sources ponctuelles. More...
 
std::vector< LPTYElement_tabUpdateNOk
 Liste des elements dont l'update a echoue. More...
 
virtual void updateCurrentCalcul (TYListID &listID, bool recursif=true)
 
TYProjetgetProjet ()
 
virtual void reparent ()
 
void purge ()
 
void concatInfra (const TYInfrastructure *infra)
 
TYTabReseauTransportGeoNodegetListResTrans ()
 
const TYTabReseauTransportGeoNodegetListResTrans () const
 
void setListResTrans (const TYTabReseauTransportGeoNode &list)
 
bool addResTrans (LPTYReseauTransportGeoNode pResTransGeoNode)
 
bool addResTrans (LPTYReseauTransport pResTrans)
 
bool remResTrans (const LPTYReseauTransportGeoNode pResTransGeoNode)
 
bool remResTrans (const LPTYReseauTransport pResTrans)
 
bool remResTrans (QString idResTrans)
 
void remAllResTrans ()
 
LPTYReseauTransport getResTrans (int index)
 
LPTYReseauTransportGeoNode findResTrans (const LPTYReseauTransport pResTrans)
 
TYTabBatimentGeoNodegetListBatiment ()
 
const TYTabBatimentGeoNodegetListBatiment () const
 
void setListBatiment (const TYTabBatimentGeoNode &list)
 
bool addBatiment (LPTYBatimentGeoNode pBatimentGeoNode)
 
bool addBatiment (LPTYBatiment pBatiment, const TYRepere &pos)
 
bool remBatiment (const LPTYBatimentGeoNode pBatimentGeoNode)
 
bool remBatiment (const LPTYBatiment pBatiment)
 
bool remBatiment (QString idBatiment)
 
void remAllBatiment ()
 
LPTYBatimentGeoNode getBatiment (int index)
 
LPTYBatimentGeoNode findBatiment (const LPTYBatiment pBatiment)
 
TYTabMachineGeoNodegetListMachine ()
 
const TYTabMachineGeoNodegetListMachine () const
 
void setListMachine (const TYTabMachineGeoNode &list)
 
bool addMachine (LPTYMachineGeoNode pMachineGeoNode)
 
bool addMachine (LPTYMachine pMachine, const TYRepere &pos)
 
bool remMachine (const LPTYMachine pMachine)
 
bool remMachine (const LPTYMachineGeoNode pMachineGeoNode)
 
bool remMachine (QString idMachine)
 
void remAllMachine ()
 
LPTYMachineGeoNode getMachine (int index)
 
LPTYMachineGeoNode findMachine (const LPTYMachine pMachine)
 
TYTabUserSourcePonctuelleGeoNodegetSrcs ()
 
const TYTabUserSourcePonctuelleGeoNodegetSrcs () const
 
void setSrcs (const TYTabUserSourcePonctuelleGeoNode &list)
 
bool addSrc (LPTYUserSourcePonctuelle pSrc)
 
bool addSrc (LPTYUserSourcePonctuelleGeoNode pSrcGeoNode)
 
bool remSrc (const LPTYUserSourcePonctuelle pSrc)
 
bool remSrc (const LPTYUserSourcePonctuelleGeoNode pSrcGeoNode)
 
bool remSrc (QString idSrc)
 
void remAllSrc ()
 
LPTYUserSourcePonctuelleGeoNode getSrc (int index)
 
LPTYUserSourcePonctuelleGeoNode findSrc (const LPTYUserSourcePonctuelle pSrc)
 
void getAllSrcs (const TYCalcul *pCalcul, TYMapElementTabSources &mapElementSrcs)
 
bool updateAcoustic (const TYCalcul *pCalcul, const bool &force=false)
 
void clean ()
 
std::vector< LPTYElementgetTabElemNOk ()
 
bool addToCalcul (TYGeometryNode *pNode)
 
bool addToCalcul ()
 
bool remFromCalcul ()
 

Additional Inherited Members

- Static Public Member Functions inherited from TYElement
static LPTYElementArray findTypeCollectionAndCallFromXML (DOM_Element parentElem, const char *type)
 
static void setLogInstances (bool log)
 
static bool getLogInstances ()
 
static TYElementgetInstance (TYUUID uuid)
 
static void purgeInstances ()
 
static bool testId (const TYUUID &id, const TYElement *pElem)
 
static TYUUID newID ()
 
static TYUUID fromString (QString id)
 
static QString toString (TYUUID &uuid)
 
static uint64 getConstructorCount ()
 
static uint64 getDestructorCount ()
 
static uint64 getIdGenerationCount ()
 
static bool getIsSavedOk ()
 
static void setIsSavedOk (const bool &toSave)
 
static void setRegenerateID (const bool &bRegenerate)
 
static bool getRegenerateID ()
 
- Static Public Member Functions inherited from OPrototype
static OPrototypefindAndClone (const char *className)
 
static int findPrototype (const char *className)
 
static OPrototypesafeDownCast (OPrototype *pObject)
 
static void add_factory (const char *, IOProtoFactory::ptr_type factory)
 
- Protected Member Functions inherited from OPrototype
 OPrototype ()
 
- Protected Attributes inherited from TYElement
QString _name
 Nom courant de l'element. More...
 
TYElement_pParent
 Reference sur l'element parent. More...
 
bool _bPutInInstanceList
 
unsigned int _copyCount
 
bool _inCurrentCalcul
 Indique si cet element est actif dans le Calcul courant. More...
 
bool _isAcousticModified
 Indicateur de modification acoustique. More...
 
bool _isGeometryModified
 Indicateur de modification de la geometrie. More...
 
LPTYElementGraphic _pGraphicObject
 L'object graphique metier associe a cet element. More...
 
void * _allUses
 Multi purpose void pointer (use for compatibility actually) More...
 
- Protected Attributes inherited from IRefCount
int m_refCount
 The reference counter. More...
 

Detailed Description

Centralise les elements d'infrastructure.

Definition at line 33 of file TYInfrastructure.h.

Constructor & Destructor Documentation

◆ TYInfrastructure() [1/2]

TYInfrastructure::TYInfrastructure ( )

Constructeur.

Definition at line 32 of file TYInfrastructure.cpp.

Here is the call graph for this function:

◆ TYInfrastructure() [2/2]

TYInfrastructure::TYInfrastructure ( const TYInfrastructure other)

Constructeur par copie.

Definition at line 37 of file TYInfrastructure.cpp.

◆ ~TYInfrastructure()

TYInfrastructure::~TYInfrastructure ( )
virtual

Destructeur.

Definition at line 42 of file TYInfrastructure.cpp.

Member Function Documentation

◆ addBatiment() [1/2]

bool TYInfrastructure::addBatiment ( LPTYBatimentGeoNode  pBatimentGeoNode)

Ajoute une entree a la liste des batiments et la position associee.

Definition at line 828 of file TYInfrastructure.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ addBatiment() [2/2]

bool TYInfrastructure::addBatiment ( LPTYBatiment  pBatiment,
const TYRepere pos 
)

Ajoute une entree a la liste des batiments et la position associee.

Definition at line 849 of file TYInfrastructure.cpp.

Here is the call graph for this function:

◆ addMachine() [1/2]

bool TYInfrastructure::addMachine ( LPTYMachineGeoNode  pMachineGeoNode)

Ajoute une entree a la liste des machines et la position associee.

Definition at line 718 of file TYInfrastructure.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ addMachine() [2/2]

bool TYInfrastructure::addMachine ( LPTYMachine  pMachine,
const TYRepere pos 
)

Ajoute une entree a la liste des machines et la position associee.

Definition at line 739 of file TYInfrastructure.cpp.

Here is the call graph for this function:

◆ addResTrans() [1/2]

bool TYInfrastructure::addResTrans ( LPTYReseauTransportGeoNode  pResTransGeoNode)

Ajoute une entree a la liste des reseaux de transport.

Definition at line 607 of file TYInfrastructure.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ addResTrans() [2/2]

bool TYInfrastructure::addResTrans ( LPTYReseauTransport  pResTrans)

Ajoute une entree a la liste des reseaux de transport.

Definition at line 628 of file TYInfrastructure.cpp.

Here is the call graph for this function:

◆ addSrc() [1/2]

bool TYInfrastructure::addSrc ( LPTYUserSourcePonctuelle  pSrc)

Ajoute une entree a la liste des sources ponctuelles.

Definition at line 959 of file TYInfrastructure.cpp.

Here is the caller graph for this function:

◆ addSrc() [2/2]

bool TYInfrastructure::addSrc ( LPTYUserSourcePonctuelleGeoNode  pSrcGeoNode)

Ajoute une entree a la liste des sources ponctuelles.

Definition at line 938 of file TYInfrastructure.cpp.

Here is the call graph for this function:

◆ addToCalcul() [1/2]

bool TYInfrastructure::addToCalcul ( TYGeometryNode pNode)

Ajoute le nouvel element au calcul

Definition at line 1161 of file TYInfrastructure.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ addToCalcul() [2/2]

bool TYInfrastructure::addToCalcul ( )

Ajoute les elements de l'infrastructure au calcul

Definition at line 1048 of file TYInfrastructure.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ clean()

void TYInfrastructure::clean ( )

Vide les tableaux sans mettre a jour les calculs

Definition at line 1376 of file TYInfrastructure.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ concatInfra()

void TYInfrastructure::concatInfra ( const TYInfrastructure infra)

Concatene 2 infrastructures

Definition at line 463 of file TYInfrastructure.cpp.

Here is the call graph for this function:

◆ deepCopy()

bool TYInfrastructure::deepCopy ( const TYElement pOther,
bool  copyId = true,
bool  pUseCopyTag = false 
)
virtual

Effectue une copie en allouant de la memoire (deep copy) et non pas en copiant seulement les pointeurs (shallow copy). Cette methode s'utilise comme l'operateur egal. L'ID peut ne pas etre copie, le parent n'est jamais copie.

Parameters
pOtherL'element a copier.
copyIdCopie l'identifiant unique ou pas.
Returns
true si la copie est possible; false sinon.

Reimplemented from TYElement.

Definition at line 84 of file TYInfrastructure.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ findBatiment()

LPTYBatimentGeoNode TYInfrastructure::findBatiment ( const LPTYBatiment  pBatiment)

Retrouve le GeoNode associe a un bâtiment.

Parameters
pBatimentL'element a chercher.
Returns
Le GeoNode associe a l'element a chercher si trouve sinon NULL.

Definition at line 922 of file TYInfrastructure.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ findMachine()

LPTYMachineGeoNode TYInfrastructure::findMachine ( const LPTYMachine  pMachine)

Retrouve le GeoNode associe a une machine.

Parameters
pMachineL'element a chercher.
Returns
Le GeoNode associe a l'element a chercher si trouve sinon NULL.

Definition at line 812 of file TYInfrastructure.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ findResTrans()

LPTYReseauTransportGeoNode TYInfrastructure::findResTrans ( const LPTYReseauTransport  pResTrans)

Retrouve le GeoNode associe a un reseau de transport.

Parameters
pResTransL'element a chercher.
Returns
Le GeoNode associe a l'element a chercher si trouve sinon NULL.

Definition at line 702 of file TYInfrastructure.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ findSrc()

LPTYUserSourcePonctuelleGeoNode TYInfrastructure::findSrc ( const LPTYUserSourcePonctuelle  pSrc)

Retrouve le GeoNode associe a une source ponctuelle.

Parameters
pSrcL'element a chercher.
Returns
Le GeoNode associe a l'element a chercher si trouve sinon NULL.

Definition at line 1032 of file TYInfrastructure.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fromXML()

int TYInfrastructure::fromXML ( DOM_Element  domElement)
virtual

Extrait les informations a partir du noeud DOM passe afin de recuperer les parametres de la classe.

Parameters
domElementLe noeud DOM a partir duquel les parametres doivent etre recuperes.
Returns
1 si la recuperation des parametres a reussie.

Reimplemented from TYElement.

Definition at line 208 of file TYInfrastructure.cpp.

Here is the call graph for this function:

◆ getAllSrcs()

void TYInfrastructure::getAllSrcs ( const TYCalcul pCalcul,
TYMapElementTabSources mapElementSrcs 
)

Retourne un tableau associatif des sources et de leur machine support

Definition at line 1267 of file TYInfrastructure.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getBatiment()

LPTYBatimentGeoNode TYInfrastructure::getBatiment ( int  index)
inline

Retourne un bâtiment a partir de son index.

Definition at line 284 of file TYInfrastructure.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getChilds()

void TYInfrastructure::getChilds ( LPTYElementArray childs,
bool  recursif = true 
)
virtual

Collecte les enfants de cet element de facon recursive ou non.

Reimplemented from TYElement.

Definition at line 319 of file TYInfrastructure.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getListBatiment() [1/2]

TYTabBatimentGeoNode& TYInfrastructure::getListBatiment ( )
inline

Set/Get de la liste des batiments.

Definition at line 238 of file TYInfrastructure.h.

Here is the caller graph for this function:

◆ getListBatiment() [2/2]

const TYTabBatimentGeoNode& TYInfrastructure::getListBatiment ( ) const
inline

Set/Get de la liste des batiments.

Definition at line 243 of file TYInfrastructure.h.

◆ getListMachine() [1/2]

TYTabMachineGeoNode& TYInfrastructure::getListMachine ( )
inline

Set/Get de la liste des machines.

Definition at line 298 of file TYInfrastructure.h.

Here is the caller graph for this function:

◆ getListMachine() [2/2]

const TYTabMachineGeoNode& TYInfrastructure::getListMachine ( ) const
inline

Set/Get de la liste des machines.

Definition at line 303 of file TYInfrastructure.h.

◆ getListResTrans() [1/2]

TYTabReseauTransportGeoNode& TYInfrastructure::getListResTrans ( )
inline

Set/Get de la liste des reseaux de transport.

Definition at line 178 of file TYInfrastructure.h.

Here is the caller graph for this function:

◆ getListResTrans() [2/2]

const TYTabReseauTransportGeoNode& TYInfrastructure::getListResTrans ( ) const
inline

Set/Get de la liste des reseaux de transport.

Definition at line 183 of file TYInfrastructure.h.

◆ getMachine()

LPTYMachineGeoNode TYInfrastructure::getMachine ( int  index)
inline

Retourne une machine a partir de son index.

Definition at line 344 of file TYInfrastructure.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getProjet()

TYProjet * TYInfrastructure::getProjet ( )

Retourne le projet utilisant cette infrastructure (utilise pour gerer la suppression de machines dans un calcul);

Definition at line 440 of file TYInfrastructure.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getResTrans()

LPTYReseauTransport TYInfrastructure::getResTrans ( int  index)
inline

Retourne un reseau de transport a partir de son index.

Definition at line 224 of file TYInfrastructure.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getSrc()

LPTYUserSourcePonctuelleGeoNode TYInfrastructure::getSrc ( int  index)
inline

Retourne une source a partir de son index.

Definition at line 404 of file TYInfrastructure.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getSrcs() [1/2]

TYTabUserSourcePonctuelleGeoNode& TYInfrastructure::getSrcs ( )
inline

Set/Get de la liste des sources ponctuelles.

Definition at line 358 of file TYInfrastructure.h.

Here is the caller graph for this function:

◆ getSrcs() [2/2]

const TYTabUserSourcePonctuelleGeoNode& TYInfrastructure::getSrcs ( ) const
inline

Set/Get de la liste des sources ponctuelles.

Definition at line 363 of file TYInfrastructure.h.

◆ getTabElemNOk()

std::vector<LPTYElement> TYInfrastructure::getTabElemNOk ( )
inline

Get du tableau des elements qui n'ont pu etre mis a jour

Definition at line 433 of file TYInfrastructure.h.

Here is the call graph for this function:

◆ operator!=()

bool TYInfrastructure::operator!= ( const TYInfrastructure other) const

Operateur !=.

Definition at line 79 of file TYInfrastructure.cpp.

Here is the call graph for this function:

◆ operator=()

TYInfrastructure & TYInfrastructure::operator= ( const TYInfrastructure other)

Operateur =.

Definition at line 47 of file TYInfrastructure.cpp.

Here is the call graph for this function:

◆ operator==()

bool TYInfrastructure::operator== ( const TYInfrastructure other) const

Operateur ==.

Definition at line 63 of file TYInfrastructure.cpp.

Here is the caller graph for this function:

◆ purge()

void TYInfrastructure::purge ( )

Vide toutes les listes d'elements composants cet objet.

Definition at line 450 of file TYInfrastructure.cpp.

Here is the call graph for this function:

◆ remAllBatiment()

void TYInfrastructure::remAllBatiment ( )

Suppression de tous les elements.

Definition at line 913 of file TYInfrastructure.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ remAllMachine()

void TYInfrastructure::remAllMachine ( )

Suppression de tous les elements.

Definition at line 803 of file TYInfrastructure.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ remAllResTrans()

void TYInfrastructure::remAllResTrans ( )

Suppression de tous les elements.

Definition at line 692 of file TYInfrastructure.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ remAllSrc()

void TYInfrastructure::remAllSrc ( )

Suppression de tous les elements.

Definition at line 1023 of file TYInfrastructure.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ remBatiment() [1/3]

bool TYInfrastructure::remBatiment ( const LPTYBatimentGeoNode  pBatimentGeoNode)

Supprime une entree a la liste des batiments.

Definition at line 854 of file TYInfrastructure.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ remBatiment() [2/3]

bool TYInfrastructure::remBatiment ( const LPTYBatiment  pBatiment)

Supprime une entree a la liste des batiments.

Definition at line 879 of file TYInfrastructure.cpp.

Here is the call graph for this function:

◆ remBatiment() [3/3]

bool TYInfrastructure::remBatiment ( QString  idBatiment)

Supprime une entree a la liste des batiments a partir de son identifiant.

Definition at line 896 of file TYInfrastructure.cpp.

Here is the call graph for this function:

◆ remFromCalcul()

bool TYInfrastructure::remFromCalcul ( )

Supprime les element de l'infrastructure du calcul

Definition at line 1104 of file TYInfrastructure.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ remMachine() [1/3]

bool TYInfrastructure::remMachine ( const LPTYMachine  pMachine)

Supprime une entree a la liste des machines.

Definition at line 768 of file TYInfrastructure.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ remMachine() [2/3]

bool TYInfrastructure::remMachine ( const LPTYMachineGeoNode  pMachineGeoNode)

Supprime une entree a la liste des machines.

Definition at line 744 of file TYInfrastructure.cpp.

Here is the call graph for this function:

◆ remMachine() [3/3]

bool TYInfrastructure::remMachine ( QString  idMachine)

Supprime une entree a la liste des machines a partir de son identifiant.

Definition at line 786 of file TYInfrastructure.cpp.

Here is the call graph for this function:

◆ remResTrans() [1/3]

bool TYInfrastructure::remResTrans ( const LPTYReseauTransportGeoNode  pResTransGeoNode)

Supprime une entree a la liste des reseaux de transport.

Definition at line 633 of file TYInfrastructure.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ remResTrans() [2/3]

bool TYInfrastructure::remResTrans ( const LPTYReseauTransport  pResTrans)

Supprime une entree a la liste des reseaux de transport.

Definition at line 657 of file TYInfrastructure.cpp.

Here is the call graph for this function:

◆ remResTrans() [3/3]

bool TYInfrastructure::remResTrans ( QString  idResTrans)

Supprime une entree a la liste des reseaux de transport a partir de son identifiant.

Definition at line 675 of file TYInfrastructure.cpp.

Here is the call graph for this function:

◆ remSrc() [1/3]

bool TYInfrastructure::remSrc ( const LPTYUserSourcePonctuelle  pSrc)

Supprime une entree a la liste des sources ponctuelles.

Definition at line 988 of file TYInfrastructure.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ remSrc() [2/3]

bool TYInfrastructure::remSrc ( const LPTYUserSourcePonctuelleGeoNode  pSrcGeoNode)

Supprime une entree a la liste des sources ponctuelles.

Definition at line 965 of file TYInfrastructure.cpp.

Here is the call graph for this function:

◆ remSrc() [3/3]

bool TYInfrastructure::remSrc ( QString  idSrc)

Supprime une entree a la liste des sources ponctuelles a partir de son identifiant.

Definition at line 1006 of file TYInfrastructure.cpp.

Here is the call graph for this function:

◆ reparent()

void TYInfrastructure::reparent ( )
virtual

Reattribut le bon parent aux composants de cette infrastructure.

Definition at line 404 of file TYInfrastructure.cpp.

Here is the caller graph for this function:

◆ setListBatiment()

void TYInfrastructure::setListBatiment ( const TYTabBatimentGeoNode list)
inline

Set/Get de la liste des batiments.

Definition at line 248 of file TYInfrastructure.h.

Here is the call graph for this function:

◆ setListMachine()

void TYInfrastructure::setListMachine ( const TYTabMachineGeoNode list)
inline

Set/Get de la liste des machines.

Definition at line 308 of file TYInfrastructure.h.

Here is the call graph for this function:

◆ setListResTrans()

void TYInfrastructure::setListResTrans ( const TYTabReseauTransportGeoNode list)
inline

Set/Get de la liste des reseaux de transport.

Definition at line 188 of file TYInfrastructure.h.

Here is the call graph for this function:

◆ setSrcs()

void TYInfrastructure::setSrcs ( const TYTabUserSourcePonctuelleGeoNode list)
inline

Set/Get de la liste des sources ponctuelles.

Definition at line 368 of file TYInfrastructure.h.

Here is the call graph for this function:

◆ toString()

std::string TYInfrastructure::toString ( ) const
virtual

Retourne une chaine de caractere donnant des informations sur cet objet (utile pour le debugage).

Returns
Une chaine de caractere informative sur cet objet.

Reimplemented from TYElement.

Definition at line 146 of file TYInfrastructure.cpp.

◆ toXML()

DOM_Element TYInfrastructure::toXML ( DOM_Element domElement)
virtual

Construit une arborescence DOM a partir du noeud passe afin de sauvegarder les parametres au format XML.

Parameters
domElementLe noeud DOM parent a partir duquel l'arborescence doit etre creee.
Returns
Le noeud DOM nouvellement cree.

Reimplemented from TYElement.

Definition at line 151 of file TYInfrastructure.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateAcoustic()

bool TYInfrastructure::updateAcoustic ( const TYCalcul pCalcul,
const bool &  force = false 
)

Met a jour l'acoustique des elements d'infrastructure

Definition at line 1174 of file TYInfrastructure.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateCurrentCalcul()

void TYInfrastructure::updateCurrentCalcul ( TYListID listID,
bool  recursif = true 
)
virtual

Verifie si cet element est present dans la liste d'ID passee. S'il est present cela signifie qu'il est actif dans le Calcul courant, c'est cet etat qui est retourne.

Parameters
listIDLa liste d'ID du Calcul courant.
recursifIndique si la mise a jour du Calcul courant doit etre recursive.
Returns
true si cet objet est actif dans le Calcul concerne; false sinon.

Reimplemented from TYElement.

Definition at line 386 of file TYInfrastructure.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ _listBatiment

TYTabBatimentGeoNode TYInfrastructure::_listBatiment
protected

Liste des batiments.

Definition at line 461 of file TYInfrastructure.h.

◆ _listMachine

TYTabMachineGeoNode TYInfrastructure::_listMachine
protected

Liste des machines.

Definition at line 464 of file TYInfrastructure.h.

◆ _listResTrans

TYTabReseauTransportGeoNode TYInfrastructure::_listResTrans
protected

Liste des reseaux de transport.

Definition at line 458 of file TYInfrastructure.h.

◆ _listSrc

TYTabUserSourcePonctuelleGeoNode TYInfrastructure::_listSrc
protected

Liste des sources ponctuelles.

Definition at line 467 of file TYInfrastructure.h.

◆ _tabUpdateNOk

std::vector<LPTYElement> TYInfrastructure::_tabUpdateNOk
protected

Liste des elements dont l'update a echoue.

Definition at line 470 of file TYInfrastructure.h.


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