160 std::chrono::milliseconds td(1);
187 std::this_thread::sleep_for(td);
Property< PropertyType > getProperty(const std::string &name)
std::string getName() const
Retrieve name of object.
virtual void onStopCapture()=0
This is called when the point cloud provider capturing has been stopped.
virtual void onInitCapturingPointCloudProvider()=0
This is called when the Component::onInitComponent() is called.
ImageSyncMode pointCloudSyncMode
Point cloud synchronization information.
ImageSyncMode getPointCloudSyncMode()
Returns the point cloud sync mode.
bool isCaptureEnabled(const Ice::Current &c=Ice::emptyCurrent) override
float frameRate
Required frame rate.
virtual void onExitCapturingPointCloudProvider()=0
This is called when the Component::onExitComponent() setup is called.
void stopCapture(const Ice::Current &c=Ice::emptyCurrent) override
Stops point cloud capturing.
void onConnectPointCloudProvider() override
void startCapture(const Ice::Current &c=Ice::emptyCurrent) override
Starts point cloud capturing.
void onInitPointCloudProvider() override
FPSCounter fpsCounter
FPS manager.
std::atomic_bool captureEnabled
Indicates that capturing is enabled and running.
void setPointCloudSyncMode(ImageSyncMode pointCloudSyncMode)
Sets the point cloud synchronization mode.
void startCaptureForNumFrames(int numFrames, const Ice::Current &c=Ice::emptyCurrent) override
Starts point cloud capturing.
virtual void onStartCapture(float framesPerSecond)=0
This is called when the point cloud provider capturing has been started.
void changeFrameRate(Ice::Float framesPerSecond, const Ice::Current &c=Ice::emptyCurrent) override
set a new frame rate
std::mutex captureMutex
mutex for capturing for proper exit
int numFramesToCapture
Number of frames to capture.
void onExitPointCloudProvider() override
virtual bool doCapture()=0
Main capturing function.
armarx::RunningTask< CapturingPointCloudProvider >::pointer_type captureTask
Capture thread.
virtual void onStartCapturingPointCloudProvider()
This is called when the Component::onConnectComponent() setup is called.
bool isExiting() const
Retrieve whether provider is exiting.
#define ARMARX_INFO
The normal logging level.
This file offers overloads of toIce() and fromIce() functions for STL container types.
const LogSender::manipulator flush