Last change
on this file since 1929 was
1377,
checked in by ymipsl, 7 years ago
|
- Add more debugging information at info_level 100
- Enforce synchronisation check for event on client side, using parameter "check_event_sync" at true
YM
|
-
Property copyright set to
Software name : XIOS (Xml I/O Server) http://forge.ipsl.jussieu.fr/ioserver Creation date : January 2009 Licence : CeCCIL version2 see license file in root directory : Licence_CeCILL_V2-en.txt or http://www.cecill.info/licences/Licence_CeCILL_V2-en.html Holder : CEA/LSCE (Laboratoire des Sciences du CLimat et de l'Environnement) CNRS/IPSL (Institut Pierre Simon Laplace) Project Manager : Yann Meurdesoif yann.meurdesoif@cea.fr
|
File size:
779 bytes
|
Rev | Line | |
---|
[300] | 1 | #ifndef __EVENT_CLIENT_HPP__ |
---|
| 2 | #define __EVENT_CLIENT_HPP__ |
---|
| 3 | |
---|
[591] | 4 | #include "xios_spl.hpp" |
---|
[367] | 5 | #include "buffer_out.hpp" |
---|
| 6 | #include "message.hpp" |
---|
[300] | 7 | |
---|
[335] | 8 | namespace xios |
---|
[300] | 9 | { |
---|
| 10 | class CEventClient |
---|
| 11 | { |
---|
| 12 | public: |
---|
[731] | 13 | static const size_t headerSize; |
---|
[300] | 14 | |
---|
[731] | 15 | CEventClient(int classId, int typeId); |
---|
[300] | 16 | |
---|
[731] | 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); |
---|
[1377] | 23 | int getClassId(void) { return classId; } |
---|
| 24 | int getTypeId(void) { return typeId; } |
---|
| 25 | |
---|
[731] | 26 | private: |
---|
| 27 | int classId; |
---|
| 28 | int typeId; |
---|
| 29 | std::list<int> ranks; |
---|
| 30 | std::list<int> nbSenders; |
---|
| 31 | std::list<CMessage*> messages; |
---|
| 32 | }; |
---|
[300] | 33 | } |
---|
| 34 | |
---|
| 35 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.