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