File Information
Library: IoT/Devices
Package: Devices
Header: IoT/Devices/Camera.h
Description
The base class for image sensors, also known as cameras.
Inheritance
Direct Base Classes: Device
All Base Classes: Device
Member Summary
Member Functions: capture, image, ready
Inherited Functions: getFeature, getPropertyBool, getPropertyDouble, getPropertyInt, getPropertyInt16, getPropertyInt64, getPropertyString, getPropertyTimestamp, hasFeature, hasProperty, setFeature, setPropertyBool, setPropertyDouble, setPropertyInt, setPropertyInt16, setPropertyInt64, setPropertyString, setPropertyTimestamp
Constructors
Camera
Camera();
Creates the Camera.
Destructor
~Camera
~Camera();
Destroys the Camera.
Member Functions
capture
virtual void capture() = 0;
Capture an image.
image
virtual Image::Ptr image() const = 0;
Returns the most recently taken image, or a null pointer if no image is available.
ready
virtual bool ready() const = 0;
Returns true if the camera is ready.
Variables
imageCaptured
Poco::BasicEvent < const Image::Ptr > imageCaptured;
Fired when a new image has been captured.