Instrument Neutral Distributed Interface INDI 2.2.5
SerializedMsgWithSharedBuffer Class Reference

#include <SerializedMsgWithSharedBuffer.hpp>

Inheritance diagram for SerializedMsgWithSharedBuffer:
SerializedMsg

Public Member Functions

 SerializedMsgWithSharedBuffer (Msg *parent)
virtual ~SerializedMsgWithSharedBuffer ()
virtual bool generateContentAsync () const
virtual void generateContent ()
Public Member Functions inherited from SerializedMsg
 SerializedMsg (Msg *parent)
virtual ~SerializedMsg ()
bool requestContent (const MsgChunckIterator &position)
bool getContent (MsgChunckIterator &position, void *&data, ssize_t &nsend, std::vector< int > &sharedBuffers)
void advance (MsgChunckIterator &position, ssize_t s)
void release (MsgQueue *from)
void addAwaiter (MsgQueue *awaiter)
ssize_t queueSize ()

Protected Member Functions

bool detectInlineBlobs ()
Protected Member Functions inherited from SerializedMsg
bool async_canceled ()
void async_updateRequirement (const SerializationRequirement &n)
void async_pushChunck (const MsgChunck &m)
void async_done ()
bool isAsyncRunning ()
void onDataReady ()
void collectRequirements (SerializationRequirement &req)
void abort ()
void blockReceiver (MsgQueue *toblock)

Additional Inherited Members

Protected Attributes inherited from SerializedMsg
SerializationStatus asyncStatus
Msg * owner
MsgQueue * blockedProducer
std::set< MsgQueue * > awaiters
std::list< void * > ownBuffers

Detailed Description

Definition at line 23 of file SerializedMsgWithSharedBuffer.hpp.

Constructor & Destructor Documentation

◆ SerializedMsgWithSharedBuffer()

SerializedMsgWithSharedBuffer::SerializedMsgWithSharedBuffer ( Msg * parent)

Definition at line 134 of file SerializedMsgWithSharedBuffer.cpp.

◆ ~SerializedMsgWithSharedBuffer()

SerializedMsgWithSharedBuffer::~SerializedMsgWithSharedBuffer ( )
virtual

Definition at line 138 of file SerializedMsgWithSharedBuffer.cpp.

Member Function Documentation

◆ detectInlineBlobs()

bool SerializedMsgWithSharedBuffer::detectInlineBlobs ( )
protected

Definition at line 29 of file SerializedMsgWithSharedBuffer.cpp.

◆ generateContent()

void SerializedMsgWithSharedBuffer::generateContent ( )
virtual

Implements SerializedMsg.

Definition at line 48 of file SerializedMsgWithSharedBuffer.cpp.

◆ generateContentAsync()

bool SerializedMsgWithSharedBuffer::generateContentAsync ( ) const
virtual

Implements SerializedMsg.

Definition at line 43 of file SerializedMsgWithSharedBuffer.cpp.


The documentation for this class was generated from the following files: