Changeset 1158 for XIOS/dev/dev_olga/src/filter/temporal_filter.hpp
- Timestamp:
- 06/06/17 17:58:16 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_olga/src/filter/temporal_filter.hpp
r643 r1158 40 40 CDataPacketPtr virtual apply(std::vector<CDataPacketPtr> data); 41 41 42 /*! 43 * Tests whether data is expected for the specified date. 44 * 45 * \param date the date associated to the data 46 */ 47 bool virtual isDataExpected(const CDate& date) const; 48 42 49 private: 43 boost::scoped_ptr<func::CFunctor> functor; //!< The functor corresponding to the temporal operation50 const boost::scoped_ptr<func::CFunctor> functor; //!< The functor corresponding to the temporal operation 44 51 CArray<double, 1> tmpData; //!< The array of data used for temporary storage 45 52 const CDuration samplingFreq; //!< The sampling frequency, i.e. the frequency at which the input data will be used 53 const CDuration samplingOffset; //!< The sampling offset, i.e. the offset after which the input data will be used 46 54 const CDuration opFreq; //!< The operation frequency, i.e. the frequency at which the output data will be computed 47 55 CDate nextSamplingDate; //!< The date of the next sampling 48 56 CDate nextOperationDate; //!< The date of the next operation 49 57 bool isFirstOperation; //!< True before the first operation was been computed 50 bool isOnceOperation; //!< True if the operation should be computed just once 58 const bool isOnceOperation; //!< True if the operation should be computed just once 59 const bool isInstantOperation; //!< True if the operation is instant 51 60 }; // class CTemporalFilter 52 61 } // namespace xios
Note: See TracChangeset
for help on using the changeset viewer.