00001 /* 00002 * 00003 * 00004 * Distributed under the OpenDDS License. 00005 * See: http://www.opendds.org/license.html 00006 */ 00007 00008 #ifndef OPENDDS_DCPS_NULLSYNCHSTRATEGY_H 00009 #define OPENDDS_DCPS_NULLSYNCHSTRATEGY_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 NullSynchStrategy : public ThreadSynchStrategy { 00020 public: 00021 00022 NullSynchStrategy(); 00023 virtual ~NullSynchStrategy(); 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 #endif /* OPENDDS_DCPS_NULLSYNCHSTRATEGY_H */