Torque 3D 3.8
ContentsIndexHome
PreviousUpNext
ClosurePtr::bindstaticfunc Method
Syntax
C++
template < class DerivedClass, class ParentInvokerSig> inline void bindstaticfunc(DerivedClass * pParent, ParentInvokerSig static_function_invoker, StaticFuncPtr function_to_bind);

For static functions, the 'static_function_invoker' class in the parent will be called. The parent then needs to call GetStaticFunction() to find out the actual function to invoke.

******* EVIL, EVIL CODE! ******
Copyright (c) 2015. All rights reserved.
What do you think about this topic? Send feedback!