ARTS
2.3.1285(git:92a29ea9-dirty)
|
External callbacks. More...
#include <interactive_workspace.h>
Public Member Functions | |
Callback (void(*f)(InteractiveWorkspace *)) | |
Create callback. More... | |
Callback (const Callback &)=default | |
Callback (Callback &&)=default | |
Callback & | operator= (const Callback &)=default |
Callback & | operator= (Callback &&)=default |
~Callback ()=default | |
virtual void | execute (InteractiveWorkspace &ws) |
Execute callback. More... | |
Private Attributes | |
void(* | callback_ )(InteractiveWorkspace *) |
External callbacks.
The Callback class holds references to external callback functions, that should be executed within an ARTS agenda. It is essentially a container that holds a function pointer and provides an execute method to execute the callback stored in the container.
Callbacks are assumed to be provided in the form of function pointers that take as single argument the pointer to the interactive workspace within which the callback is executed.
Definition at line 50 of file interactive_workspace.h.
|
inline |
Create callback.
[in] | f | Function pointer to the function implementing the callback. |
Definition at line 57 of file interactive_workspace.h.
References operator=(), and ~Callback().
|
default |
|
default |
|
default |
Referenced by Callback().
|
inlinevirtual |
Referenced by Callback().
|
private |
Definition at line 76 of file interactive_workspace.h.