• Main Page
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

src/hpp/dds/core/policy/PolicyKind.hpp

Go to the documentation of this file.
00001 #ifndef OMG_DDS_CORE_POLICY_POLICYKIND_HPP_
00002 #define OMG_DDS_CORE_POLICY_POLICYKIND_HPP_
00003 
00004 /* Copyright 2010, Object Management Group, Inc.
00005  * Copyright 2010, PrismTech, Corp.
00006  * Copyright 2010, Real-Time Innovations, Inc.
00007  * All rights reserved.
00008  *
00009  * Licensed under the Apache License, Version 2.0 (the "License");
00010  * you may not use this file except in compliance with the License.
00011  * You may obtain a copy of the License at
00012  *
00013  *     http://www.apache.org/licenses/LICENSE-2.0
00014  *
00015  * Unless required by applicable law or agreed to in writing, software
00016  * distributed under the License is distributed on an "AS IS" BASIS,
00017  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00018  * See the License for the specific language governing permissions and
00019  * limitations under the License.
00020  */
00021 
00022 #include <dds/core/detail/conformance.hpp>
00023 
00024 
00025 namespace dds { namespace core { namespace policy {
00026 
00027 namespace OwnershipKind {
00028 enum Type {
00029         SHARED
00030 
00031 #ifdef  OMG_DDS_OWNERSHIP_SUPPORT
00032         ,
00033         EXCLUSIVE
00034 #endif  // OMG_DDS_OWNERSHIP_SUPPORT
00035 }; }
00036 
00037 
00038 
00039 namespace DurabilityKind {
00040 enum Type {
00041         VOLATILE,
00042         TRANSIENT_LOCAL
00043 
00044 #ifdef  OMG_DDS_PERSISTENCE_SUPPORT
00045         ,
00046         TRANSIENT,
00047         PERSISTENT
00048 #endif  // #ifdef  OMG_DDS_PERSISTENCE_SUPPORT
00049 }; }
00050 
00051 namespace PresentationAccessScopeKind  {
00052 enum Type {
00053         INSTANCE,
00054         TOPIC
00055 
00056 #ifdef  OMG_DDS_OBJECT_MODEL_SUPPORT
00057         ,
00058         GROUP
00059 #endif  // OMG_DDS_OBJECT_MODEL_SUPPORT
00060 }; }
00061 namespace ReliabilityKind {
00062 enum Type {
00063         BEST_EFFORT,
00064         RELIABLE
00065 }; }
00066 
00067 namespace DestinationOrderKind {
00068 enum Type {
00069         BY_RECEPTION_TIMESTAMP,
00070         BY_SOURCE_TIMESTAMP
00071 }; }
00072 
00073 namespace HistoryKind {
00074 enum Type {
00075         KEEP_LAST,
00076         KEEP_ALL
00077 };}
00078 
00079 namespace LivelinessKind {
00080 enum Type {
00081         AUTOMATIC,
00082         MANUAL_BY_PARTICIPANT,
00083         MANUAL_BY_TOPIC
00084 }; }
00085 
00086 namespace TypeConsistencyEnforcementKind {
00087 enum Type {
00088         EXACT_TYPE_TYPE_CONSISTENCY,
00089         EXACT_NAME_TYPE_CONSISTENCY,
00090         DECLARED_TYPE_CONSISTENCY,
00091         ASSIGNABLE_TYPE_CONSISTENCY
00092 }; }
00093 
00094 } } }
00095 #endif /* OMG_DDS_CORE_POLICY_POLICYKIND_HPP_ */

Generated on Tue Nov 9 2010 02:16:21 for dds-psm-cxx-doc by  doxygen 1.7.1