![]() |
VR-Forces Developer's Guide
|
DtVrfMemberLineOfSightFuncto provides an implementation of the DtVrfLineOfSightFunctor which wraps a single member function call.

Public Types | |
| typedef bool(T::* | CheckLineOfSightFunction )(const DtVrfLineOfSightCheckParams ¶ms) const |
Public Member Functions | |
| DtVrfMemberLineOfSightFunctor (T *object, CheckLineOfSightFunction function) | |
| virtual | ~DtVrfMemberLineOfSightFunctor () override |
| virtual bool | operator() (const DtVrfLineOfSightCheckParams ¶ms) override |
Public Member Functions inherited from DtVrfLineOfSightFunctor | |
| virtual | ~DtVrfLineOfSightFunctor () |
Protected Attributes | |
| T * | myObject |
| CheckLineOfSightFunction | myFunction |
| 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. |
|
overridevirtual |
The Destructor.
|
overridevirtual |
Function call operator which calls this stored object's stored member function.
Implements DtVrfLineOfSightFunctor.
|
protected |
Pointer to my object.
|
protected |
My function to call.