00001 /* 00002 * 00003 * 00004 * Distributed under the OpenDDS License. 00005 * See: http://www.opendds.org/license.html 00006 */ 00007 00008 #ifndef OPENDDS_DCPS_PERCONNECTIONSYNCHSTRATEGY_H 00009 #define OPENDDS_DCPS_PERCONNECTIONSYNCHSTRATEGY_H 00010 00011 #include "dds/DCPS/dcps_export.h" 00012 #include "ThreadSynchStrategy.h" 00013 00014 OPENDDS_BEGIN_VERSIONED_NAMESPACE_DECL 00015 00016 namespace OpenDDS { 00017 namespace DCPS { 00018 00019 class OpenDDS_Dcps_Export PerConnectionSynchStrategy : public ThreadSynchStrategy { 00020 public: 00021 00022 PerConnectionSynchStrategy(); 00023 virtual ~PerConnectionSynchStrategy(); 00024 00025 virtual ThreadSynch* create_synch_object( 00026 ThreadSynchResource* synch_resource, 00027 long priority, 00028 int scheduler); 00029 }; 00030 00031 } // namespace DCPS 00032 } // namespace OpenDDS 00033 00034 OPENDDS_END_VERSIONED_NAMESPACE_DECL 00035 00036 #if defined (__ACE_INLINE__) 00037 #include "PerConnectionSynchStrategy.inl" 00038 #endif /* __ACE_INLINE__ */ 00039 00040 #endif /* OPENDDS_DCPS_PERCONNECTIONSYNCHSTRATEGY_H */