VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
makVrv::DtPartCollectionInterceptor Class Reference

An interceptor which allows for calls to parts in a collection to be intercepted.

Inheritance diagram for makVrv::DtPartCollectionInterceptor:
Inheritance graph
[legend]

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
 

Constructor & Destructor Documentation

makVrv::DtPartCollectionInterceptor::DtPartCollectionInterceptor ( DtArticulatedPartListener &  listener,
DtClock *  clock = nullptr 
)

CTOR.

virtual makVrv::DtPartCollectionInterceptor::~DtPartCollectionInterceptor ( )
virtual

DTOR.

Member Function Documentation

virtual DtArticulatedPart* makVrv::DtPartCollectionInterceptor::createPart ( DtArticulatedPart *  copy = nullptr) const
overridevirtual

Function used to create a part instance. This is a separate function to allow subclasses to create the part instances.

Parameters
Input
copyis an optional parameter which should be used with a copy constructor when copy is valid.
virtual void makVrv::DtPartCollectionInterceptor::removePart ( unsigned int  partType)
overridevirtual

Member Data Documentation

DtArticulatedPartListener& makVrv::DtPartCollectionInterceptor::myListener
protected

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

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)