![]() |
VR-Forces 4.0.4 Class Documentation
|
DtVrfMemberLineOfSightFuncto provides an implementation of the DtVrfLineOfSightFunctor which wraps a single member function call. More...

Public Types | |
| typedef bool(T::* | CheckLineOfSightFunction )(const DtVrfLineOfSightCheckParams ¶ms) const |
| The CheckLineOfSight Function signature. | |
Public Member Functions | |
| DtVrfMemberLineOfSightFunctor (T *object, CheckLineOfSightFunction function) | |
| The Constructor. | |
| virtual | ~DtVrfMemberLineOfSightFunctor () |
| The Destructor. | |
| virtual bool | operator() (const DtVrfLineOfSightCheckParams ¶ms) |
| Function call operator which calls this stored object's stored member function. | |
Protected Attributes | |
| T * | myObject |
| Pointer to my object. | |
| CheckLineOfSightFunction | myFunction |
| My function to call. | |
DtVrfMemberLineOfSightFuncto provides an implementation of the DtVrfLineOfSightFunctor which wraps a single member function call.
| typedef bool(T::* DtVrfMemberLineOfSightFunctor< T >::CheckLineOfSightFunction)(const DtVrfLineOfSightCheckParams ¶ms) const |
The CheckLineOfSight Function signature.
| DtVrfMemberLineOfSightFunctor< T >::DtVrfMemberLineOfSightFunctor | ( | T * | object, |
| CheckLineOfSightFunction | function | ||
| ) |
The Constructor.
Creates a functor which will call the member function using the object passed in.
| Input | |
| object | The object who will call its member function. |
| function | The member function of object to call. |
| virtual DtVrfMemberLineOfSightFunctor< T >::~DtVrfMemberLineOfSightFunctor | ( | ) | [virtual] |
The Destructor.
| virtual bool DtVrfMemberLineOfSightFunctor< T >::operator() | ( | const DtVrfLineOfSightCheckParams & | params | ) | [virtual] |
Function call operator which calls this stored object's stored member function.
Implements DtVrfLineOfSightFunctor.
T* DtVrfMemberLineOfSightFunctor< T >::myObject [protected] |
Pointer to my object.
CheckLineOfSightFunction DtVrfMemberLineOfSightFunctor< T >::myFunction [protected] |
My function to call.