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

The DDS_TopicListener provides asynchronous notification of DDS_Topic events. More...

Public Attributes

void(* on_inconsistent_topic )(DDS_Topic the_topic, DDS_InconsistentTopicStatus status)
 

Detailed Description

The DDS_TopicListener provides asynchronous notification of DDS_Topic events.

This listener can be installed during Topic creation (DDS_DomainParticipant_create_topic() and related) as well as by calling DDS_Topic_set_listener().

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.

Member Data Documentation

void(* DDS_TopicListener::on_inconsistent_topic) (DDS_Topic the_topic, DDS_InconsistentTopicStatus status)

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.


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