#include <NullSynchStrategy.h>
Inheritance diagram for OpenDDS::DCPS::NullSynchStrategy:
Public Member Functions | |
NullSynchStrategy () | |
virtual | ~NullSynchStrategy () |
virtual ThreadSynch * | create_synch_object (ThreadSynchResource *synch_resource, long priority, int scheduler) |
Definition at line 17 of file NullSynchStrategy.h.
OpenDDS::DCPS::NullSynchStrategy::NullSynchStrategy | ( | ) |
Definition at line 14 of file NullSynchStrategy.cpp.
References DBG_ENTRY_LVL.
00015 { 00016 DBG_ENTRY_LVL("NullSynchStrategy","NullSynchStrategy",6); 00017 }
OpenDDS::DCPS::NullSynchStrategy::~NullSynchStrategy | ( | ) | [virtual] |
Definition at line 19 of file NullSynchStrategy.cpp.
References DBG_ENTRY_LVL.
00020 { 00021 DBG_ENTRY_LVL("NullSynchStrategy","~NullSynchStrategy",6); 00022 }
OpenDDS::DCPS::ThreadSynch * OpenDDS::DCPS::NullSynchStrategy::create_synch_object | ( | ThreadSynchResource * | synch_resource, | |
long | priority, | |||
int | scheduler | |||
) | [virtual] |
Implements OpenDDS::DCPS::ThreadSynchStrategy.
Definition at line 25 of file NullSynchStrategy.cpp.
References DBG_ENTRY_LVL.
00029 { 00030 DBG_ENTRY_LVL("NullSynchStrategy","create_synch_object",6); 00031 00032 if (synch_resource != 0) { 00033 ACE_ERROR((LM_ERROR, 00034 "(%P|%t) Coding Error - NullSynchStrategy::" 00035 "create_synch_object() should always get a NULL pointer " 00036 "(ThreadSynchResource*) argument.\n")); 00037 } 00038 00039 return new NullSynch(0); 00040 }