Raytrix Light Field SDK  4.0
Logo
Public Member Functions | Properties | List of all members
Rx::InteropNet::Runtime30::Camera::IDeviceConnector Interface Reference

Detailed Description

DeviceConnector interface.

This interface provides the functions which the GeneralDeviceConnector implements. The functions are for wrapping the native code to .NET. All we need are the properties:

The DeviceCount is set and can be used after DiscoverDevices.

Public Member Functions

Interop::Runtime30::Camera::INativeDeviceDoCreateNativeDeviceDriver (int iCamID, Interop::Runtime30::IStatusCameraCallback *pxMessageCall)
 Creates a native device. More...
 
int DiscoverDevices (Interop::Runtime30::IStatusCameraCallback *pxMessageCall)
 Calls discover function in native device driver. More...
 
array< System::String^ >^ GetDependencies ()
 Returns a string array of DLL dependencies for the specific connector type of the camera type. More...
 
void Release (Interop::Runtime30::IStatusCameraCallback *pxMessageCall)
 Calls release function in native device driver. More...
 

Properties

System::String^  ConnectorName [get]
 Gets the name of this connector. More...
 
int DeviceCount [get]
 Gets the number of discovered devices. Only valid after DiscoverDevices. More...
 
EConnectorType Type [get]
 Gets or sets the type of the connector. More...
 

Member Function Documentation

Interop::Runtime30::Camera::INativeDeviceDo* Rx::InteropNet::Runtime30::Camera::IDeviceConnector::CreateNativeDeviceDriver ( int  iCamID,
Interop::Runtime30::IStatusCameraCallback pxMessageCall 
)

Creates a native device.

This native C++ devices implements INativeDeviceDo and consists of specific C++ driver implementation for the connector- camtype combination.

Parameters
iCamIDIdentifier for the camera.
pxMessageCall[in,out] If non-null, the message call.
Returns
The native device pointer.
int Rx::InteropNet::Runtime30::Camera::IDeviceConnector::DiscoverDevices ( Interop::Runtime30::IStatusCameraCallback pxMessageCall)

Calls discover function in native device driver.

Parameters
pxMessageCall[in] the message callback pointer.
Returns
The number of discovered devices on this interface.
array<System::String^> ^ Rx::InteropNet::Runtime30::Camera::IDeviceConnector::GetDependencies ( )

Returns a string array of DLL dependencies for the specific connector type of the camera type.

Returns
An array of dependencies.
void Rx::InteropNet::Runtime30::Camera::IDeviceConnector::Release ( Interop::Runtime30::IStatusCameraCallback pxMessageCall)

Calls release function in native device driver.

This function releases all devices connected to this connector and additionally frees all memory used. If no camera has been discovered only the memory will be freed.

Parameters
pxMessageCall[in,out] If non-null, the message call.

Property Documentation

System:: String^ Rx::InteropNet::Runtime30::Camera::IDeviceConnector::ConnectorName
get

Gets the name of this connector.

The connectors name.

int Rx::InteropNet::Runtime30::Camera::IDeviceConnector::DeviceCount
get

Gets the number of discovered devices. Only valid after DiscoverDevices.

The count of discovered Devices.

EConnectorType Rx::InteropNet::Runtime30::Camera::IDeviceConnector::Type
get

Gets or sets the type of the connector.

The type of the connector.