gala_clients/DIS_group/src/GroupApp.cxx
//
// Sends the list of active groups to some rtl:
//
Sends the list of active groups to some rtl.
Sends the list of active groups to some rtl .
void GroupApp::Refresh(const int rtl_id)
{
  Initialize(GroupApp::Refresh);
  if (rtl_id > 0) {
    RTListServer *rtl = RTListServer::find(rtl_id);
    if (rtl) {
      symbolArr sel;
      rtl->getSelArr(sel);
      rtl->clear();
      symbolArr groups;
      GetGroups(groups);
      rtl->insert(groups);
      rtl->select(sel);
      if (debugLevel > 0)
	 OSapi_printf("GroupApp: Refreshed RTL: %d.\n", rtl_id);
    }
  }
}
void GroupApp :: Refresh ( const int rtl_id ) { Initialize ( GroupApp :: Refresh ) ; if ( rtl_id > 0 ) { RTListServer * rtl = RTListServer :: find ( rtl_id ) ; if ( rtl ) { symbolArr sel ; rtl -> getSelArr ( sel ) ; rtl -> clear ( ) ; symbolArr groups ; GetGroups ( groups ) ; rtl -> insert ( groups ) ; rtl -> select ( sel ) ; if ( debugLevel > 0 ) OSapi_printf ( " \n " , rtl_id ) ; } } }
Sends the list of active groups to some rtl:
Sends the list of active groups to some rtl :