3#include "../../global.hpp"
5#include "../../image.hpp"
7#include "../chunk_image_buffer_description.hpp"
8#include "../gevserver.hpp"
200 void Send(const ImageBufferDescription &bufferDescription,
void *basePtr, const std::
size_t &bufferSize,
201 std::function<
void(
void *)> bufferReleased);
217 bool TrySend(const ImageBufferDescription &bufferDescription,
void *basePtr, const std::
size_t &bufferSize,
218 std::function<
void(
void *)> bufferReleased);
221 static
void __stdcall SendDispatcher(
void *pPrivate)
226 if (
auto pFunction =
reinterpret_cast<std::function<
void(
void)
> *>(pPrivate))
238 CExports::cvbres_t InnerSend(
const ImagePtr &image, std::function<
void(
const ImagePtr &)> callback);
240 CExports::cvbres_t InnerSend(
const Image &image);
242 CExports::cvbres_t InnerSend(
const ImageBufferDescription &description,
void *basePtr, std::size_t bufferSize,
243 std::function<
void(
void *)> callback);
245 CExports::cvbres_t InnerSend(
const ChunkImageBufferDescription &description,
void *basePtr,
246 std::size_t bufferSize, std::function<
void(
void *)> callback);
Represents one acquisition stream of a device.
Definition decl_stream.hpp:33
The stream to send Images or other data.
Definition decl_stream.hpp:19
bool TrySend(const ImagePtr &image, std::function< void(const ImagePtr &)> imageReleased)
Tries to send the given image to the remote client.
Definition detail_stream.hpp:46
Stream(const ServerPtr &parent)
Creates the stream from the given parent server.
Definition decl_stream.hpp:25
ServerPtr Parent()
Gets the parent server object.
Definition detail_stream.hpp:17
void Send(const ImagePtr &image, std::function< void(const ImagePtr &)> imageReleased)
Sends the given image to the remote client.
Definition detail_stream.hpp:39
void SetResendBuffersCount(const std::int64_t &numBuffers)
Sets the number of resend buffers.
Definition detail_stream.hpp:34
std::int64_t ResendBuffersCount() const
Gets the number of resend buffers.
Definition detail_stream.hpp:27
bool IsRunning() const
Gets whether this stream is running.
Definition detail_stream.hpp:22
The Common Vision Blox image.
Definition decl_image.hpp:50
Namespace for GevServer based device configuration.
Definition decl_int_swiss_knife_node.hpp:11
@ Image
Image payload.
Definition gevserver.hpp:271
std::shared_ptr< Server > ServerPtr
Convenience shared pointer for GevServer.
Definition gevserver.hpp:37
Root namespace for the Image Manager interface.
Definition c_bayer_to_rgb.h:17
std::shared_ptr< Image > ImagePtr
Convenience shared pointer for Image.
Definition global.hpp:86