![]() |
Max OS 0.3
|
Manages the connection of a stream to handlers. More...
#include <inputStream.h>
Public Member Functions | |
| GenericInputStream () | |
| Creates a new GenericInputStream. | |
| GenericInputStream (InputStreamEventHandler< Type > *) | |
| Creates a new GenericInputStream and connects it to the handler. | |
| ~GenericInputStream () | |
| Destroys the GenericInputStream and disconnects all handlers. | |
| void | connect_input_stream_event_handler (InputStreamEventHandler< Type > *) |
| Adds a inputStreamEventHandler to the list of internetProtocolHandlers. | |
| void | disconnect_input_stream_event_handler (InputStreamEventHandler< Type > *) |
| Removes a handler from the list of handlers. | |
Protected Attributes | |
| common::Vector< InputStreamEventHandler< Type > * > | m_input_stream_event_handlers |
| List of streams being observed by this handler. | |
Manages the connection of a stream to handlers.
| Type | The type of data the stream is handling |
Definition at line 102 of file inputStream.h.
|
default |
Creates a new GenericInputStream.
| Type | The type of data the stream is handling |
|
explicit |
Creates a new GenericInputStream and connects it to the handler.
| Type | The type of data the stream is handling |
| input_stream_event_handler | The handler to handle the data |
Definition at line 376 of file inputStream.h.
Destroys the GenericInputStream and disconnects all handlers.
| Type | The type of data the stream is handling |
Definition at line 387 of file inputStream.h.
| void MaxOS::common::GenericInputStream< Type >::connect_input_stream_event_handler | ( | InputStreamEventHandler< Type > * | input_stream_event_handler | ) |
Adds a inputStreamEventHandler to the list of internetProtocolHandlers.
| Type | The type of data the stream is handling |
| input_stream_event_handler | The inputStreamEventHandler to add |
Definition at line 399 of file inputStream.h.
| void MaxOS::common::GenericInputStream< Type >::disconnect_input_stream_event_handler | ( | InputStreamEventHandler< Type > * | input_stream_event_handler | ) |
Removes a handler from the list of handlers.
| Type | The type of data the stream is handling |
| input_stream_event_handler | The handler to remove |
Definition at line 416 of file inputStream.h.
References MaxOS::common::InputStreamEventHandler< Type >::on_end_of_stream().
|
protected |
List of streams being observed by this handler.
Definition at line 105 of file inputStream.h.