|
Code_TYMPAN
4.4.0
Industrial site acoustic simulation
|
Task of a thread collection for Tympan. More...
#include <TYTask.h>


Public Member Functions | |
| TYTask (const tympan::nodes_pool_t &nodes, const tympan::triangle_pool_t &triangles, const tympan::material_pool_t &materials, int nNbTrajets) | |
| Constructor. More... | |
| ~TYTask () | |
| Destructor. More... | |
| void | main () |
| Main procedure to run the task. More... | |
Public Member Functions inherited from OTask | |
| OTask () | |
| Default constructor. More... | |
| virtual | ~OTask () |
| Destructor : waits for the end of the task to destroy it. More... | |
| bool | isRunning () const |
| Return true if the task is running, false otherwise. More... | |
| bool | isCompleted () const |
| Return true if the task is completed, false otherwise. More... | |
| bool | isCanceled () const |
| Return true if the task has been cancelled, false otherwise. More... | |
| void | reset () |
| Reset the task status (_running=false and _completed=false) More... | |
Public Member Functions inherited from IRefCount | |
| IRefCount () | |
| virtual | ~IRefCount () |
| virtual int | incRef () |
| virtual int | decRef () |
| int | getRefCount () const |
Protected Attributes | |
| std::deque< TYSIntersection > | _tabIntersect |
| Array of intersections. More... | |
Protected Attributes inherited from OTask | |
| bool | _running |
| Running flag. More... | |
| bool | _completed |
| Completed flag. More... | |
| bool | _canceled |
| Cancel flag. More... | |
Protected Attributes inherited from IRefCount | |
| int | m_refCount |
| The reference counter. More... | |
Private Member Functions | |
| virtual void | getRayonFromTrajet (OSegment3D &rayon)=0 |
| Build a ray from the source->receptor Trajet. More... | |
| virtual void | selectFaces (OSegment3D &rayon)=0 |
| Delegate to solver the build of the intersecting faces between the scene and the ray. More... | |
| virtual void | computePath (TabPoint3D &ptsTop, TabPoint3D &ptsLeft, TabPoint3D &ptsRight)=0 |
| Delegate to solver the computation of the intersecting top, left and right points between the scene and the ray. More... | |
| virtual void | launchAcousticComputation (TabPoint3D &ptsTop, TabPoint3D &ptsLeft, TabPoint3D &ptsRight)=0 |
| Delegate to solver the acoustic computation for this task. More... | |
Private Attributes | |
| unsigned int | _nNbTrajets |
| Path number. More... | |
| const tympan::nodes_pool_t & | _nodes |
| const tympan::triangle_pool_t & | _triangles |
| const tympan::material_pool_t & | _materials |
| TYTask::TYTask | ( | const tympan::nodes_pool_t & | nodes, |
| const tympan::triangle_pool_t & | triangles, | ||
| const tympan::material_pool_t & | materials, | ||
| int | nNbTrajets | ||
| ) |
Constructor.
| nodes | Nodes |
| triangles | Triangles |
| materials | Materials |
| nNbTrajets | Path number |
Definition at line 20 of file TYTask.cpp.
| TYTask::~TYTask | ( | ) |
Destructor.
Definition at line 26 of file TYTask.cpp.
|
privatepure virtual |
Delegate to solver the computation of the intersecting top, left and right points between the scene and the ray.
| [out] | ptsTop | Array of points composing the intersection between plane EV and the scene false) |
| [out] | ptsLeft | Array of points composing the intersection betwwen plane EL, on the left, and the scene |
| [out] | ptsRight | Array of points composing the intersection betwwen plane EL, on the right, and the scene |
Implemented in TYTaskDefaultSolver, and TYTask9613Solver.

|
privatepure virtual |
Build a ray from the source->receptor Trajet.
| [out] | rayon | The ray built |
Implemented in TYTaskDefaultSolver, and TYTask9613Solver.

|
privatepure virtual |
Delegate to solver the acoustic computation for this task.
| ptsTop | [in] Top points |
| ptsLeft | [in] Left points |
| ptsRight | [in] Right points |
Implemented in TYTaskDefaultSolver, and TYTask9613Solver.

|
virtual |
Main procedure to run the task.
Implements OTask.
Definition at line 28 of file TYTask.cpp.

|
privatepure virtual |
Delegate to solver the build of the intersecting faces between the scene and the ray.
| rayon | The considered ray |
Implemented in TYTaskDefaultSolver, and TYTask9613Solver.

|
private |
|
private |
|
protected |
|
private |