Raytrix Light Field SDK  4.0
Logo
Public Member Functions | Events | List of all members
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...
 
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

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

Constructor & Destructor Documentation

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

Default constructor.

Member Function Documentation

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

Searches for the first cameras.

Returns
The found cameras.
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.
Camera ^ Rx::LFR::Net::CameraServer::GetCamera ( unsigned  uCamIndex)
inline

Gets IDevice with given ID.

Parameters
uCamIndexZero-based ID of the device.
Returns
null if it fails, else the device.
unsigned Rx::LFR::Net::CameraServer::GetCameraCount ( )
inline

Gets the total number of devices.

Returns
The device count.

Gets the interface.

Returns
The interface.
void Rx::LFR::Net::CameraServer::Release ( )
inline

Releases the driver DLLs and destroys all cameras.

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

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

Event queue for all listeners interested in StatusMessage events.