Changeset 205 for XMLIO_V2/dev/dev_rv/src/xmlio/node/field.cpp
- Timestamp:
- 05/26/11 13:34:49 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XMLIO_V2/dev/dev_rv/src/xmlio/node/field.cpp
r202 r205 183 183 if (CXIOSManager::GetStatus() == CXIOSManager::LOC_SERVER) 184 184 { 185 this->freq_operation = CDuration::FromString(this->file->output_freq.getValue()); 186 this->freq_write = CDuration::FromString(this->file->output_freq.getValue()); 187 //this->foperation = boost::shared_ptr<func::CFunctor>(new CInstant()); 185 this->freq_operation = 186 CDuration::FromString(this->file->output_freq.getValue()); 187 this->freq_write = 188 CDuration::FromString(this->file->output_freq.getValue()); 189 this->foperation = 190 boost::shared_ptr<func::CFunctor>(new CInstant(this->data)); 188 191 } 189 192 else … … 192 195 this->freq_write = CDuration::FromString(this->file->output_freq.getValue()); 193 196 194 #define DECLARE_FUNCTOR(MType, mtype) \197 #define DECLARE_FUNCTOR(MType, mtype) \ 195 198 if (operation.getValue().compare(#mtype) == 0) \ 196 { /*this->foperation = boost::shared_ptr<func::CFunctor>(new C##MType()); */ \ 197 return; } 198 199 { \ 200 boost::shared_ptr<func::CFunctor> \ 201 foperation_(new C##MType(this->data)); \ 202 this->foperation = foperation_; \ 203 return; \ 204 } 199 205 200 206 #include "functor_type.conf"
Note: See TracChangeset
for help on using the changeset viewer.