Recorder.hGo to the documentation of this file.00001 /* ****************************************************************** ** 00002 ** OpenSees - Open System for Earthquake Engineering Simulation ** 00003 ** Pacific Earthquake Engineering Research Center ** 00004 ** ** 00005 ** ** 00006 ** (C) Copyright 1999, The Regents of the University of California ** 00007 ** All Rights Reserved. ** 00008 ** ** 00009 ** Commercial use of this program without express permission of the ** 00010 ** University of California, Berkeley, is strictly prohibited. See ** 00011 ** file 'COPYRIGHT' in main directory for information on usage and ** 00012 ** redistribution, and for a DISCLAIMER OF ALL WARRANTIES. ** 00013 ** ** 00014 ** Developed by: ** 00015 ** Frank McKenna (fmckenna@ce.berkeley.edu) ** 00016 ** Gregory L. Fenves (fenves@ce.berkeley.edu) ** 00017 ** Filip C. Filippou (filippou@ce.berkeley.edu) ** 00018 ** ** 00019 ** ****************************************************************** */ 00020 00021 // $Revision: 1.5 $ 00022 // $Date: 2004/11/24 22:41:22 $ 00023 // $Source: /usr/local/cvs/OpenSees/SRC/recorder/Recorder.h,v $ 00024 00025 00026 #ifndef Recorder_h 00027 #define Recorder_h 00028 00029 // Written: fmk 00030 // Created: 11/98 00031 // Revision: A 00032 // 00033 // Description: This file contains the class definition for Recorder. 00034 // Recorder is an abstract base class. An Recorder object is used 00035 // in the program to store/restore information at each commit(). 00036 // 00037 // What: "@(#) Recorder.h, revA" 00038 00039 class Domain; 00040 #include <MovableObject.h> 00041 00042 class Recorder: public MovableObject 00043 { 00044 public: 00045 Recorder(int classTag); 00046 virtual ~Recorder(); 00047 00048 virtual int record(int commitTag, double timeStamp) =0; 00049 00050 00051 virtual int restart(void); 00052 virtual int setDomain(Domain &theDomain); 00053 virtual int sendSelf(int commitTag, Channel &theChannel); 00054 virtual int recvSelf(int commitTag, Channel &theChannel, 00055 FEM_ObjectBroker &theBroker); 00056 protected: 00057 00058 private: 00059 }; 00060 00061 00062 #endif 00063 |