![]() |
VR-Forces Developer's Guide
|
An interceptor which allows for calls to parts in a collection to be intercepted.

Public Member Functions | |
| DtPartCollectionInterceptor (DtArticulatedPartListener &listener, DtClock *clock=nullptr) | |
| virtual | ~DtPartCollectionInterceptor () |
| virtual DtArticulatedPart * | createPart (DtArticulatedPart *copy=nullptr) const override |
| virtual void | removePart (unsigned int partType) override |
Protected Attributes | |
| DtArticulatedPartListener & | myListener |
| makVrv::DtPartCollectionInterceptor::DtPartCollectionInterceptor | ( | DtArticulatedPartListener & | listener, |
| DtClock * | clock = nullptr |
||
| ) |
CTOR.
|
virtual |
DTOR.
|
overridevirtual |
Function used to create a part instance. This is a separate function to allow subclasses to create the part instances.
| Input | |
| copy | is an optional parameter which should be used with a copy constructor when copy is valid. |
|
overridevirtual |
|
protected |