NX Open C++ Reference Guide
|
Template class for callbacks with seven input arguments that are member functions of a class. More...
Public Types | |
typedef Result(T::* | FunctionType )(Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7) |
Function signature for callback function attached to this template callback class. | |
typedef Callback7MemberFunction< T, Result, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7 > | MyClass |
Template typedef of class signature. | |
![]() | |
typedef Arg1 | Arg1Type |
Type of first input argument of callback function. | |
typedef Arg2 | Arg2Type |
Type of second input argument of callback function. | |
typedef Arg3 | Arg3Type |
Type of third input argument of callback function. | |
typedef Arg4 | Arg4Type |
Type of fourth input argument of callback function. | |
typedef Arg5 | Arg5Type |
Type of fifth input argument of callback function. | |
typedef Arg6 | Arg6Type |
Type of sixth input argument of callback function. | |
typedef Arg7 | Arg7Type |
Type of seventh input argument of callback function. | |
typedef Result | ResultType |
Return type of callback function. | |
Public Member Functions | |
Callback7MemberFunction (T *object, FunctionType fn) | |
Constructor. | |
virtual BaseCallback * | Clone () const |
Function interface for clone operation. | |
virtual bool | Equals (const BaseCallback &other) const |
Function interface for equality operation. | |
virtual Result | operator() (Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4, Arg5 a5, Arg6 a6, Arg7 a7) const |
Function call operator function to invoke callback member function attached to this Callback7MemberFunction instance. | |
Template class for callbacks with seven input arguments that are member functions of a class.
Template type T is the class that the callback function is a member function of. The return type of the callback function is the template type Result.
typedef Result(T::* NXOpen::Callback7MemberFunction< T, Result, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7 >::FunctionType)(Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7) |
Function signature for callback function attached to this template callback class.
typedef Callback7MemberFunction<T, Result, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7> NXOpen::Callback7MemberFunction< T, Result, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7 >::MyClass |
Template typedef of class signature.
Used to simplify implementation of callback framework methods.
NXOpen::Callback7MemberFunction< T, Result, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7 >::Callback7MemberFunction | ( | T * | object, |
FunctionType | fn | ||
) |
Constructor.
|
virtual |
Function interface for clone operation.
Derived classes will define this function to implement a deep copy operation.
Implements NXOpen::BaseCallback.
|
virtual |
Function interface for equality operation.
Implements NXOpen::BaseCallback.
|
virtual |
Function call operator function to invoke callback member function attached to this Callback7MemberFunction instance.
Implements NXOpen::Callback7< Result, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7 >.