#include <CameraPostProcessingRequestBus.h>
Inherits AZ::EBusSharedDispatchTraits< CameraPostProcessingRequests >.
|
using | BusIdType = AZ::EntityId |
|
|
static constexpr AZ::EBusAddressPolicy | AddressPolicy = AZ::EBusAddressPolicy::ById |
|
static constexpr AZ::EBusHandlerPolicy | HandlerPolicy = AZ::EBusHandlerPolicy::Multiple |
|
Interface class that allows to add post-processing to the pipeline
Each function call can be processed without blocking Bus for other dispatches. Do not use connects / disconnects to this bus during event dispatch, as they are not allowed for this concurrency model. Those constraints allow for processing multiple camera frames in the same time. Bus implementations should allow for asynchronous execution of provided functions.
◆ ApplyPostProcessing()
virtual void ROS2::CameraPostProcessingRequests::ApplyPostProcessing |
( |
sensor_msgs::msg::Image & |
image | ) |
|
|
pure virtual |
Apply post-processing function, if any implementations to the bus are in the entity.
- Parameters
-
image | standard image message passed as a reference. It will be changed through post-processing. |
- Note
- you should check whether the encoding format is supported first with SupportsFormat.
◆ SupportsFormat()
virtual bool ROS2::CameraPostProcessingRequests::SupportsFormat |
( |
const AZStd::string & |
encodingFormat | ) |
|
|
pure virtual |
Query whether a particular image encoding is supported by registered postprocessing.
- Parameters
-
encodingFormat | name of the format. |
The documentation for this class was generated from the following file:
- Gems/ROS2/Code/Include/ROS2/Camera/CameraPostProcessingRequestBus.h