Style for PEO

git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@906 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
canape 2008-01-25 16:14:06 +00:00
commit b74a446baa
82 changed files with 1946 additions and 1663 deletions

View file

@ -1,4 +1,4 @@
/*
/*
* <cooperative.h>
* Copyright (C) DOLPHIN Project-Team, INRIA Futurs, 2006-2007
* (C) OPAC Team, LIFL, 2002-2007
@ -43,38 +43,39 @@
typedef unsigned COOP_ID;
class Cooperative : public Communicable {
class Cooperative : public Communicable
{
public :
public :
Runner * getOwner ();
Runner * getOwner ();
void setOwner (Runner & __runner);
void setOwner (Runner & __runner);
virtual void pack () = 0;
virtual void pack () = 0;
virtual void unpack () = 0;
virtual void unpack () = 0;
virtual void packSynchronizeReq () = 0;
virtual void packSynchronizeReq () = 0;
void send (Cooperative * __coop);
void send (Cooperative * __coop);
void synchronizeCoopEx ();
void synchronizeCoopEx ();
virtual void notifySending ();
virtual void notifySending ();
virtual void notifyReceiving ();
virtual void notifyReceiving ();
virtual void notifySendingSyncReq ();
virtual void notifySendingSyncReq ();
virtual void notifySynchronized ();
virtual void notifySynchronized ();
private :
private :
Runner * owner;
Runner * owner;
};
};
extern Cooperative * getCooperative (COOP_ID __key);
extern Cooperative * getCooperative (COOP_ID __key);
#endif