29#include <VisionX/interface/components/StreamProvider.h>
33#include <libavcodec/avcodec.h>
34#include <libswscale/swscale.h>
56 "Names of the StreamProvider that is to be used");
58 "imageStreamTopicName",
"ImageStream",
"Name of the image streaming topic");
78 public Stream::StreamListenerInterface
87 return "StreamDecoderImageProvider";
103 Ice::Long imageTimestamp,
104 const Ice::Current&)
override;
Default component property definition container.
ComponentPropertyDefinitions(std::string prefix, bool hasObjectNameParameter=true)
std::string prefix
Prefix of the properties such as namespace, domain, component name, etc.
PropertyDefinition< PropertyType > & defineOptionalProperty(const std::string &name, PropertyType defaultValue, const std::string &description="", PropertyDefinitionBase::PropertyConstness constness=PropertyDefinitionBase::eConstant)
StreamDecoderImageProviderPropertyDefinitions(std::string prefix)
Brief description of class StreamDecoderImageProvider.
AVCodecContext * m_decoderContext
CByteImage ** ppDecodedImages
void reportNewStreamData(const Stream::DataChunk &chunk, Ice::Long imageTimestamp, const Ice::Current &) override
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
Stream::StreamProviderPrx streamProvider
void onConnectComponent() override
Pure virtual hook for the subclass.
std::mutex decodedImageMutex
std::mutex streamDecodeMutex
void onInitImageProvider() override
This is called when the Component::onInitComponent() is called.
void onExitImageProvider() override
This is called when the Component::onExitComponent() setup is called.
CByteImage * pCombinedDecodedImage
void onDisconnectImageProvider() override
std::string getDefaultName() const override
ImageProvider abstract class defines a component which provide images via ice or shared memory.
This file offers overloads of toIce() and fromIce() functions for STL container types.
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.