#include <Save_Persist_Worker_T.h>
Inheritance diagram for TAO_Notify::Save_Persist_Worker< TOPOOBJ >:
Public Member Functions | |
Save_Persist_Worker (Topology_Saver &saver, bool want_all_children) | |
virtual void | work (TOPOOBJ *o) |
Private Attributes | |
Topology_Saver & | saver_ |
bool | want_all_children_ |
Definition at line 32 of file Save_Persist_Worker_T.h.
TAO_Notify::Save_Persist_Worker< TOPOOBJ >::Save_Persist_Worker | ( | Topology_Saver & | saver, | |
bool | want_all_children | |||
) |
/brief Constructor /param saver the object that will save persistent information. /param want_all_children if true, unmodified children should be saved, too.
Definition at line 25 of file Save_Persist_Worker_T.cpp.
00027 : saver_ (saver) 00028 , want_all_children_ (want_all_children) 00029 { 00030 }
void TAO_Notify::Save_Persist_Worker< TOPOOBJ >::work | ( | TOPOOBJ * | o | ) | [virtual] |
Implements TAO_ESF_Worker< TOPOOBJ >.
Definition at line 34 of file Save_Persist_Worker_T.cpp.
References ACE_ASSERT, and TAO_Notify::Save_Persist_Worker< TOPOOBJ >::saver_.
00035 { 00036 ACE_ASSERT(o != 0); 00037 if (this->want_all_children_ || o->is_changed ()) 00038 { 00039 o->save_persistent (saver_); 00040 } 00041 }
Topology_Saver& TAO_Notify::Save_Persist_Worker< TOPOOBJ >::saver_ [private] |
Definition at line 46 of file Save_Persist_Worker_T.h.
Referenced by TAO_Notify::Save_Persist_Worker< TOPOOBJ >::work().
bool TAO_Notify::Save_Persist_Worker< TOPOOBJ >::want_all_children_ [private] |
Definition at line 47 of file Save_Persist_Worker_T.h.