Code_TYMPAN  4.2.0
Industrial site acoustic simulation
Public Member Functions | Protected Attributes | List of all members
Selector< T > Class Template Reference

Base class for Selector (used to keep or disable rays according different criterias) More...

#include <Selector.h>

Inheritance diagram for Selector< T >:
Inheritance graph
[legend]

Public Member Functions

 Selector ()
 Base constructor. More...
 
virtual ~Selector ()
 Destructor. More...
 
virtual void reset ()
 Reset (clear the data) of this Selector. More...
 
virtual SelectorCopy ()
 Copy Selector. More...
 
bool isDeletable ()
 Return true if the Selector may be deleted. More...
 
void setIsDeletable (bool _isDeletable)
 Set deletable flag. More...
 
virtual SELECTOR_RESPOND canBeInserted (T *r, unsigned long long &replace)
 Check if the ray respects the criteria of this Selector and return a SELECTOR_RESPOND. More...
 
virtual void insert (T *r)
 Select the ray. More...
 
virtual bool insertWithTest (T *r)
 Select the ray if it respects the criteria of this Selector. More...
 
virtual const char * getSelectorName ()
 

Protected Attributes

bool deletable
 Flag to know if the selector may be deleted or not. More...
 

Detailed Description

template<typename T>
class Selector< T >

Base class for Selector (used to keep or disable rays according different criterias)

Definition at line 77 of file Selector.h.

Constructor & Destructor Documentation

◆ Selector()

template<typename T>
Selector< T >::Selector ( )
inline

Base constructor.

Definition at line 82 of file Selector.h.

◆ ~Selector()

template<typename T>
virtual Selector< T >::~Selector ( )
inlinevirtual

Destructor.

Definition at line 84 of file Selector.h.

Member Function Documentation

◆ canBeInserted()

template<typename T>
virtual SELECTOR_RESPOND Selector< T >::canBeInserted ( T *  r,
unsigned long long &  replace 
)
inlinevirtual

◆ Copy()

template<typename T>
virtual Selector* Selector< T >::Copy ( )
inlinevirtual

◆ getSelectorName()

template<typename T>
virtual const char* Selector< T >::getSelectorName ( )
inlinevirtual

◆ insert()

template<typename T>
virtual void Selector< T >::insert ( T *  r)
inlinevirtual

◆ insertWithTest()

template<typename T>
virtual bool Selector< T >::insertWithTest ( T *  r)
inlinevirtual

◆ isDeletable()

template<typename T>
bool Selector< T >::isDeletable ( )
inline

Return true if the Selector may be deleted.

Definition at line 90 of file Selector.h.

◆ reset()

template<typename T>
virtual void Selector< T >::reset ( )
inlinevirtual

Reset (clear the data) of this Selector.

Reimplemented in FaceSelector< T >, and CoPlanaritySelector< T >.

Definition at line 86 of file Selector.h.

◆ setIsDeletable()

template<typename T>
void Selector< T >::setIsDeletable ( bool  _isDeletable)
inline

Set deletable flag.

Definition at line 92 of file Selector.h.

Here is the caller graph for this function:

Member Data Documentation

◆ deletable

template<typename T>
bool Selector< T >::deletable
protected

Flag to know if the selector may be deleted or not.

Definition at line 103 of file Selector.h.


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