Interface for the communicator.
Definition at line 190 of file sources/libs/nvmultiobjecttracker/include/modules/MultiViewAssociator/ICommunicator.hpp.

Public Member Functions | |
| virtual | ~ICommunicator () |
| Destroy the communicator interface. More... | |
| virtual bool | isInitialized ()=0 |
| Check if the communicator is initialized. More... | |
| virtual void | initialize (const StreamId streamId, system_clock::time_point start, std::map< StreamId, std::shared_ptr< ICommunicator >> localInstanceCommunicators, const std::string &sensorName="")=0 |
| Initialize the communicator and start its processing loop. More... | |
| virtual MessageType | available ()=0 |
| Return the type of the next buffered message, or NONE when the buffer is empty. More... | |
| virtual void | requestToSend (Payload payload)=0 |
| Request to send a message. More... | |
| virtual void | requestToSend (const std::vector< Payload > &payload)=0 |
| Request to send a message. More... | |
| virtual void | get (Payload &payload)=0 |
| Get the message from buffer. More... | |
| virtual void | processMessage (Payload payload)=0 |
| Process an incoming message. More... | |
| virtual void | broadcast (Payload payload)=0 |
| Broadcast message. More... | |
| virtual COMMUNICATOR_TYPES | getCommunicatorType ()=0 |
| Return the communicator implementation type. More... | |
| virtual std::vector< CamId > | getPeerCamIds () |
| Return peer camera IDs from broker topics or camera configuration. More... | |
| virtual CamId | getEgoCamId () |
| Return the ego camera ID from the broker topic or camera configuration. More... | |
| virtual | ~ICommunicator () |
| Destroy the communicator interface. More... | |
| virtual bool | isInitialized ()=0 |
| Check if the communicator is initialized. More... | |
| virtual void | initialize (const StreamId streamId, system_clock::time_point start, std::map< StreamId, std::shared_ptr< ICommunicator >> localInstanceCommunicators, const std::string &sensorName="")=0 |
| Initialize the communicator and start its processing loop. More... | |
| virtual MessageType | available ()=0 |
| Return the type of the next buffered message, or NONE when the buffer is empty. More... | |
| virtual void | requestToSend (Payload payload)=0 |
| Request to send a message. More... | |
| virtual void | requestToSend (const std::vector< Payload > &payload)=0 |
| Request to send a message. More... | |
| virtual void | get (Payload &payload)=0 |
| Get the message from buffer. More... | |
| virtual void | processMessage (Payload payload)=0 |
| Process an incoming message. More... | |
| virtual void | broadcast (Payload payload)=0 |
| Broadcast message. More... | |
| virtual COMMUNICATOR_TYPES | getCommunicatorType ()=0 |
| Return the communicator implementation type. More... | |
| virtual std::vector< CamId > | getPeerCamIds () |
| Return peer camera IDs from broker topics or camera configuration. More... | |
| virtual CamId | getEgoCamId () |
| Return the ego camera ID from the broker topic or camera configuration. More... | |
|
inlinevirtual |
Destroy the communicator interface.
Definition at line 194 of file sources/libs/nvmultiobjecttracker/include/modules/MultiViewAssociator/ICommunicator.hpp.
|
inlinevirtual |
Destroy the communicator interface.
Definition at line 194 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/MultiViewAssociator/ICommunicator.hpp.
|
pure virtual |
Return the type of the next buffered message, or NONE when the buffer is empty.
Implemented in MqttCommunicator, MqttCommunicator, MemoryAccessCommunicator, MemoryAccessCommunicator, DummyCommunicator, and DummyCommunicator.
|
pure virtual |
Return the type of the next buffered message, or NONE when the buffer is empty.
Implemented in MqttCommunicator, MqttCommunicator, MemoryAccessCommunicator, MemoryAccessCommunicator, DummyCommunicator, and DummyCommunicator.
|
pure virtual |
Broadcast message.
| [in] | payload | Message to broadcast. |
Implemented in MqttCommunicator, MqttCommunicator, MemoryAccessCommunicator, MemoryAccessCommunicator, DummyCommunicator, and DummyCommunicator.
|
pure virtual |
Broadcast message.
| [in] | payload | Message to broadcast. |
Implemented in MqttCommunicator, MqttCommunicator, MemoryAccessCommunicator, MemoryAccessCommunicator, DummyCommunicator, and DummyCommunicator.
|
pure virtual |
Get the message from buffer.
| [out] | payload | Message removed from the input buffer. |
Implemented in MqttCommunicator, MqttCommunicator, MemoryAccessCommunicator, MemoryAccessCommunicator, DummyCommunicator, and DummyCommunicator.
|
pure virtual |
Get the message from buffer.
| [out] | payload | Message removed from the input buffer. |
Implemented in MqttCommunicator, MqttCommunicator, MemoryAccessCommunicator, MemoryAccessCommunicator, DummyCommunicator, and DummyCommunicator.
|
pure virtual |
Return the communicator implementation type.
Implemented in MqttCommunicator, MqttCommunicator, MemoryAccessCommunicator, MemoryAccessCommunicator, DummyCommunicator, and DummyCommunicator.
|
pure virtual |
Return the communicator implementation type.
Implemented in MqttCommunicator, MqttCommunicator, MemoryAccessCommunicator, MemoryAccessCommunicator, DummyCommunicator, and DummyCommunicator.
|
inlinevirtual |
Return the ego camera ID from the broker topic or camera configuration.
Reimplemented in MqttCommunicator, MqttCommunicator, MemoryAccessCommunicator, and MemoryAccessCommunicator.
Definition at line 258 of file sources/libs/nvmultiobjecttracker/include/modules/MultiViewAssociator/ICommunicator.hpp.
|
inlinevirtual |
Return the ego camera ID from the broker topic or camera configuration.
Reimplemented in MqttCommunicator, MqttCommunicator, MemoryAccessCommunicator, and MemoryAccessCommunicator.
Definition at line 258 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/MultiViewAssociator/ICommunicator.hpp.
|
inlinevirtual |
Return peer camera IDs from broker topics or camera configuration.
Reimplemented in MqttCommunicator, MqttCommunicator, MemoryAccessCommunicator, and MemoryAccessCommunicator.
Definition at line 252 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/MultiViewAssociator/ICommunicator.hpp.
|
inlinevirtual |
Return peer camera IDs from broker topics or camera configuration.
Reimplemented in MqttCommunicator, MqttCommunicator, MemoryAccessCommunicator, and MemoryAccessCommunicator.
Definition at line 252 of file sources/libs/nvmultiobjecttracker/include/modules/MultiViewAssociator/ICommunicator.hpp.
|
pure virtual |
Initialize the communicator and start its processing loop.
| [in] | streamId | Stream identifier for this communicator. |
| [in] | start | Reference start time for timestamp conversion. |
| [in] | localInstanceCommunicators | Communicators for local streams. |
| [in] | sensorName | Sensor name used by external transports. |
Implemented in MqttCommunicator, MqttCommunicator, MemoryAccessCommunicator, MemoryAccessCommunicator, DummyCommunicator, and DummyCommunicator.
|
pure virtual |
Initialize the communicator and start its processing loop.
| [in] | streamId | Stream identifier for this communicator. |
| [in] | start | Reference start time for timestamp conversion. |
| [in] | localInstanceCommunicators | Communicators for local streams. |
| [in] | sensorName | Sensor name used by external transports. |
Implemented in MqttCommunicator, MqttCommunicator, MemoryAccessCommunicator, MemoryAccessCommunicator, DummyCommunicator, and DummyCommunicator.
|
pure virtual |
Check if the communicator is initialized.
Implemented in MqttCommunicator, MqttCommunicator, MemoryAccessCommunicator, MemoryAccessCommunicator, DummyCommunicator, and DummyCommunicator.
|
pure virtual |
Check if the communicator is initialized.
Implemented in MqttCommunicator, MqttCommunicator, MemoryAccessCommunicator, MemoryAccessCommunicator, DummyCommunicator, and DummyCommunicator.
|
pure virtual |
Process an incoming message.
| [in] | payload | Incoming message to place in the input buffers. |
Implemented in MqttCommunicator, MqttCommunicator, MemoryAccessCommunicator, MemoryAccessCommunicator, DummyCommunicator, and DummyCommunicator.
|
pure virtual |
Process an incoming message.
| [in] | payload | Incoming message to place in the input buffers. |
Implemented in MqttCommunicator, MqttCommunicator, MemoryAccessCommunicator, MemoryAccessCommunicator, DummyCommunicator, and DummyCommunicator.
|
pure virtual |
Request to send a message.
| [in] | payload | Messages to send. |
Implemented in MqttCommunicator, MqttCommunicator, MemoryAccessCommunicator, MemoryAccessCommunicator, DummyCommunicator, and DummyCommunicator.
|
pure virtual |
Request to send a message.
| [in] | payload | Messages to send. |
Implemented in MqttCommunicator, MqttCommunicator, MemoryAccessCommunicator, MemoryAccessCommunicator, DummyCommunicator, and DummyCommunicator.
|
pure virtual |
Request to send a message.
| [in] | payload | Message to send. |
Implemented in MqttCommunicator, MqttCommunicator, MemoryAccessCommunicator, MemoryAccessCommunicator, DummyCommunicator, and DummyCommunicator.
|
pure virtual |
Request to send a message.
| [in] | payload | Message to send. |
Implemented in MqttCommunicator, MqttCommunicator, MemoryAccessCommunicator, MemoryAccessCommunicator, DummyCommunicator, and DummyCommunicator.