A device representing an image stream based on single image files. More...
#include <cvb/driver/emu_device.hpp>
Inherits Device.
Public Member Functions | |
std::chrono::milliseconds | FrameTime () const |
Gets the time when frame is valid. | |
template<class Rep, class Period> | |
void | SetFrameTime (const std::chrono::duration< Rep, Period > &frameTime) |
Sets the time one frame is valid. | |
![]() | |
void * | Handle () const noexcept |
Classic API device handle. | |
String | ResourceLocator () const noexcept |
Gets the access token or path of the file name including its extension. | |
DeviceControlPtr | DeviceControl () const |
Gets the DeviceControl interface if present. | |
DigitalIOPtr | DigitalIO () const |
Gets the DigitalIO interface if present. | |
SoftwareTriggerPtr | SoftwareTrigger () const |
Gets the SoftwareTrigger interface if present. | |
ImageRectPtr | ImageRect () const |
Gets the ImageRect interface if present. | |
virtual StreamPtr | Stream () const |
Get the stream for this device. | |
int | StreamCount () const noexcept |
Get the number of streams. | |
template<class T> | |
std::shared_ptr< T > | DeviceImage () const |
Gets, if available, the device image pointing to the last synchronized image. | |
DeviceImagePtr | DeviceImage () const |
Gets, if available, the device image pointing to the latest synchronized image. | |
NodeMapPtr | NodeMap (const String &name) const |
Gets the NodeMap with the given name. | |
std::map< String, NodeMapPtr > | NodeMaps () const |
Gets the dictionary holding all available NodeMaps. | |
NotifyObservablePtr | NotifyObservable (int id) const |
Get the observable for a given id. | |
Cvb::ConnectionState | ConnectionState () const noexcept |
brief Gets the current Cvb::ConnectionState of this Device object. | |
EventCookie | RegisterConnectionStateChangedEvent (std::function< void()> handler) |
Register a listener to the OnDisconnect event. | |
void | UnregisterConnectionStateChangedEvent (EventCookie eventCookie) noexcept |
Manually unregister a listener to the OnDisconnect event. | |
A device representing an image stream based on single image files.
|
inline |
Gets the time when frame is valid.
Any | exception derived from std::exception including CvbException. |
|
inline |
Sets the time one frame is valid.
[in] | frameTime | The new frame time. |
Any | exception derived from std::exception including CvbException. |
We use cookies to improve your experience. By using this documentation, you agree to our use of cookies.