Changeset 2490 in Sophya for trunk/SophyaPI/PIext/piacmd.cc


Ignore:
Timestamp:
Jan 2, 2004, 12:31:36 AM (22 years ago)
Author:
ansari
Message:

Suite modifs pour piapp multi-thread - introduction de lock lors de la mise a jour de la fenetre ObjMgr par NamedObjMgr - Reza 1 Jan 2004

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PIext/piacmd.cc

    r2489 r2490  
    146146// static PIACmd* curpiacmd = NULL;
    147147/* --Methode-- */
    148 PIACmd::PIACmd(NamedObjMgr* omg, PIStdImgApp* app)
     148PIACmd::PIACmd(PIStdImgApp* app)
    149149  : Commander()
    150150{
    151 mObjMgr = omg;
     151mObjMgr = new NamedObjMgr;
    152152mImgApp = app;
    153153helpwin = new PIAHelpWind(app, this);
     
    165165RegisterCommand(kw, usage, NULL, grp);
    166166
    167 basexec = new PIABaseExecutor(this, omg, app);
     167basexec = new PIABaseExecutor(this, mObjMgr, app);
    168168fitexec = new PIAFitter(this, app);
    169169pawexec = new PAWExecutor(this, app);
     
    188188PIACmd::~PIACmd()
    189189{
    190  
     190delete mObjMgr;
    191191delete helpwin;
    192192delete cxxexwin;
Note: See TracChangeset for help on using the changeset viewer.