Code_TYMPAN
4.2.0
Industrial site acoustic simulation
|
#include <SelectorManager.h>
Public Member Functions | |
SelectorManager () | |
Constructor. More... | |
SelectorManager (const SelectorManager< T > &manager) | |
Copy constructor. More... | |
virtual | ~SelectorManager () |
Destructor. More... | |
void | setDeletable (bool _isDeletable) |
Set deletable flag. More... | |
bool | isDeletable () |
Return true if this may be deleted. More... | |
void | addSelector (Selector< T > *selector) |
Add a Selector to the list. More... | |
std::vector< Selector< T > * > & | getSelectors () const |
Return the Selector's list. More... | |
void | reset () |
Reset all the Selector and clear the local data. More... | |
bool | appendData (T *data) |
Append data (typically a ray) and loop on Selectors to filter. More... | |
std::map< unsigned long long, T * > & | getSelectedData () |
Get the selected data. More... | |
Protected Attributes | |
bool | deletable |
Flag to know if a data may be deleted if rejected (by default, yes) More... | |
std::vector< Selector< T > * > | selectors |
Pointers list of Selector. More... | |
std::map< unsigned long long, T * > | selectedData |
Contains accepted data (rays) More... | |
std::map< unsigned long long, T * > | rejectedData |
Contains rejected data (rays) if deletable set to false. More... | |
Selector manager.
Definition at line 28 of file SelectorManager.h.
|
inline |
Constructor.
Definition at line 33 of file SelectorManager.h.
|
inline |
Copy constructor.
Definition at line 35 of file SelectorManager.h.
|
inlinevirtual |
Destructor.
Definition at line 45 of file SelectorManager.h.
|
inline |
Add a Selector to the list.
Definition at line 52 of file SelectorManager.h.
|
inline |
Append data (typically a ray) and loop on Selectors to filter.
Definition at line 82 of file SelectorManager.h.
|
inline |
Get the selected data.
Definition at line 146 of file SelectorManager.h.
|
inline |
Return the Selector's list.
Definition at line 54 of file SelectorManager.h.
|
inline |
Return true if this may be deleted.
Definition at line 50 of file SelectorManager.h.
|
inline |
Reset all the Selector and clear the local data.
Definition at line 56 of file SelectorManager.h.
|
inline |
Set deletable flag.
Definition at line 48 of file SelectorManager.h.
|
protected |
Flag to know if a data may be deleted if rejected (by default, yes)
Definition at line 149 of file SelectorManager.h.
|
protected |
Contains rejected data (rays) if deletable set to false.
Definition at line 153 of file SelectorManager.h.
|
protected |
Contains accepted data (rays)
Definition at line 152 of file SelectorManager.h.
|
protected |
Pointers list of Selector.
Definition at line 150 of file SelectorManager.h.