Changes the configuration of the camera so that the acquisition of frames is triggered by software trigger.
More...
#include <pylon/SoftwareTriggerConfiguration.h>
|
static void | ApplyConfiguration (GenApi::INodeMap &nodemap) |
| Apply software trigger configuration.
|
|
Changes the configuration of the camera so that the acquisition of frames is triggered by software trigger.
Use together with CInstantCamera::WaitForFrameTriggerReady() and CInstantCamera::ExecuteSoftwareTrigger().
The CSoftwareTriggerConfiguration is provided as header-only file. The code can be copied and modified for creating own configuration classes.
virtual void Pylon::CConfigurationEventHandler::DestroyConfiguration |
( |
| ) |
|
|
inlinevirtualinherited |
Destroys the configuration event handler.
- Error Safety:
- C++ exceptions from this call will be caught and ignored.
virtual void Pylon::CConfigurationEventHandler::OnAttach |
( |
CInstantCamera & |
camera | ) |
|
|
inlinevirtualinherited |
This method is called before a Pylon Device (Pylon::IPylonDevice) is attached by calling the Instant Camera object's Attach() method.
This method can not be used for detecting that a camera device has been attached to the PC. The camera's Attach() method must not be called from here or from subsequent calls to avoid infinite recursion.
- Parameters
-
[in] | camera | The source of the call. |
- Error Safety:
- C++ exceptions from this call will be caught and ignored. All event handlers are notified.
- Thread Safety:
- This method is called inside the lock of the camera object.
virtual void Pylon::CConfigurationEventHandler::OnAttached |
( |
CInstantCamera & |
camera | ) |
|
|
inlinevirtualinherited |
This method is called after a Pylon Device (Pylon::IPylonDevice) has been attached by calling the Instant Camera object's Attach() method.
This method can not be used for detecting that a camera device has been attached to the PC. The camera's Attach() method must not be called from here or from subsequent calls to avoid infinite recursion.
- Parameters
-
[in] | camera | The source of the call. |
- Error Safety:
- C++ exceptions from this call will be caught and ignored. All event handlers are notified.
- Thread Safety:
- This method is called inside the lock of the camera object.
virtual void Pylon::CConfigurationEventHandler::OnCameraDeviceRemoved |
( |
CInstantCamera & |
camera | ) |
|
|
inlinevirtualinherited |
This method is called when a camera device removal from the PC has been detected.
The Pylon Device attached to the Instant Camera is not operable after this event. After it is made sure that no access to the Pylon Device or any of its node maps is made anymore the Pylon Device should be destroyed using InstantCamera::DeviceDestroy(). The access to the Pylon Device can be protected using the lock provided by GetLock(), e.g. when accessing parameters.
- Parameters
-
[in] | camera | The source of the call. |
- Error Safety:
- C++ exceptions from this call will be caught and ignored. All event handlers are notified.
- Thread Safety:
- This method is called inside the lock of the camera object from an additional thread.
virtual void Pylon::CConfigurationEventHandler::OnClose |
( |
CInstantCamera & |
camera | ) |
|
|
inlinevirtualinherited |
This method is called before the attached Pylon Device is closed.
Camera Close must not be called from here or from subsequent calls to avoid infinite recursion.
- Parameters
-
[in] | camera | The source of the call. |
- Error Safety:
- C++ exceptions from this call will be caught and ignored. All event handlers are notified.
- Thread Safety:
- This method is called inside the lock of the camera object.
virtual void Pylon::CConfigurationEventHandler::OnClosed |
( |
CInstantCamera & |
camera | ) |
|
|
inlinevirtualinherited |
This method is called after the attached Pylon Device has been closed.
- Parameters
-
[in] | camera | The source of the call. |
- Error Safety:
- C++ exceptions from this call will be caught and ignored. All event handlers are notified.
- Thread Safety:
- This method is called inside the lock of the camera object.
virtual void Pylon::CConfigurationEventHandler::OnConfigurationDeregistered |
( |
CInstantCamera & |
camera | ) |
|
|
inlinevirtualinherited |
This method is called when the configuration event handler has been deregistered.
The configuration event handler is automatically deregistered when the Instant Camera object is destroyed.
- Parameters
-
[in] | camera | The source of the call. |
- Error Safety:
- C++ exceptions from this call will be caught and ignored.
- Thread Safety:
- This method is called inside the lock of the camera object.
virtual void Pylon::CConfigurationEventHandler::OnConfigurationRegistered |
( |
CInstantCamera & |
camera | ) |
|
|
inlinevirtualinherited |
This method is called when the configuration event handler has been registered.
- Parameters
-
[in] | camera | The source of the call. |
- Error Safety:
- Exceptions from this call will propagate through.
- Thread Safety:
- This method is called inside the lock of the camera object.
virtual void Pylon::CConfigurationEventHandler::OnDestroy |
( |
CInstantCamera & |
camera | ) |
|
|
inlinevirtualinherited |
This method is called before the attached Pylon Device is destroyed.
Camera DestroyDevice must not be called from here or from subsequent calls to avoid infinite recursion.
- Parameters
-
[in] | camera | The source of the call. |
- Error Safety:
- C++ exceptions from this call will be caught and ignored. All event handlers are notified.
- Thread Safety:
- This method is called inside the lock of the camera object.
virtual void Pylon::CConfigurationEventHandler::OnDestroyed |
( |
CInstantCamera & |
camera | ) |
|
|
inlinevirtualinherited |
This method is called after the attached Pylon Device has been destroyed.
- Parameters
-
[in] | camera | The source of the call. |
- Error Safety:
- C++ exceptions from this call will be caught and ignored. All event handlers are notified.
- Thread Safety:
- This method is called inside the lock of the camera object.
virtual void Pylon::CConfigurationEventHandler::OnDetach |
( |
CInstantCamera & |
camera | ) |
|
|
inlinevirtualinherited |
This method is called before the attached Pylon Device is detached from the Instant Camera object.
The camera's Detach() method must not be called from here or from subsequent calls to avoid infinite recursion.
- Parameters
-
[in] | camera | The source of the call. |
- Error Safety:
- C++ exceptions from this call will be caught and ignored. All event handlers are notified.
- Thread Safety:
- This method is called inside the lock of the camera object.
virtual void Pylon::CConfigurationEventHandler::OnDetached |
( |
CInstantCamera & |
camera | ) |
|
|
inlinevirtualinherited |
This method is called after the attached Pylon Device has been detached from the Instant Camera object.
- Parameters
-
[in] | camera | The source of the call. |
- Error Safety:
- C++ exceptions from this call will be caught and ignored. All event handlers are notified.
- Thread Safety:
- This method is called inside the lock of the camera object.
virtual void Pylon::CConfigurationEventHandler::OnGrabError |
( |
CInstantCamera & |
camera, |
|
|
const char * |
errorMessage |
|
) |
| |
|
inlinevirtualinherited |
This method is called when an exception has been triggered during grabbing.
An exception has been triggered by a grab thread. The grab will be stopped after this event call.
- Parameters
-
[in] | camera | The source of the call. |
[in] | errorMessage | The message of the exception that signaled an error during grabbing. |
- Error Safety:
- C++ exceptions from this call will be caught and ignored. All event handlers are notified.
- Thread Safety:
- This method is called inside the lock of the camera object.
virtual void Pylon::CConfigurationEventHandler::OnGrabStart |
( |
CInstantCamera & |
camera | ) |
|
|
inlinevirtualinherited |
This method is called before a grab session is started.
Camera StartGrabbing must not be called from here or from subsequent calls to avoid infinite recursion.
- Parameters
-
[in] | camera | The source of the call. |
- Error Safety:
- Exceptions from this call will propagate through. The notification of event handlers stops when an exception is triggered.
- Thread Safety:
- This method is called inside the lock of the camera object.
virtual void Pylon::CConfigurationEventHandler::OnGrabStarted |
( |
CInstantCamera & |
camera | ) |
|
|
inlinevirtualinherited |
This method is called after a grab session has been started.
- Parameters
-
[in] | camera | The source of the call. |
- Error Safety:
- Exceptions from this call will propagate through. The notification of event handlers stops when an exception is triggered.
- Thread Safety:
- This method is called inside the lock of the camera object.
virtual void Pylon::CConfigurationEventHandler::OnGrabStop |
( |
CInstantCamera & |
camera | ) |
|
|
inlinevirtualinherited |
This method is called before a grab session is stopped.
Camera StopGrabbing must not be called from here or from subsequent calls to avoid infinite recursion.
- Parameters
-
[in] | camera | The source of the call. |
- Error Safety:
- C++ exceptions from this call will be caught and ignored. All event handlers are notified.
- Thread Safety:
- This method is called inside the lock of the camera object.
virtual void Pylon::CConfigurationEventHandler::OnGrabStopped |
( |
CInstantCamera & |
camera | ) |
|
|
inlinevirtualinherited |
This method is called after a grab session has been stopped.
- Parameters
-
[in] | camera | The source of the call. |
- Error Safety:
- C++ exceptions from this call will be caught and ignored. All event handlers are notified.
- Thread Safety:
- This method is called inside the lock of the camera object.
virtual void Pylon::CConfigurationEventHandler::OnOpen |
( |
CInstantCamera & |
camera | ) |
|
|
inlinevirtualinherited |
This method is called before the attached Pylon Device is opened.
- Parameters
-
[in] | camera | The source of the call. |
- Error Safety:
- Exceptions from this call will propagate through. The notification of event handlers stops when an exception is triggered.
- Thread Safety:
- This method is called inside the lock of the camera object.
virtual void Pylon::CSoftwareTriggerConfiguration::OnOpened |
( |
CInstantCamera & |
camera | ) |
|
|
inlinevirtual |
This method is called after the attached Pylon Device has been opened.
- Parameters
-
[in] | camera | The source of the call. |
- Error Safety:
- Exceptions from this call will propagate through. The notification of event handlers stops when an exception is triggered.
- Thread Safety:
- This method is called inside the lock of the camera object.
Reimplemented from Pylon::CConfigurationEventHandler.
The documentation for this class was generated from the following file: