OpenSplice ISO C++ 2 DCPS  v6.x
ISO C++ 2 OpenSplice Data Distribution Service Data-Centric Publish-Subscribe API
SuspendedPublication.hpp
Go to the documentation of this file.
1 #ifndef OMG_TDDS_PUB_SUSPENDED_PUBLICATION_HPP_
2 #define OMG_TDDS_PUB_SUSPENDED_PUBLICATION_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 #include <dds/pub/Publisher.hpp>
23 
24 namespace dds
25 {
26 namespace pub
27 {
28 
29 class SuspendedPublication;
30 }
31 }
32 
67 {
68 public:
87  explicit SuspendedPublication(const dds::pub::Publisher& pub);
88 
89 public:
114  void resume();
115 
116 public:
130 };
131 
132 
133 #endif /* OMG_TDDS_PUB_SUSPENDED_PUBLICATION_HPP_ */
SuspendedPublication(const dds::pub::Publisher &pub)
This class is the base for various value-type dds objects.
Definition: Value.hpp:28
Definition: array.hpp:23
The Publisher acts on the behalf of one or several DataWriter objects that belong to it...
Definition: Publisher.hpp:55
Class for RAII way of suspending/resuming publication.