Inherits Rx::LFR::CPimpl< CCameraServer_Impl, Interfaces::ECameraServer::ID >.
Rx::LFR::CCameraServer::CCameraServer |
( |
| ) |
|
Rx::LFR::CCameraServer::CCameraServer |
( |
CCameraServer && |
xCameraServer | ) |
|
Move constructor.
- Parameters
-
xCameraServer | [in,out]The camera server instance. |
Rx::LFR::CCameraServer::~CCameraServer |
( |
| ) |
|
void Rx::LFR::CCameraServer::AddStatusMessageCallback |
( |
TFuncStatusMsg |
pxCallback, |
|
|
void * |
pvContext |
|
) |
| |
Adds the given status message callback function to the internal list of callbacks.
Adding the same function pointer twice will only update the given context pointer. This prevents multiple adds of the same callback function.
- Parameters
-
pxCallback | The callback function. |
pvContext | [in] The callback context. Can be any pointer that is passed to the callback function. |
unsigned Rx::LFR::CCameraServer::FindCameras |
( |
const CRxString & |
sxDllLookupPath = "" | ) |
|
Searches for all cameras.
- Parameters
-
sxDllLookupPath | (Optional) Full path to device driver files. |
- Returns
- The number of found cameras.
CCamera& Rx::LFR::CCameraServer::GetCamera |
( |
unsigned |
uCamIndex | ) |
|
Gets IDevice with given ID.
- Parameters
-
uCamIndex | Zero-based ID of the device. |
- Returns
- null if it fails, else the device.
unsigned Rx::LFR::CCameraServer::GetCameraCount |
( |
| ) |
const |
Gets the total number of devices.
- Returns
- The device count.
Gets the non constant implementation.
- Returns
- The implementation.
Gets the constant implementation.
- Returns
- The implementation.
Gets the interface defined by the given interface ID.
- Parameters
-
eInterface | The interface ID. |
- Returns
- Null if it fails, else the interface.
Gets the interface defined by the given interface ID.
- Parameters
-
eInterface | The interface ID. |
- Returns
- Null if it fails, else the interface.
Gets the interface defined by the given interface ID.
- Template Parameters
-
TInterface | The interface type. |
- Parameters
-
- Returns
- Null if it fails, else the interface.
Gets the interface defined by the given interface ID.
- Template Parameters
-
TInterface | The interface type. |
- Parameters
-
eInterface | The interface ID. |
- Returns
- Null if it fails, else the interface.
Queries if this object has the given interface.
- Parameters
-
eInterface | The interface to query. |
- Returns
- True if this class has the given interface, false if not.
Move assignment operator.
- Parameters
-
xCameraServer | [in,out]The camera server. |
- Returns
- The instance.
void Rx::LFR::CCameraServer::Release |
( |
| ) |
|
Releases the driver DLLs and destroys all cameras.
void Rx::LFR::CCameraServer::RemoveStatusMessageCallback |
( |
TFuncStatusMsg |
pxCallback | ) |
|
Removes the given status message callback function.
Does nothing if the given function pointer has not been added to the list of callbacks.
- Parameters
-
pxCallback | The callback function to remove. |
void Rx::LFR::CCameraServer::SetFindOnlyFilterString |
( |
const CRxString & |
sxFilter | ) |
|
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
-
sxFilter | The filter string. |