|
OpenNet
|
The Kernel_Forward class. More...
#include <Function_Forward.h>
Public Member Functions | |
| OPEN_NET_PUBLIC | Function_Forward () |
| Constructor. | |
| OPEN_NET_PUBLIC Status | AddDestination (Adapter *aAdapter) |
| Add a destination adapter. More... | |
| OPEN_NET_PUBLIC Status | RemoveDestination (Adapter *aAdapter) |
| Remove a destination adapter. More... | |
| OPEN_NET_PUBLIC Status | ResetDestinations () |
| Remove all destination Adapter. More... | |
| virtual Status | SetFunctionName (const char *aFunctionName) |
| Set the function name. More... | |
| virtual Status | Display (FILE *aOut) const |
| Display. More... | |
Public Member Functions inherited from OpenNet::Function | |
| OPEN_NET_PUBLIC | Function () |
| Constructor. | |
| OPEN_NET_PUBLIC const char * | GetFunctionName () const |
| Retrieve the function name. More... | |
Public Member Functions inherited from OpenNet::SourceCode | |
| OPEN_NET_PUBLIC | SourceCode () |
| Constructor. | |
| virtual OPEN_NET_PUBLIC | ~SourceCode () |
| Destructor. | |
| OPEN_NET_PUBLIC Status | AppendCode (const char *aFileName) |
| Append code using a source file. More... | |
| virtual OPEN_NET_PUBLIC Status | AppendCode (const char *aCode, unsigned int aCodeSize_byte) |
| Appen code. More... | |
| OPEN_NET_PUBLIC Status | AppendCode (const SourceCode &aCode) |
| Appen code. More... | |
| OPEN_NET_PUBLIC unsigned int | GetCodeSize () const |
| Get code size. More... | |
| OPEN_NET_PUBLIC const char * | GetName () const |
| Retrieve the instance name. More... | |
| virtual OPEN_NET_PUBLIC Status | ResetCode () |
| Reset the code. More... | |
| virtual OPEN_NET_PUBLIC Status | SetArgumentCount (unsigned int aArgCount) |
| Set the number of argument for the function or kernel. More... | |
| virtual OPEN_NET_PUBLIC Status | SetCode (const char *aFileName) |
| Set the code using a source file. More... | |
| virtual OPEN_NET_PUBLIC Status | SetCode (const char *aCode, unsigned int aCodeSize_byte) |
| Set the code. More... | |
| OPEN_NET_PUBLIC Status | SetName (const char *aName) |
| Set the instance's name. More... | |
| virtual OPEN_NET_PUBLIC unsigned int | Edit_Remove (const char *aSearch) |
| Remove strings from code. More... | |
| virtual OPEN_NET_PUBLIC unsigned int | Edit_Replace (const char *aSearch, const char *aReplace) |
| Replace strings in code. More... | |
| OPEN_NET_PUBLIC unsigned int | Edit_Search (const char *aSearch) |
| Search string in code. More... | |
The Kernel_Forward class.
| OPEN_NET_PUBLIC Status OpenNet::Function_Forward::AddDestination | ( | Adapter * | aAdapter | ) |
Add a destination adapter.
| aAdapter | The Adapter |
| STATUS_OK | |
| STATUS_DESTINATION_ALREADY_SET | |
| STATUS_NOT_ALLOWED_NULL_ARGUMENT |
|
virtual |
Display.
| aOut | The output stream |
| STATUS_OK | |
| STATUS_NOT_ALLOWER_NULL_ARGUMENT |
Reimplemented from OpenNet::Function.
| OPEN_NET_PUBLIC Status OpenNet::Function_Forward::RemoveDestination | ( | Adapter * | aAdapter | ) |
Remove a destination adapter.
| aAdapter | The Adapter |
| STATUS_OK | |
| STATUS_DESTINATION_NOT_SET | |
| STATUS_NO_DESTINATION_SET | |
| STATUS_NOT_ALLOWED_NULL_ARGUMENT |
| OPEN_NET_PUBLIC Status OpenNet::Function_Forward::ResetDestinations | ( | ) |
Remove all destination Adapter.
| STATUS_OK | |
| STATUS_NO_DESTINATION_NOT |
|
virtual |
Set the function name.
| aFunctionName | The function name |
| STATUS_OK | |
| STATUS_NOT_ALLOWED_NULL_ARGUMENT |
Reimplemented from OpenNet::Function.
1.8.9.1