CVB++ 15.1
Loading...
Searching...
No Matches
StreamGev3 Class Reference

The stream to send Images or other data. More...

#include <cvb/gevserver/stream.hpp>

Inherits StreamBase.

Public Member Functions

 StreamGev3 (const ServerBasePtr &parent)
 Creates the gev3stream stream from the given parent server.
 
SendStatus SendFlowSet (size_t index, std::vector< size_t > actualSendSizes, std::function< void(size_t)> onSendComplete)
 With this method a flow set at given index sent to the remote client. If the filled size is smaller than the actual flow sizes within the flowset, the actual send sizes are are specified. The callback onSendComplete will be called when the send operation is complete, and will release the flowset.
 
- Public Member Functions inherited from StreamBase
virtual bool IsRunning () const
 Gets whether this stream is running.
 
virtual std::int64_t ResendBuffersCount () const
 Gets the number of resend buffers.
 
virtual void SetResendBuffersCount (const std::int64_t &numBuffers)
 Sets the number of resend buffers.
 

Additional Inherited Members

- Protected Member Functions inherited from StreamBase
 StreamBase (const ServerBasePtr &parent)
 Creates the stream from the given parent server.
 

Detailed Description

The stream to send Images or other data.

Constructor & Destructor Documentation

◆ StreamGev3()

StreamGev3 ( const ServerBasePtr & parent)
inlineexplicit

Creates the gev3stream stream from the given parent server.

Parameters
parentParent server object.

Member Function Documentation

◆ SendFlowSet()

Cvb::GevServer::SendStatus SendFlowSet ( size_t index,
std::vector< size_t > actualSendSizes,
std::function< void(size_t)> onSendComplete )
inline

With this method a flow set at given index sent to the remote client. If the filled size is smaller than the actual flow sizes within the flowset, the actual send sizes are are specified. The callback onSendComplete will be called when the send operation is complete, and will release the flowset.

Parameters
index
actualSendSizes
onSendComplete
Returns