NX Open C++ Reference Guide
|
Template base class for callbacks with two input arguments. More...
Public Types | |
typedef Arg1 | Arg1Type |
Type of first input argument of callback function. | |
typedef Arg2 | Arg2Type |
Type of second input argument of callback function. | |
typedef Result | ResultType |
Return type of callback function. | |
Public Member Functions | |
virtual Result | operator() (Arg1 a1, Arg2 a2) const =0 |
Pure virtual function defining function call operator interface. | |
![]() | |
virtual BaseCallback * | Clone () const =0 |
Function interface for clone operation. | |
virtual bool | Equals (const BaseCallback &other) const =0 |
Function interface for equality operation. | |
virtual | ~BaseCallback () |
BaseCallback destructor. | |
Template base class for callbacks with two input arguments.
The return type of the callback function is the template type Result.
typedef Arg1 NXOpen::Callback2< Result, Arg1, Arg2 >::Arg1Type |
Type of first input argument of callback function.
typedef Arg2 NXOpen::Callback2< Result, Arg1, Arg2 >::Arg2Type |
Type of second input argument of callback function.
typedef Result NXOpen::Callback2< Result, Arg1, Arg2 >::ResultType |
Return type of callback function.
|
pure virtual |
Pure virtual function defining function call operator interface.
Derived callback classes will implement this function to invoke the callback function (or functions) attached to the callback class instance.
Implemented in NXOpen::Callback2List< Result, Arg1, Arg2 >, NXOpen::Callback2MemberFunction< T, Result, Arg1, Arg2 >, and NXOpen::Callback2Function< Result, Arg1, Arg2 >.