Skip to content

Implement rcl_x_is_valid methods #81

Closed

Description

@firesurfer

In order to track what was discussed in #78 I open this issue tracker.

@wjwwood suggested that in the future it might become necessary/useful to implement functions in the style rcl_x_is_valid .

An example would be: bool rcl_service_is_valid(rcl_service_t * service) which would check if this service is valid. (Perhaps check if it's not null, check if it was initialized, and so on)

Activity

  1. added
    enhancement
    help wanted
    on Sep 23, 2016
  2. wjwwood commented on Sep 23, 2016

    @wjwwood
    Member

    Thanks!

  3. allenh1 commented on Dec 23, 2016

    @allenh1
    Contributor

    @tfoote Is this the kind of thing I could work on?

  4. tfoote commented on Dec 23, 2016

    @tfoote
    Contributor

    Yeah, We've tagged several issues "help wanted" or also "unclaimed" that you could look into.

    There are many more, but we tried to pick out some good places for people to get involved.

  5. allenh1 commented on Dec 24, 2016

    @allenh1
    Contributor

    Well I'll start implementing this, then!

  6. allenh1 commented on Dec 26, 2016

    @allenh1
    Contributor

    For now, I'm putting these in the rcl.h header -- is this appropriate?

  7. allenh1 commented on Dec 26, 2016

    @allenh1
    Contributor

    Actually, after further investigation, I'm now thinking they should be implemented in several different header files (bool rcl_service_is_valid(const rcl_service_t * service) should be in service.h, and similar).

    Alternatively, I suppose I could put them in a check.h header, but I'll implement them in the above fashion in the meantime.


    First attempt: c5c6d7d

  8. wjwwood commented on Dec 27, 2016

    @wjwwood
    Member

    Putting them in the same header with the type you're checking seems appropriate to me.

  9. self-assigned this
    on Jun 22, 2017
  10. added
    in progress
    on Jun 22, 2017
  11. removed
    in progress
    on Jul 18, 2017
  12. added a commit that references this issue on Jan 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementhelp wanted

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions