NX Open C++ Reference Guide
|
Template class for callbacks with three input arguments. More...
Public Types | |
typedef Result(* | FunctionType )(Arg1, Arg2, Arg3) |
Function signature for callback function attached to this template callback class. More... | |
typedef Callback3Function < Result, Arg1, Arg2, Arg3 > | MyClass |
Template typedef of class signature. More... | |
Public Types inherited from NXOpen::Callback3< Result, Arg1, Arg2, Arg3 > | |
typedef Arg1 | Arg1Type |
Type of first input argument of callback function. More... | |
typedef Arg2 | Arg2Type |
Type of second input argument of callback function. More... | |
typedef Arg3 | Arg3Type |
Type of third input argument of callback function. More... | |
typedef Result | ResultType |
Return type of callback function. More... | |
Public Member Functions | |
Callback3Function (FunctionType fn) | |
Constructor. More... | |
virtual BaseCallback * | Clone () const |
Function interface for clone operation. More... | |
virtual bool | Equals (const BaseCallback &other) const |
Function interface for equality operation. More... | |
virtual Result | operator() (Arg1 a1, Arg2 a2, Arg3 a3) const |
Function call operator function to invoke callback function attached to this Callback3Function instance. More... | |
Template class for callbacks with three input arguments.
The return type of the callback function is the template type Result.
typedef Result(* NXOpen::Callback3Function< Result, Arg1, Arg2, Arg3 >::FunctionType)(Arg1, Arg2, Arg3) |
Function signature for callback function attached to this template callback class.
typedef Callback3Function<Result, Arg1, Arg2, Arg3> NXOpen::Callback3Function< Result, Arg1, Arg2, Arg3 >::MyClass |
Template typedef of class signature.
Used to simplify implementation of callback framework methods.
NXOpen::Callback3Function< Result, Arg1, Arg2, Arg3 >::Callback3Function | ( | 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 function attached to this Callback3Function instance.
Implements NXOpen::Callback3< Result, Arg1, Arg2, Arg3 >.