Changeset 3366 in Sophya for trunk/SophyaPI/PIext/pisiadw.h


Ignore:
Timestamp:
Oct 30, 2007, 1:57:40 PM (18 years ago)
Author:
ansari
Message:

Tentative pour regler le probleme de blocage de piapp suite a affichage de la fefenetre de gestion d'objets.

1/ Protection dans NamedObjMgr() pour eviter deadlock de mutex (ds NamedObjMgr::UpdateObjMgrWindow() en particulier)
2/ Introduction de la classe SOpExObj (fichier piacmd.h .cc) pour execution d'operations sur objets, initiees depuis la boucle d'evts, dans un thread separe.

Reza , 30/10/2007

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PIext/pisiadw.h

    r2762 r3366  
    2929  ~ObjMgrWind();
    3030  virtual void  Show();
     31  virtual void  Hide();
    3132  virtual void  Process(PIMessage msg, PIMsgHandler* sender, void* data=NULL);
    3233  inline  void  AddDirectory(const char * dir, int did)
     
    3940                    { mNitem++;  objlist->AppendItem(objn, oid); }
    4041  inline  int   GetCurDirId() { return (dirlist->GetValue()-30000); }
     42
     43  inline  void  SetCurDir(string & cd) { dirlist->SetValueStr(cd); }
    4144
    4245  virtual void  UpdateList(int did);
Note: See TracChangeset for help on using the changeset viewer.