CoreDX DDS C++ Reference Manual
Public Member Functions | List of all members
DDS::TopicListener Class Reference

The TopicListener provides asynchronous notification of Topic events. More...

Inheritance diagram for DDS::TopicListener:
DDS::DomainParticipantListener

Public Member Functions

virtual void on_inconsistent_topic (Topic *, const InconsistentTopicStatus &)
 

Detailed Description

The TopicListener provides asynchronous notification of Topic events.

This listener can be installed during Topic creation (DomainParticipant_create_topic() and related) as well as by calling 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 Function Documentation

virtual void DDS::TopicListener::on_inconsistent_topic ( Topic ,
const InconsistentTopicStatus &   
)
inlinevirtual

on_inconsistent_topic() is called when the CoreDX DDS middleware 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.