DDS-PSM-C++  1.0
ISO C++ API for OpenSplice DDS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
DataWriterListener.hpp
Go to the documentation of this file.
1 #ifndef OMG_DDS_PUB_DATA_WRITER_LISTENER_HPP_
2 #define OMG_DDS_PUB_DATA_WRITER_LISTENER_HPP_
3 
4 /* Copyright 2010, Object Management Group, Inc.
5  * Copyright 2010, PrismTech, Corp.
6  * Copyright 2010, Real-Time Innovations, Inc.
7  * All rights reserved.
8  *
9  * Licensed under the Apache License, Version 2.0 (the "License");
10  * you may not use this file except in compliance with the License.
11  * You may obtain a copy of the License at
12  *
13  * http://www.apache.org/licenses/LICENSE-2.0
14  *
15  * Unless required by applicable law or agreed to in writing, software
16  * distributed under the License is distributed on an "AS IS" BASIS,
17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18  * See the License for the specific language governing permissions and
19  * limitations under the License.
20  */
21 
22 
23 #include <dds/pub/DataWriter.hpp>
24 
25 namespace dds { namespace pub {
26 
27  template <typename T>
29  public:
30  virtual ~DataWriterListener() { }
31 
32  public:
33  virtual void on_offered_deadline_missed(
36 
37  virtual void on_offered_incompatible_qos(
40 
41  virtual void on_liveliness_lost(
43  const dds::core::status::LivelinessLostStatus& status) = 0;
44 
45  virtual void on_publication_matched(
48  };
49 
50 
51  template <typename T>
52  class NoOpDataWriterListener : public virtual DataWriterListener<T> {
53  public:
54  virtual ~NoOpDataWriterListener();
55 
56  public:
57  virtual void
60 
61  virtual void
64 
65  virtual void
68 
69  virtual void
72  };
73 
74 } }
75 
76 #endif /* OMG_DDS_PUB_DATA_WRITER_LISTENER_HPP_ */