OpenDDS
Snapshot(2023/04/28-20:55)
dds
DCPS
transport
framework
ReactorSynchStrategy.cpp
Go to the documentation of this file.
1
/*
2
*
3
*
4
* Distributed under the OpenDDS License.
5
* See: http://www.opendds.org/license.html
6
*/
7
8
#include "
DCPS/DdsDcps_pch.h
"
//Only the _pch include should start with DCPS/
9
#include "
ReactorSynchStrategy.h
"
10
#include "
ReactorSynch.h
"
11
12
#if !defined (__ACE_INLINE__)
13
#include "
ReactorSynchStrategy.inl
"
14
#endif
/* __ACE_INLINE__ */
15
16
OpenDDS::DCPS::ReactorSynchStrategy::~ReactorSynchStrategy
()
17
{
18
DBG_ENTRY_LVL
(
"ReactorSynchStrategy"
,
"~ReactorSynchStrategy"
,6);
19
}
20
21
OpenDDS::DCPS::ThreadSynch
*
22
OpenDDS::DCPS::ReactorSynchStrategy::create_synch_object
(
23
ThreadSynchResource
* synch_resource,
long
,
long
)
24
{
25
DBG_ENTRY_LVL
(
"ReactorSynchStrategy"
,
"create_synch_object"
,6);
26
return
new
ReactorSynch
(
27
synch_resource,
strategy_
,
reactor_
);
28
}
ReactorSynchStrategy.inl
OpenDDS::DCPS::ReactorSynch
Send thread synchronization utilizing a reactor.
Definition:
ReactorSynch.h:39
OpenDDS::DCPS::ReactorSynchStrategy::reactor_
ACE_Reactor * reactor_
Definition:
ReactorSynchStrategy.h:63
ReactorSynchStrategy.h
OpenDDS::DCPS::ReactorSynchStrategy::strategy_
TransportSendStrategy * strategy_
Definition:
ReactorSynchStrategy.h:58
ReactorSynch.h
OpenDDS::DCPS::ThreadSynchResource
Definition:
ThreadSynchResource.h:19
OpenDDS::DCPS::ReactorSynchStrategy::~ReactorSynchStrategy
virtual ~ReactorSynchStrategy()
Definition:
ReactorSynchStrategy.cpp:16
DBG_ENTRY_LVL
#define DBG_ENTRY_LVL(CNAME, MNAME, DBG_LVL)
Definition:
EntryExit.h:68
DdsDcps_pch.h
OpenDDS::DCPS::ThreadSynch
Definition:
ThreadSynch.h:34
OpenDDS::DCPS::ReactorSynchStrategy::create_synch_object
virtual ThreadSynch * create_synch_object(ThreadSynchResource *synch_resource, long priority=0, long scheduler=0)
Definition:
ReactorSynchStrategy.cpp:22
Generated by
1.8.13