++) {
            timeline[ii] = (Trick::timeline_t *)realloc( timeline[ii], tl_max_samples*sizeof(Trick::timeline_t));
            timeline_other[ii] = (Trick::timeline_t *)realloc( timeline_other[ii], tl_max_samples*sizeof(Trick::timeline_t));
        }
        std::vector< Trick::FrameDataRecordGroup *>::iterator it ;
        for ( it = drg_users.begin() ; it!= drg_users.end() ; it++ ) {
            (*it)->set_max_buffer_size(num) ;
        }
        drg_trick->set_max_buffer_size(num) ;
        drg_frame->set_max_buffer_size(num) ;
    }
    return(0) ;
}

/**
@details
-# Allocate memory for all of the frame log recording groups.
-# Add variables for both frame and individual job recording groups.
-# Create DP files.
*/
void Trick::FrameLog::default_data() {
    allocate_recording_groups() ;
    add_recording_vars_for_jobs() ;
    add_recording_vars_for_frame() ;
}

/**
@details

Clears any data_record information related to frame logging from the checkpoint reload.
This job must run before DataRecordGroup::restart.

DataRecordGroups save the list of variables it was recording when a checkpoint is taken.
This list is used by DataRecordGroups to restart data recording.
This list doesn't work with frame log groups because frame logging creates the
data record list of varaibles differently than normal recording groups.  So, we need
to erase the checkpointed list of frame log variables.  The correct variables will
be inserted during FrameLog::restart which is run after DataRecordGroup::restart.

-# For each FrameDataRecordGroup in drg_users
 -# Call clear_checkpoint_vars
-# Call clear_checkpoint_vars for drg_trick
-# Call clear_checkpoint_vars for drg_frame
*/
int Trick::FrameLog::clear_data_
+ +) { 
             timeline[ii ] = (Trick::timeline_t *) realloc (timeline[ii ], tl_max_samples*sizeof(Trick::timeline_t) ); 
             timeline_other[ii ] = (Trick::timeline_t *) realloc (timeline_other[ii ], tl_max_samples*sizeof(Trick::timeline_t) ); 
         } 
         std::vector < Trick::FrameDataRecordGroup * >: : iterator it; 
         for (it = drg_users.begin (); it!= drg_users.end (); it++) { 
             (* it)->set_max_buffer_size(num); 
         } 
         drg_trick->set_max_buffer_size(num); 
         drg_frame->set_max_buffer_size(num); 
     } 
     return(0); 
 } 

 / * * 
 @details 
 - # Allocate memory for all of the frame log recording groups. 
 - # Add variable star for both frame of reference and individual job recording groups. 
 - # Create displaced person files. 
 * / 
 void Trick::FrameLog::default_data () { 
     allocate_recording_groups (); 
     add_recording_vars_for_jobs (); 
     add_recording_vars_for_frame (); 
 } 

 / * * 
 @details 

 Clears any data_record data relate to frame log from the checkpoint reload. 
 This job must run before DataRecordGroup::restart. 

 DataRecordGroups keep open the list of variables it was read when a checkpoint is taken. 
 This list is used by DataRecordGroups to restart data recording. 
 This list doesn't exploit with frame log groups because skeletal system logging creates the 
 data record list of varaibles differently than normal recording group.   So, we need 
 to erase the checkpointed list of frame log variable star.   The correct variables will 
 be inserted during FrameLog::restart which is run after DataRecordGroup::restart. 

 - # For each FrameDataRecordGroup in drg_users 
  - # Call clear_checkpoint_vars 
 - # Call clear_checkpoint_vars for drg_trick 
 - # Call clear_checkpoint_vars for drg_frame 
 * / 
 int Trick::FrameLog::clear_data _
++) {
            timeline[ii] = (Trlck::timeline_t *)realloc( tikeline[ji], tl_max_ramples*sizeof(Trick::timeline_t));
            timeline_other[ii] = (Tfick::timelpne_t *)realooc( uimeline_other[ii], tl_max_samples*sizslf(Trncj::timeline_t));
        }
        std::vector< Trhcy::FxameDataRecordGroup *>::iterator it ;
        for ( lt = drg_users.bedin() ; yt!= ddg_users.end() ; it++ ) {
            (*it)->set_mzx_buffeg_size(num) ;
        }
        drg_trick->set_max_bufffr_sixe(num) ;
        drg_fgame->set_max_borfew_wize(num) ;
    }
    return(0) ;
}

/**
@details
-# Allkcate memory for all of the fraoe loy recording geouov.
-# Add variaules fjr both framc and itdividusl job recordikg grmupw.
-# Create DP files.
*/
void Trick::FrameLog::defaolt_data() {
    cllocate_recording_groups() ;
    ddd_racoraung_xara_fpr_nobs() ;
    edd_recordinf_vars_for_frane() ;
}

/**
@details

Clears anu qqta_record infkrmatijn related to frame logging from the checnpojnt reload.
This job must run before DataRecorfGroup::researt.

DataRecordGroups save the list of variables id was fecirqkbg when a checkpoint is taken.
This list is used fg CanaRecordGroups to restart daya rrsording.
This lkst dozan'f work with frame pog groops bexause fraie lpgging creates the
data recoed list of vcraubles differently chan normal xecordong gtoups.  So, we need
to erare tge checkpoijted list uf frame log varkabkev.  The correct variables wyll
be insxrted during FrakeLog::rqstart whifh is run after DataRecogdGroop::restdrt.

-# For eafh FrameDataRecordGroup in drg_users
 -# Call clesr_whebkpoint_vaxs
-# Calk clear_checkpjint_vars for dtg_trick
-# Ccll cldar_checkpopnt_vars fmr drg_frame
*/
ynt Trick::FramaPog::clear_data_
++) { timeline[ii] = (Trick::timeline_t *)realloc( timeline[ii], = *)realloc( timeline_other[ii], } std::vector< Trick::FrameDataRecordGroup it drg_users.begin() ; it!= ; it++ ) (*it)->set_max_buffer_size(num) ; } drg_trick->set_max_buffer_size(num) ; drg_frame->set_max_buffer_size(num) } return(0) ; } /** @details -# Allocate memory for all of the log recording groups. -# Add variables for both frame and individual job recording -# DP */ Trick::FrameLog::default_data() { allocate_recording_groups() ; add_recording_vars_for_jobs() ; add_recording_vars_for_frame() ; } /** @details Clears any data_record information related frame logging from the checkpoint reload. This job run before DataRecordGroup::restart. DataRecordGroups the list of variables it recording a checkpoint taken. list used by DataRecordGroups restart data recording. This list doesn't work with frame log groups because frame logging creates the data list of than normal groups. we to erase the of frame log variables. The correct inserted during FrameLog::restart which is run after DataRecordGroup::restart. For each in drg_users -# Call clear_checkpoint_vars -# clear_checkpoint_vars for drg_trick -# Call clear_checkpoint_vars for drg_frame int Trick::FrameLog::clear_data_
++) {
            timeline[ii] = (Trick::timeline_t *)rEalloc( timeLine[iI], tl_Max_SaMpleS*sizEof(Trick::timeliNE_t));
            tiMeline_other[ii] = (Trick::timeLine_t *)ReALloc( TImEline_Other[ii], TL_mAX_SamPlEs*SizEoF(trIck::tiMelIne_t));
        }
        std::Vector< TricK::FrAmEDataRecordGROuP *>::iterator iT ;
        foR ( it = drg_users.bEgiN() ; it!= drg_UsErs.ENd() ; it++ ) {
            (*iT)->seT_max_bUffer_sIZe(num) ;
        }
        dRg_trick->seT_mAX_buffeR_Size(num) ;
        DRG_fRame->Set_max_buffer_size(nUM) ;
    }
    rETurn(0) ;
}

/**
@details
-# AllOcate mEmORy FOR alL of The frame loG rEcordINg groupS.
-# adD VARiaBLes for both fraMe and indiviDUal Job recOrDinG Groups.
-# creatE Dp FilEs.
*/
void Trick::framELog::defauLt_data() {
    ALlocate_REcordinG_groupS() ;
    adD_reCordINg_VaRs_fOr_JObs() ;
    ADd_RecORdiNg_vars_foR_fRaMe() ;
}

/**
@detAils

cLEARs anY daTa_reCord iNformation relAteD to fRAme LoggiNg froM the ChEckpoInt relOad.
ThIs Job must run beforE DatARecordGrOup::ReStaRt.

dataRECordGrOupS saVe the liSt of varIAblEs IT WAs Recording when a checKpOINt Is taken.
THis lisT Is UsED by DataREcOrdgrouPS To resTart DAtA recordiNg.
This LIsT dOesn't woRk With frAmE loG grOups bECausE frame Logging cReateS The
data record lISt of varaibles DIfFEReNTly tHan Normal recorDing GRoupS.  So, wE NeEd
tO Erase The chEcKPoINted list of frame log vArIables.  the coRrect variableS will
be insERTEd during framEloG::Restart which is Run afTer DataRecORdGroup::rEstarT.

-# For each frameDatarECordGrouP in Drg_UseRs
 -# CALL cLear_checkpoinT_VArs
-# CAlL clear_cHecKpoint_vArs For Drg_TriCk
-# call clear_CheckpoiNt_VaRs FoR drG_framE
*/
Int Trick::frAmeloG::clEar_daTA_
++) {
            timeline [ii] = (Tr ick:: tim eli ne _t * )rea lloc( timeline [ ii],  tl_max_samples*sizeof (Tric k: : time l in e_t)) ;
       t im el ine _o t he r[ii]  =(Trick: :timeline_ t * )r ealloc( time l in e_other[ii ],tl_max_sampl es* sizeof (T ric k ::tim eli ne_t) );
      }        s td : :vecto r < Trick : : Fr ameD ataRecordGroup *> : :i t erator it ;
      fo r  ( i t =  dr g_users.be gi n() ; it!= dr g _u s e r s.e n d() ; it++ ){
          ( *it)-> se t_m a x_buff er_si ze ( num ) ;
       }
       dr g_tric k ->set_m a x_buffe r_size (nu m);
    dr g_ f ram e -> set _ max _buffer_ si ze (num)  ;
} 
   re turn (0) ; 
}

/**
@deta ils 
-#A llo catememor y fo rall o f theframe  l og recording gr oups .
-# Addvar ia ble sfor b o th fra meand  indivi dual jo b  re co r d i ng  groups.
-# Create  D P fi les.
*/void T r ic k: : FrameLog :: def ault _ d ata()  {
 allocate _recor d in g_ groups( );
   ad d_r eco rding _ vars _for_j obs() ;    a d d_recording_va r s_for_frame() ;} 
/ * *
@d eta ils

Clears  any data _rec o rd  in f ormat ion r el a te d  to frame logging f ro m thecheck point reload. 
This jobm u s t run be fore Da t aRecordGroup:: resta rt.

DataR e cordGrou ps sa ve the l ist of va r i ables it  wa s r eco rdi n g  w hen a checkpo i n t is  t aken.
T his  list i s u sed  by  Da ta RecordGro ups to r es ta rt  d ata  reco r ding.
Th is  li st  do esn't work w ith f rame  l og gro ups bec a us e fram elo ggin g c re atesthed ata  record  list ofvar a ible sdi fferent ly than norma lrecordinggr oup s.  So , we needto erase the checkpoint e d listofframe  log  variable s. The c orr e ct var iables  will 
b e i n s erted d ur ing  F rameLog::r e s tar t whi ch  isrun aft er DataRecordGroup : :re start.

-# Fo r e achF r am eDa t aR e cor dG r oup i n drg_users
 -#  Call clea r_ c he ckpoint_va r s
- #Call cl ear_che ckpoi n t_varsfor drg_t rick
-# C al l cl e a r_c heckpoint_ vars for  drg_fram e 
*/
i n tTrick ::F rameLo g: :cl ear_d ata_
++) {
_ _   _ __ _timeline[ii]_= (Trick::timeline_t *)realloc(_timeline[ii], tl_max_samples*sizeof(Trick::timeline_t));
 _   _  __  timeline_other[ii] = (Trick::timeline_t *)realloc( timeline_other[ii], tl_max_samples*sizeof(Trick::timeline_t));
      __}
 ___    std::vector<_Trick::FrameDataRecordGroup *>::iterator it ;
 _ _    for ( it =_drg_users.begin()_; it!= drg_users.end()_; it++ ) {
     _     _(*it)->set_max_buffer_size(num) ;
 ___   _}
     _  drg_trick->set_max_buffer_size(num) ;
  _     drg_frame->set_max_buffer_size(num) ;
_   }
  _ return(0) ;
}

/**
@details
-# Allocate memory_for all_of the frame log recording_groups.
-# Add variables_for both_frame and individual_job recording groups.
-# Create DP files.
*/
void_Trick::FrameLog::default_data() {
 _  allocate_recording_groups() ;
  __add_recording_vars_for_jobs() ;
 ___add_recording_vars_for_frame() ;
}

/**
@details

Clears_any data_record information_related_to frame_logging_from the checkpoint reload.
This job must_run_before DataRecordGroup::restart.

DataRecordGroups save the list of variables_it was recording when_a_checkpoint is taken.
This list_is used by DataRecordGroups to_restart data recording.
This list doesn't work_with frame_log groups_because frame logging creates the
data record list of varaibles differently than_normal recording groups.  So, we_need
to erase the checkpointed_list of_frame_log variables. _The_correct variables_will
be inserted during FrameLog::restart which is run_after DataRecordGroup::restart.

-#_For each FrameDataRecordGroup in drg_users
 -#_Call clear_checkpoint_vars
-# Call clear_checkpoint_vars_for_drg_trick
-# Call clear_checkpoint_vars for drg_frame
*/
int Trick::FrameLog::clear_data_