Skip to content

Publisher and Subscriber class improvements #375

Description

@tsaubergine

Make a constructor version that takes a struct so we can use designated initializers (C++ 20) to more cleanly initialize the Publisher and Subscriber classes.

Support the dummy group function case when using non-broadcast groups that don't need a group function, e.g. https://github.com/jaiarobotics/jaiabot/blob/2.y/src/lib/intervehicle.h#L66-L76 to avoid user having to define this boilerplate.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    • Status
      Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions