Goby3 3.7.0
2026.11.12
Loading...
Searching...
No Matches
goby::middleware::tool::PubSubTestValidator Class Reference

Checks a PubSubTest without connecting to anything: structure, endpoint references, regexes, and (for types whose descriptors are loaded) publish values, match messages and condition field paths. Every problem is collected rather than stopping at the first. More...

#include <goby/middleware/tool/pubsub_test.h>

Public Types

using Issues = std::vector< protobuf::PubSubTestIssue >
 

Public Member Functions

 PubSubTestValidator (const protobuf::PubSubTest &test, std::set< std::string > endpoint_names, std::string prefix="test")
 
PubSubTestValidator & set_intervehicle_endpoints (std::set< std::string > names, std::string default_endpoint)
 Names the intervehicle endpoints, and the endpoint used when none is named, so that intervehicle rules (numeric groups, DCCL types, group_field) can be checked.
 
Issues validate ()
 

Detailed Description

Checks a PubSubTest without connecting to anything: structure, endpoint references, regexes, and (for types whose descriptors are loaded) publish values, match messages and condition field paths. Every problem is collected rather than stopping at the first.

Definition at line 805 of file pubsub_test.h.

Member Typedef Documentation

◆ Issues

Constructor & Destructor Documentation

◆ PubSubTestValidator()

goby::middleware::tool::PubSubTestValidator::PubSubTestValidator ( const protobuf::PubSubTest &  test,
std::set< std::string >  endpoint_names,
std::string  prefix = "test" 
)
inline

Definition at line 810 of file pubsub_test.h.

Member Function Documentation

◆ set_intervehicle_endpoints()

PubSubTestValidator & goby::middleware::tool::PubSubTestValidator::set_intervehicle_endpoints ( std::set< std::string >  names,
std::string  default_endpoint 
)
inline

Names the intervehicle endpoints, and the endpoint used when none is named, so that intervehicle rules (numeric groups, DCCL types, group_field) can be checked.

Definition at line 818 of file pubsub_test.h.

◆ validate()

Issues goby::middleware::tool::PubSubTestValidator::validate ( )
inline

Definition at line 826 of file pubsub_test.h.


The documentation for this class was generated from the following file: