Nebula
Loading...
Searching...
No Matches
messagereader.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
13#include "io/binaryreader.h"
14
15//------------------------------------------------------------------------------
16namespace Messaging
17{
18class Message;
19
33
34} // namespace Messaging
35//------------------------------------------------------------------------------
Stream reader classes provide a specialized read-interface for a stream.
Definition streamreader.h:24
Messages are packets of data which can be sent to a message port.
Definition message.h:45
Implements a binary stream protocol for decoding messages from a stream.
Definition messagereader.h:21
virtual void SetStream(const Ptr< IO::Stream > &s)
set stream to read from
Definition messagereader.cc:31
Ptr< IO::BinaryReader > binaryReader
Definition messagereader.h:31
MessageReader()
constructor
Definition messagereader.cc:22
Message * ReadMessage()
decode a new message from the stream
Definition messagereader.cc:46
__DeclareClass(MessageReader)
Nebula's smart pointer class which manages the life time of RefCounted objects.
Definition ptr.h:38
Definition asyncport.cc:10