OnAttach(CInstantCamera & camera) This method is called before a Pylon Device (Pylon::IPylonDevice) is attached by calling the Instant Camera object's Attach() method.
virtual void
OnAttached(CInstantCamera & camera) This method is called after a Pylon Device (Pylon::IPylonDevice) has been attached by calling the Instant Camera object's Attach() method.
virtual void
OnDetach(CInstantCamera & camera) This method is called before the attached Pylon Device is detached from the Instant Camera object.
virtual void
OnDetached(CInstantCamera & camera) This method is called after the attached Pylon Device has been detached from the Instant Camera object.
virtual void
OnDestroy(CInstantCamera & camera) This method is called before the attached Pylon Device is destroyed.
virtual void
OnDestroyed(CInstantCamera & camera) This method is called after the attached Pylon Device has been destroyed.
virtual void
OnOpen(CInstantCamera & camera) This method is called before the attached Pylon Device is opened.
virtual void
OnClose(CInstantCamera & camera) This method is called before the attached Pylon Device is closed.
virtual void
OnClosed(CInstantCamera & camera) This method is called after the attached Pylon Device has been closed.
Changes the configuration of the camera so that it is triggered by the first available action command.
This configuration enables the frame start trigger and disables all other trigger types. As trigger source the first available action command is selected, i.e., the camera will be triggered by action commands issued by the application.
In contrast to using the software trigger triggering with action commands allows to trigger multiple cameras simultaneously.
Either register this configuration as an Instant Camera's event handler or apply the configuration to the node map of an opened pylon device using one of the ApplyConfiguration methods.
The CActionTriggerConfiguration is provided as header-only file. The code can be copied and modified for creating own configuration classes.
This method is called before a Pylon Device (Pylon::IPylonDevice) is attached by calling the Instant Camera object's Attach() method.
Parameters:
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.
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.
This method is called after a Pylon Device (Pylon::IPylonDevice) has been attached by calling the Instant Camera object's Attach() method.
Parameters:
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.
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.
This method is called when a camera device removal from the PC has been detected.
Parameters:
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.
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.