CVB++ 14.1
VinDevice Class Reference

A device representing a video interface driver (vin). More...

#include <cvb/driver/vin_device.hpp>

Inherits Device.

Public Member Functions

Cvb::Driver::VinConnectionInformation VinConnectionInformation () const
 Gets the board and port information of this device. More...
 
- Public Member Functions inherited from Device
void * Handle () const noexcept
 Classic API device handle. More...
 
String ResourceLocator () const noexcept
 Gets the access token or path of the file name including its extension. More...
 
DeviceControlPtr DeviceControl () const
 Gets the DeviceControl interface if present. More...
 
DigitalIOPtr DigitalIO () const
 Gets the DigitalIO interface if present. More...
 
SoftwareTriggerPtr SoftwareTrigger () const
 Gets the SoftwareTrigger interface if present. More...
 
ImageRectPtr ImageRect () const
 Gets the ImageRect interface if present. More...
 
virtual StreamPtr Stream () const
 Get the stream for this device. More...
 
int StreamCount () const noexcept
 Get the number of streams. More...
 
template<class T >
std::shared_ptr< T > DeviceImage () const
 Gets, if available, the device image pointing to the last synchronized image. More...
 
DeviceImagePtr DeviceImage () const
 Gets, if available, the device image pointing to the latest synchronized image. More...
 
NodeMapPtr NodeMap (const String &name) const
 Gets the NodeMap with the given name. More...
 
std::map< String, NodeMapPtr > NodeMaps () const
 Gets the dictionary holding all available NodeMaps. More...
 
NotifyObservablePtr NotifyObservable (int id) const
 Get the observable for a given id. More...
 
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. More...
 
void UnregisterConnectionStateChangedEvent (EventCookie eventCookie) noexcept
 Manually unregister a listener to the OnDisconnect event. More...
 

Detailed Description

A device representing a video interface driver (vin).

Member Function Documentation

◆ VinConnectionInformation()

Gets the board and port information of this device.

Returns
Connection information containing this device's board and camera port index.
Exceptions
Anyexception derived from std::exception including CvbException.