Main Lemma Repository
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

instrument.h 1.7KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /* This file is part of Lemma, a geophysical modelling and inversion API */
  2. /* This Source Code Form is subject to the terms of the Mozilla Public
  3. * License, v. 2.0. If a copy of the MPL was not distributed with this
  4. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  5. /**
  6. @file
  7. @author Trevor Irons
  8. @date 02/05/2010
  9. @version $Id: instrument.h 193 2014-11-10 23:51:41Z tirons $
  10. **/
  11. #ifndef __INSTRUMENT_H
  12. #define __INSTRUMENT_H
  13. #include "LemmaObject.h"
  14. namespace Lemma {
  15. // =======================================================================
  16. // Class: Instrument
  17. /// \brief Abstract class for instruments
  18. /// \details
  19. // =======================================================================
  20. class Instrument : public LemmaObject {
  21. friend std::ostream &operator<<(std::ostream &stream,
  22. const Instrument &ob);
  23. public:
  24. // ==================== LIFECYCLE ===========================
  25. // ==================== OPERATORS ===========================
  26. // ==================== OPERATIONS ===========================
  27. //virtual void ForwardModelOnOctreeMesh()=0;
  28. // ==================== ACCESS ===========================
  29. // ==================== INQUIRY ===========================
  30. // ==================== DATA MEMBERS ===========================
  31. protected:
  32. // ==================== LIFECYCLE ===========================
  33. /// Default protected constructor.
  34. Instrument (const std::string &name);
  35. /// Default protected constructor.
  36. ~Instrument ();
  37. private:
  38. }; // ----- end of class Instrument -----
  39. } // ----- end of Lemma name -----
  40. #endif // __INSTRUMENT_H