OpenDDS
Snapshot(2023/04/28-20:55)
dds
DCPS
transport
framework
ThreadSynchStrategy.h
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
#ifndef OPENDDS_DCPS_TRANSPORT_FRAMEWORK_THREADSYNCHSTRATEGY_H
9
#define OPENDDS_DCPS_TRANSPORT_FRAMEWORK_THREADSYNCHSTRATEGY_H
10
11
#include "
dds/DCPS/dcps_export.h
"
12
#include "
dds/DCPS/RcObject.h
"
13
#include "
ace/Synch_Traits.h
"
14
15
OPENDDS_BEGIN_VERSIONED_NAMESPACE_DECL
16
17
namespace
OpenDDS
{
18
namespace
DCPS {
19
20
class
ThreadSynch;
21
class
ThreadSynchResource;
22
23
//MJM: Some class documentation here would be extremely helpful.
24
class
OpenDDS_Dcps_Export
ThreadSynchStrategy
25
:
public
virtual
RcObject
26
{
27
public
:
28
29
virtual
~
ThreadSynchStrategy
();
30
31
virtual
ThreadSynch
* create_synch_object(
32
ThreadSynchResource
* synch_resource,
33
long
priority,
34
long
scheduler) = 0;
35
36
protected
:
37
38
ThreadSynchStrategy
();
39
};
40
41
}
// namespace DCPS
42
}
// namespace OpenDDS
43
44
OPENDDS_END_VERSIONED_NAMESPACE_DECL
45
46
#if defined (__ACE_INLINE__)
47
#include "
ThreadSynchStrategy.inl
"
48
#endif
/* __ACE_INLINE__ */
49
50
#endif
/* OPENDDS_DCPS_THREADSYNCHSTRATEGY_H */
OpenDDS::DCPS::ThreadSynchStrategy
Definition:
ThreadSynchStrategy.h:24
dcps_export.h
OpenDDS_Dcps_Export
#define OpenDDS_Dcps_Export
Definition:
dcps_export.h:24
Synch_Traits.h
RcObject.h
OpenDDS::DCPS::ThreadSynchResource
Definition:
ThreadSynchResource.h:19
OPENDDS_END_VERSIONED_NAMESPACE_DECL
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
Definition:
Versioned_Namespace.h:48
OPENDDS_BEGIN_VERSIONED_NAMESPACE_DECL
Definition:
Hash.cpp:17
ThreadSynchStrategy.inl
OpenDDS
The Internal API and Implementation of OpenDDS.
Definition:
AddressCache.h:28
OpenDDS::DCPS::RcObject
Definition:
RcObject.h:61
OpenDDS::DCPS::ThreadSynch
Definition:
ThreadSynch.h:34
Generated by
1.8.13