3 template<
typename t_
object>
9 template<
typename t_source>
11 template<
typename t_source>
12 void set(t_source
const & p_in) {
16 template<
typename t_destination>
17 void get(t_destination & p_out)
const {
21 t_object
get()
const {
25 template<
typename t_source>
26 const t_self &
operator=(t_source
const & p_source) {
set(p_source);
return *
this;}
34 template<
typename t_
object>
40 template<
typename t_source>
44 m_changed_flag = p_flag;
46 template<
typename t_source>
47 void set(t_source
const & p_in) {
50 m_changed_flag =
true;
54 return m_changed_flag;
57 template<
typename t_destination>
62 m_changed_flag =
false;
70 m_changed_flag =
false;
73 t_object
get(
bool & bHasChanged ) {
75 bHasChanged = m_changed_flag;
76 m_changed_flag =
false;
79 template<
typename t_destination>
80 void get(t_destination & p_out) {
83 m_changed_flag =
false;
85 template<
typename t_source>
86 const t_self &
operator=(t_source
const & p_source) {
set(p_source);
return *
this;}
bool get_if_changed(t_destination &p_out)
mutable::pfc::readWriteLock m_sync
void set_changed(bool p_flag=true)
syncd_storage< t_object > t_self
syncd_storage_flagged< t_object > t_self
volatile bool m_changed_flag
const t_self & operator=(t_source const &p_source)
const t_self & operator=(t_source const &p_source)
syncd_storage_flagged(const t_source &p_source, bool initChanged=false)
syncd_storage(const t_source &p_source)
mutable::pfc::readWriteLock m_sync