persistent/Persistent.hpp
/** constructor 1 is for building a persistent<T> locally, load/create a
       * log and register itself to a persistent registry.
       * @param object_name This name is used for persistent data in file.
       * @param persistent_registry A normal pointer to the registry.
       */
constructor 1 is for building a persistent locally, load/create a
log and register itself to a persistent registry.
@param object_name This name is used for persistent data in file.
@param persistent_registry A normal pointer to the registry.
constructor 1 is for building a persistent locally load / create a log and register itself to a persistent registry . @param object_name This name is used for persistent data in file . @param persistent_registry A normal pointer to the registry .
Persistent(
        const char * object_name = nullptr,
        PersistentRegistry * persistent_registry = nullptr)
        noexcept(false)
        : m_pRegistry(persistent_registry) {
        initialize_log((object_name==nullptr)?
          (*Persistent::getNameMaker().make(persistent_registry?persistent_registry->get_subgroup_prefix():nullptr)).c_str() : object_name);
        initialize_object_from_log();
        register_callbacks();
      }
Persistent ( const char * object_name = nullptr , PersistentRegistry * persistent_registry = nullptr ) noexcept ( false ) : m_pRegistry ( persistent_registry ) { initialize_log ( ( object_name == nullptr ) ? ( * Persistent :: getNameMaker ( ) . make ( persistent_registry ? persistent_registry -> get_subgroup_prefix ( ) : nullptr ) ) . c_str ( ) : object_name ) ; initialize_object_from_log ( ) ; register_callbacks ( ) ; }
constructor 1 is for building a persistent<T> locally, load/create a
 log and register itself to a persistent registry.
constructor 1 is for building a persistent<T > locally load / create a log and register itself to a persistent registry .
// Initialize log // Initialize object // Register Callbacks