OpenDDS  Snapshot(2023/04/28-20:55)
TopicCallbacks.h
Go to the documentation of this file.
1 /*
2  *
3  *
4  * Distributed under the OpenDDS License.
5  * See: http://www.opendds.org/license.html
6  */
7 
8 #ifndef OPENDDS_DCPS_TOPICCALLBACKS_H
9 #define OPENDDS_DCPS_TOPICCALLBACKS_H
10 
11 #include "RcObject.h"
12 #if !defined (ACE_LACKS_PRAGMA_ONCE)
13 #pragma once
14 #endif /* ACE_LACKS_PRAGMA_ONCE */
15 
17 
18 namespace OpenDDS {
19 namespace DCPS {
20 
21 /**
22 * @class TopicCallbacks
23 *
24 * @brief Defines the interface for Discovery callbacks into the Topic.
25 *
26 */
28  : public virtual RcObject {
29 public:
30 
32 
33  virtual ~TopicCallbacks() {}
34 
35  // Report the current number of inconsistent topics.
36  virtual void inconsistent_topic(int count) = 0;
37 };
38 
39 } // namespace DCPS
40 } // namespace OpenDDS
41 
43 
44 #endif /* OPENDDS_DCPS_TOPICCALLBACKS_H */
virtual void inconsistent_topic(int count)=0
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
Defines the interface for Discovery callbacks into the Topic.
The Internal API and Implementation of OpenDDS.
Definition: AddressCache.h:28