TTEthernet Model for INET Framework
|
Class representing a Callback especially for API callbacks. More...
#include <Callback.h>
Public Member Functions | |
APICallback (Buffer *buffer) | |
Constructor. More... | |
virtual void | executeCallback () |
execution of the callback. More... | |
![]() | |
Callback (Buffer *buffer) | |
Constructor. More... | |
virtual void | setFunctionPointer (void(*functionPointer)(void *)) |
Setter for the function pointer. More... | |
virtual cbFunc | getFunctionPointer () |
Getter for the function pointer. More... | |
virtual void | setFunctionArg (void *setFunctionArg) |
Setter for the function args. More... | |
virtual void * | getFunctionArg () |
Getter for the function args. More... | |
Additional Inherited Members | |
![]() | |
void(* | fn )(void *) |
Function pointer of the callback. More... | |
void * | arg |
Pointer to the function args. More... | |
bool | argSet |
Boolean indicating whether args were set. More... | |
Buffer * | buffer |
Pointer to the Buffer that issues the Callback. More... | |
Class representing a Callback especially for API callbacks.
Definition at line 114 of file Callback.h.
|
inline |
|
virtual |
execution of the callback.
If method is called the stored function pointer is invoked.
Reimplemented from TTEthernetModel::Callback.
Definition at line 17 of file Callback.cc.