Skip to content

Commit

Permalink
Switch name to incompatible type.
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Lalancette <[email protected]>
  • Loading branch information
clalancette committed Feb 10, 2023
1 parent d24f07b commit 480fa61
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions rmw/include/rmw/event.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ typedef enum rmw_event_type_e
RMW_EVENT_REQUESTED_DEADLINE_MISSED,
RMW_EVENT_REQUESTED_QOS_INCOMPATIBLE,
RMW_EVENT_MESSAGE_LOST,
RMW_EVENT_SUBSCRIPTION_INCONSISTENT_TOPIC,
RMW_EVENT_SUBSCRIPTION_INCOMPATIBLE_TYPE,

// publisher events
RMW_EVENT_LIVELINESS_LOST,
RMW_EVENT_OFFERED_DEADLINE_MISSED,
RMW_EVENT_OFFERED_QOS_INCOMPATIBLE,
RMW_EVENT_PUBLISHER_INCONSISTENT_TOPIC,
RMW_EVENT_PUBLISHER_INCOMPATIBLE_TYPE,

// sentinel value
RMW_EVENT_INVALID
Expand Down
2 changes: 1 addition & 1 deletion rmw/include/rmw/events_statuses/events_statuses.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#define RMW__EVENTS_STATUSES__EVENTS_STATUSES_H_

#include "rmw/events_statuses/incompatible_qos.h"
#include "rmw/events_statuses/inconsistent_topic.h"
#include "rmw/events_statuses/incompatible_type.h"
#include "rmw/events_statuses/liveliness_changed.h"
#include "rmw/events_statuses/liveliness_lost.h"
#include "rmw/events_statuses/message_lost.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef RMW__EVENTS_STATUSES__INCONSISTENT_TOPIC_H_
#define RMW__EVENTS_STATUSES__INCONSISTENT_TOPIC_H_
#ifndef RMW__EVENTS_STATUSES__INCOMPATIBLE_TYPE_H_
#define RMW__EVENTS_STATUSES__INCOMPATIBLE_TYPE_H_

#include <stdint.h>

Expand All @@ -24,17 +24,17 @@ extern "C"
{
#endif

/// Inconsistent topic information provided by a topic.
typedef struct RMW_PUBLIC_TYPE rmw_inconsistent_topic_status_s
/// Incompatible type information provided by a topic.
typedef struct RMW_PUBLIC_TYPE rmw_incompatible_type_status_s
{
/// Lifetime cumulative number of inconsistent topics detected.
/// Lifetime cumulative number of incompatible types detected.
int32_t total_count;
/// The incremental number of inconsistent topics detected since the status was read.
/// The incremental number of incompatible types detected since the status was read.
int32_t total_count_change;
} rmw_inconsistent_topic_status_t;
} rmw_incompatible_type_status_t;

#ifdef __cplusplus
}
#endif

#endif // RMW__EVENTS_STATUSES__INCONSISTENT_TOPIC_H_
#endif // RMW__EVENTS_STATUSES__INCOMPATIBLE_TYPE_H_

0 comments on commit 480fa61

Please sign in to comment.