OpenDDS
Snapshot(2023/04/28-20:55)
dds
InfoRepo
Updater.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 UPDATER_H
9
#define UPDATER_H
10
11
#include "
UpdateDataTypes.h
"
12
#include "
dds/DCPS/GuidUtils.h
"
13
#include "
ace/Synch_Traits.h
"
14
15
OPENDDS_BEGIN_VERSIONED_NAMESPACE_DECL
16
17
namespace
Update
{
18
19
/**
20
* Base class for use by the UpdateManager class.
21
*/
22
class
Updater
{
23
public
:
24
virtual
~Updater
();
25
26
/**
27
* Request an image refresh to be sent to the specified
28
* callback (asynchronously).
29
*/
30
virtual
void
requestImage
() = 0;
31
32
///@{
33
/// Propagate an entity has been created.
34
virtual
void
create
(
const
UTopic
& topic) = 0;
35
virtual
void
create
(
const
UParticipant
& participant) = 0;
36
virtual
void
create
(
const
URActor
& actor) = 0;
37
virtual
void
create
(
const
UWActor
& actor) = 0;
38
virtual
void
create
(
const
OwnershipData
& data) = 0;
39
///@}
40
41
///@{
42
/// Propagate updated Qos parameters for an entity.
43
virtual
void
update
(
const
IdPath
&
id
,
const
DDS::DomainParticipantQos
& qos) = 0;
44
virtual
void
update
(
const
IdPath
&
id
,
const
DDS::TopicQos
& qos) = 0;
45
virtual
void
update
(
const
IdPath
&
id
,
const
DDS::DataWriterQos
& qos) = 0;
46
virtual
void
update
(
const
IdPath
&
id
,
const
DDS::PublisherQos
& qos) = 0;
47
virtual
void
update
(
const
IdPath
&
id
,
const
DDS::DataReaderQos
& qos) = 0;
48
virtual
void
update
(
const
IdPath
&
id
,
const
DDS::SubscriberQos
& qos) = 0;
49
virtual
void
update
(
const
IdPath
&
id
,
const
DDS::StringSeq
& exprParams) = 0;
50
///@}
51
52
/// Propagate that an entity has been destroyed.
53
virtual
void
destroy
(
const
IdPath
&
id
,
ItemType
type,
ActorType
actor) = 0;
54
55
/// Update Last Participant Id for the repo
56
virtual
void
updateLastPartId
(
PartIdType
partId) {
57
ACE_UNUSED_ARG(partId);
58
};
59
};
60
61
inline
62
Updater::~Updater
()
63
{
64
}
65
66
}
// namespace Update
67
68
OPENDDS_END_VERSIONED_NAMESPACE_DECL
69
70
#endif
/* UPDATER_H */
Update::Updater::requestImage
virtual void requestImage()=0
DDS::DataWriterQos
Definition:
DdsDcpsCore.idl:341
UpdateDataTypes.h
Update::OwnershipData
Definition:
UpdateDataTypes.h:51
Update::Updater::update
virtual void update(const IdPath &id, const DDS::DomainParticipantQos &qos)=0
DDS::SubscriberQos
Definition:
DdsDcpsCore.idl:395
Update::ActorStrt
Definition:
UpdateDataTypes.h:128
GuidUtils.h
Update::PartIdType
long PartIdType
Definition:
UpdateDataTypes.h:38
Update::Updater::~Updater
virtual ~Updater()
Definition:
Updater.h:62
Update::Updater
Definition:
Updater.h:22
Update
Definition:
DCPS_IR_Participant.h:37
Synch_Traits.h
DDS::PublisherQos
Definition:
DdsDcpsCore.idl:364
Update::Updater::updateLastPartId
virtual void updateLastPartId(PartIdType partId)
Update Last Participant Id for the repo.
Definition:
Updater.h:56
Update::Updater::create
virtual void create(const UTopic &topic)=0
Update::ParticipantStrt
Definition:
UpdateDataTypes.h:89
Update::IdPath
Definition:
UpdateDataTypes.h:40
Update::Updater::destroy
virtual void destroy(const IdPath &id, ItemType type, ActorType actor)=0
Propagate that an entity has been destroyed.
DDS::DomainParticipantQos
Definition:
DdsDcpsCore.idl:406
Update::ActorType
ActorType
Definition:
UpdateDataTypes.h:23
DDS::DataReaderQos
Definition:
DdsDcpsCore.idl:378
OPENDDS_END_VERSIONED_NAMESPACE_DECL
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
Definition:
Versioned_Namespace.h:48
Update::ItemType
ItemType
Definition:
UpdateDataTypes.h:22
OPENDDS_BEGIN_VERSIONED_NAMESPACE_DECL
Definition:
Hash.cpp:17
DDS::TopicQos
Definition:
DdsDcpsCore.idl:318
Update::TopicStrt
Definition:
UpdateDataTypes.h:63
DDS::StringSeq
sequence< string > StringSeq
Definition:
DdsDcpsCore.idl:50
Generated by
1.8.13