Go to the documentation of this file.
28 #include <VisionX/interface/components/StreamProvider.h>
33 #include <libavcodec/avcodec.h>
34 #include <libswscale/swscale.h>
54 defineOptionalProperty<std::string>(
"UsedStreamProvider",
"StreamProvider",
"Names of the StreamProvider that is to be used");
55 defineOptionalProperty<std::string>(
"imageStreamTopicName",
"ImageStream",
"Name of the image streaming topic");
75 public Stream::StreamListenerInterface
83 return "StreamDecoderImageProvider";
void onDisconnectImageProvider() override
std::mutex decodedImageMutex
void onExitImageProvider() override
This is called when the Component::onExitComponent() setup is called.
StreamDecoderImageProviderPropertyDefinitions(std::string prefix)
std::string prefix
Prefix of the properties such as namespace, domain, component name, etc.
std::mutex streamDecodeMutex
CByteImage * pCombinedDecodedImage
Brief description of class StreamDecoderImageProvider.
AVCodecContext * m_decoderContext
ImageProvider abstract class defines a component which provide images via ice or shared memory.
CByteImage ** ppDecodedImages
Default component property definition container.
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
void onInitImageProvider() override
This is called when the Component::onInitComponent() is called.
void reportNewStreamData(const Stream::DataChunk &chunk, Ice::Long imageTimestamp, const Ice::Current &) override
std::string getDefaultName() const override
Stream::StreamProviderPrx streamProvider
void onConnectComponent() override
Pure virtual hook for the subclass.
This file offers overloads of toIce() and fromIce() functions for STL container types.