charmxi: Deprecate magic generation of mainchare constructor taking CkArgMsg
[charm.git] / src / ck-com / ComlibManager.ci
1 module comlib {
2   initproc void initConvComlibManager();
3 //  initproc void initCharmComlibManager();
4
5   message ComlibDummyMsg;
6   message ComlibMulticastMsg {
7     ComlibMulticastIndexCount indicesCount[];
8     CkArrayIndex indices[];
9     char usrMsg[];
10   };
11   //  message PrioMsg;
12
13   group [migratable] ComlibManager {
14     entry ComlibManager();
15
16     entry void barrier(void);
17     entry void resumeFromSetupBarrier();
18
19     entry void bracketedStartErrorRecoveryProcess(int instid, int step);         
20     entry void bracketedErrorDetected(int instid, int step);
21     entry void bracketedReceiveCount(int instid, int pe, int count, int isFirst, int step);
22     entry void bracketedConfirmCount(int instid, int step);
23     entry void bracketedCountConfirmed(int instid, int count, int step);
24     entry void bracketedReceiveNewCount(int instid, int step);
25     entry void bracketedDiscover(int instid, CkArrayID aid, CkArrayIndex &idx, int isSrc);
26     entry void bracketedContributeDiscovery(int instid, int pe, int nsrc, int ndest, int step);
27     entry void bracketedReceiveNewPeList(int instid, int step, int count[CkNumPes()]);
28     entry void bracketedReleaseCount(int instid, int step);
29     entry void bracketedReleaseBufferedMessages(int instid, int step);
30
31     entry void collectStats(ComlibLocalStats s, int src);
32   }
33
34   mainchare ComlibManagerMain {
35     entry ComlibManagerMain(CkArgMsg*);
36   }
37
38   PUPable EachToManyMulticastStrategy;  
39   PUPable DirectMulticastStrategy;
40   PUPable RingMulticastStrategy;        
41   PUPable MultiRingMulticastStrategy;
42   PUPable RectMulticastStrategy;
43   PUPable BroadcastStrategy;
44   PUPable PrioStreaming;
45   PUPable PipeBroadcastStrategy;
46  
47   PUPable OneTimeMulticastStrategy;     
48   PUPable OneTimeTreeMulticastStrategy;
49   PUPable OneTimeTopoTreeMulticastStrategy;
50   PUPable OneTimeRingMulticastStrategy;
51   PUPable OneTimeNodeTreeMulticastStrategy;
52   PUPable OneTimeNodeTreeRingMulticastStrategy;
53   PUPable OneTimeDimensionOrderedMulticastStrategy;
54   
55   PUPable ChunkMulticastStrategy;       
56   PUPable ChunkRingMulticastStrategy;   
57   PUPable ChunkTreeMulticastStrategy;   
58   PUPable ChunkPipeTreeMulticastStrategy;       
59
60   //PUPable CharmStrategy;
61   //PUPable MessageHolder;
62   //PUPable CharmMessageHolder;
63  //  PUPable ComlibArrayListener;
64
65 // PUPable DummyStrategy;
66 //  PUPable NodeMulticast;
67 //  PUPable StreamingStrategy;
68 //  PUPable MPIStrategy;
69 //  PUPable MeshStreamingStrategy;
70   
71 };