|
Goby3 3.7.0
2026.11.12
|
PubSubTestEndpoint on the intervehicle layer: an InterVehicleForwarder over an interprocess portal, so traffic goes through that portal's gobyd and its intervehicle links, as an application's would. More...
#include <goby/middleware/tool/pubsub_test.h>
Public Member Functions | |
| PubSubTestInterVehicleEndpoint (std::string name, const PortalConfig &cfg) | |
| const std::string & | name () const override |
| bool | intervehicle () const override |
| void | publish (const protobuf::PubSubTestPublish &pub) override |
| void | publish_health_request () override |
| void | subscribe_all (MessageHandler handler) override |
| void | arm (const protobuf::PubSubTestExpect &exp) override |
| Called for each expectation on this endpoint once require_app has passed, before the runs start (for layers that subscribe per type and group) | |
| void | ready () override |
| bool | hold_state () override |
| void | poll (std::chrono::milliseconds wait) override |
Public Member Functions inherited from goby::middleware::tool::PubSubTestEndpoint | |
| virtual | ~PubSubTestEndpoint ()=default |
Additional Inherited Members | |
Public Types inherited from goby::middleware::tool::PubSubTestEndpoint | |
| using | Clock = std::chrono::steady_clock |
| using | MessageHandler = std::function< void(const PubSubTestMessage &)> |
PubSubTestEndpoint on the intervehicle layer: an InterVehicleForwarder over an interprocess portal, so traffic goes through that portal's gobyd and its intervehicle links, as an application's would.
Received messages are reported with scheme DCCL and the numeric group as the group name. Acks and expiries of this endpoint's publications are reported as PROTOBUF AckData and ExpireData in the publication's group.
Definition at line 474 of file pubsub_test.h.
|
inline |
Definition at line 477 of file pubsub_test.h.
|
inlineoverridevirtual |
Called for each expectation on this endpoint once require_app has passed, before the runs start (for layers that subscribe per type and group)
Reimplemented from goby::middleware::tool::PubSubTestEndpoint.
Definition at line 552 of file pubsub_test.h.
|
inlineoverridevirtual |
Implements goby::middleware::tool::PubSubTestEndpoint.
Definition at line 595 of file pubsub_test.h.
|
inlineoverridevirtual |
Reimplemented from goby::middleware::tool::PubSubTestEndpoint.
Definition at line 483 of file pubsub_test.h.
|
inlineoverridevirtual |
Implements goby::middleware::tool::PubSubTestEndpoint.
Definition at line 482 of file pubsub_test.h.
|
inlineoverridevirtual |
Implements goby::middleware::tool::PubSubTestEndpoint.
Definition at line 596 of file pubsub_test.h.
|
inlineoverridevirtual |
Implements goby::middleware::tool::PubSubTestEndpoint.
Definition at line 485 of file pubsub_test.h.
|
inlineoverridevirtual |
Implements goby::middleware::tool::PubSubTestEndpoint.
Definition at line 534 of file pubsub_test.h.
|
inlineoverridevirtual |
Implements goby::middleware::tool::PubSubTestEndpoint.
Definition at line 594 of file pubsub_test.h.
|
inlineoverridevirtual |
Implements goby::middleware::tool::PubSubTestEndpoint.
Definition at line 541 of file pubsub_test.h.