Raytrix Light Field SDK  5.0
Rx::LFR::Net::CameraServer Class Reference

Detailed Description

A camera server.

Inherits Rx::Net::NativeInterfaceWrapper< Rx::LFR::CCameraServer, Rx::LFR::Net::Interfaces::ECameraServer >.

Public Member Functions

 CameraServer ()
 Default constructor. More...
 
unsigned FindCameras ()
 Searches for the first cameras. More...
 
unsigned FindCameras (System::String^ sDllLookupPath)
 Searches for all cameras. More...
 
CameraGetCamera (unsigned uCamIndex)
 Gets IDevice with given ID. More...
 
unsigned GetCameraCount ()
 Gets the total number of devices. More...
 
unsigned GetCameraFirmwareMismatchCount ()
 Gets the total number of camera firmware mismatches found during the last search. More...
 
System::String ^ GetCameraFirmwareMismatchDescription (unsigned uIndex)
 Gets description for camera firmware mismatches using the cameras index. More...
 
virtual System::Object ^ GetInterface (Rx::LFR::Net::Interfaces::ECameraServer eData)
 Gets the interface. More...
 
void Release ()
 Releases the driver DLLs and destroys all cameras. More...
 
void SetFindOnlyFilterString (System::String^ sFilter)
 Sets a string that activates a find filter in the FindCameras method. More...
 

Events

StatusMessageHandlerStatusMessage [add, remove]
 Event queue for all listeners interested in StatusMessage events. More...
 

Constructor & Destructor Documentation

◆ CameraServer()

Rx::LFR::Net::CameraServer::CameraServer ( )
inline

Default constructor.

Member Function Documentation

◆ FindCameras() [1/2]

unsigned Rx::LFR::Net::CameraServer::FindCameras ( )
inline

Searches for the first cameras.

Returns
The found cameras.

◆ FindCameras() [2/2]

unsigned Rx::LFR::Net::CameraServer::FindCameras ( System::String^  sDllLookupPath)
inline

Searches for all cameras.

Parameters
sDllLookupPath[in] Full path to device driver files.
Returns
The found cameras.

◆ GetCamera()

Camera ^ Rx::LFR::Net::CameraServer::GetCamera ( unsigned  uCamIndex)
inline

Gets IDevice with given ID.

Parameters
uCamIndex[in] Zero-based ID of the device.
Returns
null if it fails, else the device.

◆ GetCameraCount()

unsigned Rx::LFR::Net::CameraServer::GetCameraCount ( )
inline

Gets the total number of devices.

Returns
The device count.

◆ GetCameraFirmwareMismatchCount()

unsigned Rx::LFR::Net::CameraServer::GetCameraFirmwareMismatchCount ( )
inline

Gets the total number of camera firmware mismatches found during the last search.

Returns
The camera firmware mismatch count.

◆ GetCameraFirmwareMismatchDescription()

System::String ^ Rx::LFR::Net::CameraServer::GetCameraFirmwareMismatchDescription ( unsigned  uIndex)
inline

Gets description for camera firmware mismatches using the cameras index.

Parameters
uIndexThe index.
Returns
Null if it fails, else the camera firmware mismatch description.

◆ GetInterface()

virtual System::Object ^ Rx::Net::NativeInterfaceWrapper< Rx::LFR::CCameraServer , Rx::LFR::Net::Interfaces::ECameraServer >::GetInterface ( Rx::LFR::Net::Interfaces::ECameraServer  eData)
inlinevirtualinherited

Gets the interface.

Returns
The interface.

◆ Release()

void Rx::LFR::Net::CameraServer::Release ( )
inline

Releases the driver DLLs and destroys all cameras.

◆ SetFindOnlyFilterString()

void Rx::LFR::Net::CameraServer::SetFindOnlyFilterString ( System::String^  sFilter)
inline

Sets a string that activates a find filter in the FindCameras method.

By default the FindCameras method searches for all cameras (empty string). If you want to find only cameras of a certain type you can provide a filter here.

Examples:

  • Find only type A cameras: "TypeA"
  • Find only type A and type D cameras: "TypeA;TypeD".
Parameters
sFilter[in] The filter string.

Event Documentation

◆ StatusMessage

StatusMessageHandler^ Rx::LFR::Net::CameraServer::StatusMessage
addremove

Event queue for all listeners interested in StatusMessage events.