|
NX Open C++ Reference Guide
|
Template class for callbacks with no input arguments. More...
Public Types | |
| typedef Result(* | FunctionType )() |
| Function signature for callback function attached to this template callback class. | |
| typedef Callback0Function< Result > | MyClass |
| Template typedef of class signature. | |
Public Types inherited from NXOpen::Callback0< Result > | |
| typedef Result | ResultType |
| Return type of callback function. | |
Public Member Functions | |
| Callback0Function (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() () const |
| Function call operator function to invoke callback function attached to this Callback0Function instance. | |
Public Member Functions inherited from NXOpen::Callback0< Result > | |
| virtual | ~Callback0 () |
| Callback0 destructor. | |
Public Member Functions inherited from NXOpen::BaseCallback | |
| virtual | ~BaseCallback () |
| BaseCallback destructor. | |
Template class for callbacks with no input arguments.
The return type of the callback function is the template type Result.
| typedef Result(* NXOpen::Callback0Function< Result >::FunctionType)() |
Function signature for callback function attached to this template callback class.
| typedef Callback0Function<Result> NXOpen::Callback0Function< Result >::MyClass |
Template typedef of class signature.
Used to simplify implementation of callback framework methods.
| NXOpen::Callback0Function< Result >::Callback0Function | ( | 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 Callback0Function instance.
Implements NXOpen::Callback0< Result >.