Changeset 731 for XIOS/trunk/src/event_client.hpp
- Timestamp:
- 10/13/15 15:14:23 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/event_client.hpp
r591 r731 8 8 namespace xios 9 9 { 10 11 10 class CEventClient 12 11 { 13 12 public: 14 15 // CEventClient(CContextClient& client,int nbSender,list<int>& serverList); 16 CEventClient(int classId, int typeId); 17 void push(int rank,int nbSender, CMessage& msg) ; 13 static const size_t headerSize; 18 14 19 // list<CBufferOut*> newEvent(int classId, int type, list<int> sizes) ; 20 list<int> getRanks(void) ; 21 list<int> getSizes(void) ; 22 void send(list<CBufferOut*>&) ; 23 bool isEmpty(void) ; 24 list<int> ranks ; 25 list<int> nbSenders ; 26 list<CMessage*> messages ; 27 // CContextClient* client ; 28 int classId ; 29 int typeId ; 30 } ; 15 CEventClient(int classId, int typeId); 31 16 17 void push(int rank, int nbSender, CMessage& msg); 18 void send(size_t timeLine, const std::list<int>& sizes, std::list<CBufferOut*>&); 19 20 bool isEmpty(void); 21 std::list<int> getRanks(void); 22 std::list<int> getSizes(void); 23 24 private: 25 int classId; 26 int typeId; 27 std::list<int> ranks; 28 std::list<int> nbSenders; 29 std::list<CMessage*> messages; 30 }; 32 31 } 33 32
Note: See TracChangeset
for help on using the changeset viewer.