|
Goby3 3.7.0
2026.11.12
|
Type-erased connection to one layer (interprocess or intermodule) of one transport. More...
#include <goby/middleware/tool/pubsub_test.h>
Public Types | |
| using | Clock = std::chrono::steady_clock |
| using | MessageHandler = std::function< void(const PubSubTestMessage &)> |
Public Member Functions | |
| virtual | ~PubSubTestEndpoint ()=default |
| virtual const std::string & | name () const =0 |
| virtual bool | intervehicle () const |
| virtual void | publish (const protobuf::PubSubTestPublish &pub)=0 |
| virtual void | publish_health_request ()=0 |
| virtual void | subscribe_all (MessageHandler handler)=0 |
| virtual void | arm (const protobuf::PubSubTestExpect &) |
| Called for each expectation on this endpoint once require_app has passed, before the runs start (for layers that subscribe per type and group) | |
| virtual void | ready ()=0 |
| virtual bool | hold_state ()=0 |
| virtual void | poll (std::chrono::milliseconds wait)=0 |
Type-erased connection to one layer (interprocess or intermodule) of one transport.
Definition at line 80 of file pubsub_test.h.
| using goby::middleware::tool::PubSubTestEndpoint::Clock = std::chrono::steady_clock |
Definition at line 83 of file pubsub_test.h.
| using goby::middleware::tool::PubSubTestEndpoint::MessageHandler = std::function<void(const PubSubTestMessage&)> |
Definition at line 84 of file pubsub_test.h.
|
virtualdefault |
|
inlinevirtual |
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 in goby::middleware::tool::PubSubTestInterVehicleEndpoint< Portal, PortalConfig >.
Definition at line 95 of file pubsub_test.h.
|
pure virtual |
|
inlinevirtual |
Reimplemented in goby::middleware::tool::PubSubTestInterVehicleEndpoint< Portal, PortalConfig >.
Definition at line 89 of file pubsub_test.h.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |