Response.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.6 $ 00022 // $Date: 2003/02/14 23:01:50 $ 00023 // $Source: /usr/local/cvs/OpenSees/SRC/recorder/response/Response.h,v $ 00024 00025 // Written: MHS 00026 // Created: Oct 2000 00027 // 00028 // Description: This file contains the Response class interface 00029 00030 #ifndef Response_h 00031 #define Response_h 00032 00033 class ID; 00034 class Vector; 00035 class Matrix; 00036 class Tensor; 00037 00038 #include <Information.h> 00039 00040 class Response 00041 { 00042 public: 00043 Response(void); 00044 Response(int val); 00045 Response(double val); 00046 Response(const ID &val); 00047 Response(const Vector &val); 00048 Response(const Matrix &val); 00049 Response(const Tensor &val); 00050 00051 virtual ~Response(); 00052 00053 virtual int getResponse(void) = 0; 00054 virtual Information &getInformation(void); 00055 00056 virtual void Print(OPS_Stream &s, int flag = 0); 00057 virtual void Print(ofstream &s, int flag = 0); 00058 00059 protected: 00060 Information myInfo; 00061 00062 private: 00063 00064 }; 00065 00066 00067 #endif |