Class that stores a pointer to a method of an object. It holds a pointer to a method suitable for handling io operations replies. More...
#include <StreamOperationHandlerMethod.hpp>
Public Member Functions | |
virtual void | callHandler (size_t bytesRead, size_t requestedBytes, const char *data, bool success) |
IO Handlers call (read and write). | |
StreamOperationHandlerMethod (o *object, STREAM_OPERATION_HANDLER_METHOD method) | |
Constructor. | |
virtual | ~StreamOperationHandlerMethod () |
Destructor. |
Class that stores a pointer to a method of an object. It holds a pointer to a method suitable for handling io operations replies.
Definition at line 59 of file StreamOperationHandlerMethod.hpp.
mermaid::support::io::StreamOperationHandlerMethod< o >::StreamOperationHandlerMethod | ( | o * | object, | |
STREAM_OPERATION_HANDLER_METHOD | method | |||
) | [inline] |
Constructor.
object | Object instance on which the method shall be called | |
method | Method of the object's class |
Definition at line 69 of file StreamOperationHandlerMethod.hpp.
virtual mermaid::support::io::StreamOperationHandlerMethod< o >::~StreamOperationHandlerMethod | ( | ) | [inline, virtual] |
Destructor.
Definition at line 88 of file StreamOperationHandlerMethod.hpp.
virtual void mermaid::support::io::StreamOperationHandlerMethod< o >::callHandler | ( | size_t | bytesRead, | |
size_t | requestedBytes, | |||
const char * | data, | |||
bool | success | |||
) | [inline, virtual] |
IO Handlers call (read and write).
bytesRead | The number of bytes read/written | |
requestedBytes | The number of bytes requested to be read/written | |
data | The data read/written | |
success | TRUE if operation was successful, FALSE otherwise |
Implements mermaid::support::io::StreamOperationHandlerMethodBase.
Definition at line 81 of file StreamOperationHandlerMethod.hpp.