Changeset 1021 for XIOS/dev/dev_olga/src/node/field.hpp
- Timestamp:
- 01/10/17 14:36:29 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_olga/src/node/field.hpp
r1009 r1021 16 16 #include "transformation_enum.hpp" 17 17 #include "variable.hpp" 18 #include "context_client.hpp" 18 19 19 20 … … 124 125 boost::shared_ptr<COutputPin> getSelfReference(CGarbageCollector& gc); 125 126 boost::shared_ptr<COutputPin> getTemporalDataFilter(CGarbageCollector& gc, CDuration outFreq); 127 boost::shared_ptr<COutputPin> getSelfTemporalDataFilter(CGarbageCollector& gc, CDuration outFreq); 126 128 127 129 // virtual void fromBinary(StdIStream& is); … … 139 141 static bool dispatchEvent(CEventServer& event); 140 142 void sendUpdateData(const CArray<double,1>& data); 141 void sendUpdateData(const CArray<double,1>& data, const int srvPool);143 void sendUpdateData(const CArray<double,1>& data, CContextClient* client); 142 144 static void recvUpdateData(CEventServer& event); 143 145 void recvUpdateData(vector<int>& ranks, vector<CBufferIn*>& buffers); 144 146 void writeField(void); 145 void sendReadDataRequest( void);147 void sendReadDataRequest(const CDate& tsDataRequested); 146 148 bool sendReadDataRequestIfNeeded(void); 147 149 static void recvReadDataRequest(CEventServer& event); … … 169 171 CVariableGroup* addVariableGroup(const string& id = ""); 170 172 void sendAddVariable(const string& id = ""); 171 void sendAddVariable(const string& id, const int srvPool);173 void sendAddVariable(const string& id, CContextClient* client); 172 174 void sendAddVariableGroup(const string& id = ""); 173 175 static void recvAddVariable(CEventServer& event); … … 176 178 void recvAddVariableGroup(CBufferIn& buffer); 177 179 void sendAddAllVariables(); 178 void sendAddAllVariables(const int srvPool); 179 180 void sendAddAllVariables(CContextClient* client); 180 181 181 182 const std::vector<StdString>& getRefDomainAxisIds(); 183 184 const string& getExpression(void); 185 bool hasExpression(void) const; 182 186 183 187 public: … … 194 198 bool isEOF; 195 199 CDate lastlast_Write_srv, last_Write_srv, last_operation_srv; 196 CDate lastDataRequestedFromServer; 200 CDate lastDataRequestedFromServer, lastDataReceivedFromServer; 201 bool wasDataAlreadyReceivedFromServer; 197 202 198 203 map<int,boost::shared_ptr<func::CFunctor> > foperation_srv; … … 204 209 bool isReferenceSolved; 205 210 std::vector<StdString> domAxisScalarIds_; 206 bool isReadDataRequestPending;207 211 bool useCompressedOutput; 212 213 // Two variables to identify the time_counter meta data written in file, which has no time_counter 214 bool hasTimeInstant; 215 bool hasTimeCentered; 208 216 209 217 DECLARE_REF_FUNC(Field,field)
Note: See TracChangeset
for help on using the changeset viewer.