#include <PoolSynchStrategy.h>
Inheritance diagram for OpenDDS::DCPS::PoolSynchStrategy:
Public Member Functions | |
PoolSynchStrategy () | |
virtual | ~PoolSynchStrategy () |
virtual ThreadSynch * | create_synch_object (ThreadSynchResource *synch_resource, long priority, int scheduler) |
virtual int | open (void *) |
virtual int | svc () |
virtual int | close (u_long) |
void | operator delete (void *ptr) |
Private Types | |
typedef ACE_SYNCH_MUTEX | LockType |
typedef ACE_Guard< LockType > | GuardType |
typedef ACE_Condition< LockType > | ConditionType |
Private Attributes | |
LockType | lock_ |
ConditionType | condition_ |
Definition at line 20 of file PoolSynchStrategy.h.
typedef ACE_Condition<LockType> OpenDDS::DCPS::PoolSynchStrategy::ConditionType [private] |
Definition at line 41 of file PoolSynchStrategy.h.
typedef ACE_Guard<LockType> OpenDDS::DCPS::PoolSynchStrategy::GuardType [private] |
Definition at line 40 of file PoolSynchStrategy.h.
typedef ACE_SYNCH_MUTEX OpenDDS::DCPS::PoolSynchStrategy::LockType [private] |
Definition at line 39 of file PoolSynchStrategy.h.
ACE_INLINE OpenDDS::DCPS::PoolSynchStrategy::PoolSynchStrategy | ( | ) |
Definition at line 11 of file PoolSynchStrategy.inl.
References DBG_ENTRY_LVL.
00012 : condition_(this->lock_) 00013 { 00014 DBG_ENTRY_LVL("PoolSynchStrategy","PoolSynchStrategy",6); 00015 }
OpenDDS::DCPS::PoolSynchStrategy::~PoolSynchStrategy | ( | ) | [virtual] |
Definition at line 16 of file PoolSynchStrategy.cpp.
References DBG_ENTRY_LVL.
00017 { 00018 DBG_ENTRY_LVL("PoolSynchStrategy","~PoolSynchStrategy",6); 00019 }
int OpenDDS::DCPS::PoolSynchStrategy::close | ( | u_long | ) | [virtual] |
Definition at line 56 of file PoolSynchStrategy.cpp.
References DBG_ENTRY_LVL.
00057 { 00058 DBG_ENTRY_LVL("PoolSynchStrategy","close",6); 00059 // TBD 00060 return 0; 00061 }
OpenDDS::DCPS::ThreadSynch * OpenDDS::DCPS::PoolSynchStrategy::create_synch_object | ( | ThreadSynchResource * | synch_resource, | |
long | priority, | |||
int | scheduler | |||
) | [virtual] |
Implements OpenDDS::DCPS::ThreadSynchStrategy.
Definition at line 22 of file PoolSynchStrategy.cpp.
References DBG_ENTRY_LVL.
00026 { 00027 DBG_ENTRY_LVL("PoolSynchStrategy","create_synch_object",6); 00028 PoolSynch* synch_object = new PoolSynch(this,synch_resource); 00029 00030 // TBD - We need to remember the synch_object here, because if this 00031 // PoolSynchStrategy (an active object) is shutdown, it will 00032 // need these... right? Or is it the other way around? In any 00033 // regard, we know that the PoolSynch needs a pointer to us 00034 // because we are the active object. 00035 00036 return synch_object; 00037 }
int OpenDDS::DCPS::PoolSynchStrategy::open | ( | void * | ) | [virtual] |
Definition at line 40 of file PoolSynchStrategy.cpp.
References DBG_ENTRY_LVL.
00041 { 00042 DBG_ENTRY_LVL("PoolSynchStrategy","open",6); 00043 // TBD 00044 return 0; 00045 }
void OpenDDS::DCPS::PoolSynchStrategy::operator delete | ( | void * | ptr | ) | [inline] |
int OpenDDS::DCPS::PoolSynchStrategy::svc | ( | ) | [virtual] |
Definition at line 48 of file PoolSynchStrategy.cpp.
References DBG_ENTRY_LVL.
00049 { 00050 DBG_ENTRY_LVL("PoolSynchStrategy","svc",6); 00051 // TBD 00052 return 0; 00053 }
Definition at line 44 of file PoolSynchStrategy.h.
Definition at line 43 of file PoolSynchStrategy.h.