SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
JointControlDelegator< T > Class Template Reference
Inheritance diagram for JointControlDelegator< T >:
JointController

Public Types

typedef bool(T::* func) (TPos3f *, const JointControllerInfo &)
 

Public Member Functions

 JointControlDelegator (T *pHost, func calcFunc, func calcAfterChild)
 
virtual bool calcJointMatrix (TPos3f *a1, const JointControllerInfo &a2)
 
virtual bool calcJointMatrixAfterChild (TPos3f *a1, const JointControllerInfo &a2)
 
- Public Member Functions inherited from JointController
void registerCallBack ()
 
void calcJointMatrixAndSetSystem (J3DJoint *)
 
void calcJointMatrixAfterChildAndSetSystem (J3DJoint *)
 

Public Attributes

T * mHost
 
func mMtxCalcFunc
 
func mMtxCalcAfterChildFunc
 
- Public Attributes inherited from JointController
J3DModel * mModel
 
J3DJoint * mJoint
 

Additional Inherited Members

- Static Public Member Functions inherited from JointController
static void staticCallBack (J3DJoint *, int)
 

Detailed Description

template<typename T>
class JointControlDelegator< T >

Definition at line 32 of file JointController.hpp.

Member Typedef Documentation

◆ func

template<typename T >
typedef bool(T::* JointControlDelegator< T >::func) (TPos3f *, const JointControllerInfo &)

Definition at line 35 of file JointController.hpp.

Constructor & Destructor Documentation

◆ JointControlDelegator()

template<typename T >
JointControlDelegator< T >::JointControlDelegator ( T * pHost,
func calcFunc,
func calcAfterChild )
inline

Definition at line 37 of file JointController.hpp.

◆ ~JointControlDelegator()

template<typename T >
virtual JointControlDelegator< T >::~JointControlDelegator ( )
inlinevirtual

Definition at line 43 of file JointController.hpp.

Member Function Documentation

◆ calcJointMatrix()

template<typename T >
virtual bool JointControlDelegator< T >::calcJointMatrix ( TPos3f * a1,
const JointControllerInfo & a2 )
inlinevirtual

Reimplemented from JointController.

Definition at line 47 of file JointController.hpp.

◆ calcJointMatrixAfterChild()

template<typename T >
virtual bool JointControlDelegator< T >::calcJointMatrixAfterChild ( TPos3f * a1,
const JointControllerInfo & a2 )
inlinevirtual

Reimplemented from JointController.

Definition at line 55 of file JointController.hpp.

Member Data Documentation

◆ mHost

template<typename T >
T* JointControlDelegator< T >::mHost

Definition at line 63 of file JointController.hpp.

◆ mMtxCalcFunc

template<typename T >
func JointControlDelegator< T >::mMtxCalcFunc

Definition at line 64 of file JointController.hpp.

◆ mMtxCalcAfterChildFunc

template<typename T >
func JointControlDelegator< T >::mMtxCalcAfterChildFunc

Definition at line 65 of file JointController.hpp.