![]() |
VR-Forces 4.0.4 Class Documentation
|
An interceptor which allows for calls to parts in a collection to be intercepted. More...

Public Member Functions | |
| DtPartCollectionInterceptor (DtArticulatedPartListener &listener, DtClock *clock=0) | |
| CTOR. | |
| virtual | ~DtPartCollectionInterceptor () |
| DTOR. | |
| virtual DtArticulatedPart * | createPart (DtArticulatedPart *copy=0) const |
| Function used to create a part instance. | |
Protected Attributes | |
| DtArticulatedPartListener & | myListener |
An interceptor which allows for calls to parts in a collection to be intercepted.
| makVrv::DtPartCollectionInterceptor::DtPartCollectionInterceptor | ( | DtArticulatedPartListener & | listener, |
| DtClock * | clock = 0 |
||
| ) |
CTOR.
| virtual makVrv::DtPartCollectionInterceptor::~DtPartCollectionInterceptor | ( | ) | [virtual] |
DTOR.
| virtual DtArticulatedPart* makVrv::DtPartCollectionInterceptor::createPart | ( | DtArticulatedPart * | copy = 0 | ) | const [virtual] |
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. |