CoreDX DDS C Reference Manual
Public Attributes | List of all members
DDS_TopicListener_cd Struct Reference

The DDS_TopicListener_cd provides asynchronous notification of DDS_Topic events with additional callback data. More...

Public Attributes

void(* on_inconsistent_topic )(struct DDS_TopicListener_cd *self, DDS_Topic the_topic, DDS_InconsistentTopicStatus status, void *callback_data)
 

Detailed Description

The DDS_TopicListener_cd provides asynchronous notification of DDS_Topic events with additional callback data.

This listener can be installed by calling DDS_Topic_set_listener_cd().

Member Data Documentation

void(* DDS_TopicListener_cd::on_inconsistent_topic) (struct DDS_TopicListener_cd *self, DDS_Topic the_topic, DDS_InconsistentTopicStatus status, void *callback_data)

on_inconsistent_topic() is called when the CoreDX DDS infrastructure detects that another topic exists with different (inconsistent) characteristics.

The status argument provides a snapshot of the status at the time the listener was invoked.

Note
The listener callback methods should be lightweight and should not block. If a callback method blocks, it will block all other callback operations within the same DomainParticipant.

© 2009-2017 Twin Oaks Computing, Inc
Castle Rock, CO 80108
All rights reserved.