awips2/nativeLib/rary.ohd.ofs/inc/ReachMethod.h
root 06a8b51d6d Initial revision of AWIPS2 11.9.0-7p5
Former-commit-id: 64fa9254b946eae7e61bbc3f513b7c3696c4f54f
2012-01-06 08:55:05 -06:00

53 lines
1.3 KiB
C++

//------------------------------------------------------------------------------
// ReachMethod - Derived class for methods that only act on reservoir
// components.
//------------------------------------------------------------------------------
// Copyright: See the COPYRIGHT file.
//------------------------------------------------------------------------------
// Notes:
//
//------------------------------------------------------------------------------
// History:
//
// 22 Apr 1998 Daniel K. Weiler, Riverside Technology, inc
// Created initial version.
//------------------------------------------------------------------------------
// Variables: I/O Description
//
//
//------------------------------------------------------------------------------
#ifndef ReachMethod_INCLUDED
#define ReachMethod_INCLUDED
#include "Method.h"
#include "Reach.h"
class ReachMethod : public Method
{
public:
ReachMethod( Reach* ); // Default constructor.
ReachMethod( const ReachMethod&, Reach* );
// Copy constructor.
virtual ~ReachMethod(); // Default destructor.
ReachMethod* copy( Component* ) = 0;
Reach* getOwner(); // returns _owner
virtual int solveMethod( TSDate&, int, double** = NULL ) = 0;
virtual int print( FILE* ) = 0;
virtual int freeDataSpace() = 0;
private:
int initialize();
protected:
Reach* _owner;
};
#endif