blob: 8626e351417c575f0ae531ac9169c025ad1d947b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
// $Id$
#include "dds4ccm/impl/Coherent_Changes_Guard.h"
CIAO::DDS4CCM::Coherent_Changes_Guard::Coherent_Changes_Guard (
DDSPublisher* p,
bool coherent_write) :
p_ (p),
coherent_write_ (coherent_write)
{
if (this->coherent_write_)
{
p_->begin_coherent_changes ();
}
}
CIAO::DDS4CCM::Coherent_Changes_Guard::~Coherent_Changes_Guard ()
{
if (this->coherent_write_)
{
this->p_->end_coherent_changes ();
}
}
|