#include <requestable_writer.h>
Inherits adtf::ucom::catwo::object< Bases >.
|
|
| ~IObject ()=default |
| | Protected destructor --> Only the final implementation can be destroyed!
|
| |
This is the default implementation of IStreamingRequests used by requestable_writer.
◆ cRequestBroker()
| adtf::streaming::hollow::cRequestBroker::cRequestBroker |
( |
cSampleWriter * | pWriter = nullptr | ) |
|
Default constructor.
- Parameters
-
| [in] | pWriter | The writer instance that this broker is associated with. This is used for error handling. |
◆ ~cRequestBroker()
| adtf::streaming::hollow::cRequestBroker::~cRequestBroker |
( |
| ) |
|
|
override |
◆ DisableCurrentRequests()
| void adtf::streaming::hollow::cRequestBroker::DisableCurrentRequests |
( |
bool | bCallDisableCallback = false | ) |
|
This will disable all current requests.
- Parameters
-
| [in] | bCallDisableCallback | if true, the callback for disabling Substreams will be called for each currently enabled Substream. |
◆ SetCallbacks()
| void adtf::streaming::hollow::cRequestBroker::SetCallbacks |
( |
std::function< void(uint32_t, const base::IProperties *)> | fnEnable, |
|
|
std::function< void(uint32_t)> | fnDisable ) |
Sets the callbacks for enabling and disabling specific Substreams.
- Parameters
-
| [in] | fnEnable | This is called when the first consumer requests a specific Substream. |
| [in] | fnDisable | This is called when the last consumer cancels its request for a Substream. |
◆ UpdateType()
Call this when you updated your Substreams type.
- Parameters
-
| [in] | pType | The new Stream Type. |
The documentation for this class was generated from the following file: