OpenSplice ISO C++ 2 DCPS  v6.x
ISO C++ 2 OpenSplice Data Distribution Service Data-Centric Publish-Subscribe API
Entity.hpp
Go to the documentation of this file.
1 #ifndef OMG_TDDS_CORE_ENTITY_HPP_
2 #define OMG_TDDS_CORE_ENTITY_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 <string>
23 
24 #include <dds/core/Reference.hpp>
26 
27 namespace dds
28 {
29 namespace core
30 {
31 
32 class Entity;
33 }
34 }
35 
56 {
57 public:
60 
61 
62  virtual ~Entity();
65 public:
148  void enable();
149 
198 
217 
218 
237  void close();
238 
249  void retain();
250 };
251 
252 
253 
254 #endif /* OMG_TDDS_CORE_ENTITY_HPP_ */
This class is the abstract base class for all the DCPS objects.
Definition: Entity.hpp:55
#define OMG_DDS_IMPLICIT_REF_BASE(TYPE)
Definition: refmacros.hpp:70
const dds::core::status::StatusMask status_changes()
Definition: EntityImpl.hpp:52
Class to hold the handle associated with in sample instance.
Definition: array.hpp:23
#define OMG_DDS_REF_TYPE_PROTECTED_DC(TYPE, BASE, DELEGATE)
Definition: refmacros.hpp:159
StatusMask is a bitmap or bitset field.
Definition: State.hpp:144
Base class for reference-counted objects.
Definition: Reference.hpp:94
const dds::core::InstanceHandle instance_handle() const
Definition: EntityImpl.hpp:60