Go to the documentation of this file.
38 this->streamReceiver = receiver;
50 streamReceiver->getImageInformation(imgWidth, imgHeight, imgType);
54 visionx::ImageType colorType = visionx::ImageType(imgType);
61 setImageFormat(visionx::ImageDimension(imgWidth, imgHeight), colorType);
65 images.push_back(
new CByteImage(imgWidth, imgHeight, byteType));
69 ImageProvider::onConnectComponent();
76 usingProxy(
"StreamReceiver");
81 imagePullTask->start();
86 imagePullTask->stop();
88 for (
auto& i : images)
95 void StreamImageProvider::pullImages()
98 streamReceiver->getImages(images);
int getNumberImages(const Ice::Current &c=Ice::emptyCurrent) override
Retrieve number of images handled by this provider.
void setImageFormat(ImageDimension imageDimension, ImageType imageType, BayerPatternType bayerPatternType=visionx::eBayerPatternRg)
Sets the image basic format data.
void onConnectImageProvider()
This is called when the Component::onConnectComponent() setup is called.
void onExitImageProvider()
This is called when the Component::onExitComponent() setup is called.
void onInitImageProvider()
This is called when the Component::onInitComponent() is called.
void provideImages(void **inputBuffers, const IceUtil::Time &imageTimestamp=IceUtil::Time())
send images raw.
void setNumberImages(int numberImages)
Sets the number of images on each capture.
void setReceiver(StreamReceiverPtr receiver)
SpamFilterDataPtr deactivateSpam(float deactivationDurationSec=10.0f, const std::string &identifier="", bool deactivate=true) const
disables the logging for the current line for the given amount of seconds.
void onConnectComponent()
Pure virtual hook for the subclass.
This file offers overloads of toIce() and fromIce() functions for STL container types.