VR-Forces 4.0.4 Class Documentation
include/vrfplanmgr/evalResourceOp.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2002 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: evalResourceOp.h,v $ $Revision: 1.6 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00012 #ifndef DtEvalResourceOp_H_
00013 #define DtEvalResourceOp_H_
00014 
00015 #include "vrfutil/evaluator.h"
00016 #include <vlutil/vlString.h>
00017 
00024 
00025 class DtCeResourceOperator;
00026 
00027 #include "vrfplanmgr/vrfplanmgrDefines.h"
00028 class DT_DLL_vrfplanmgr DtEvalResourceOp : public DtEvaluator
00029 {
00030 public:
00031 
00033    DtEvalResourceOp();
00034 
00036    virtual ~DtEvalResourceOp();
00037 
00039    DtEvalResourceOp(const DtEvalResourceOp& orig);
00040 
00042    DtEvalResourceOp& operator=(const DtEvalResourceOp& orig);
00043 
00045    virtual DtEvaluator* clone();
00046 
00054    virtual bool evaluate(DtSimCondExpr* condExpr, 
00055       const DtString& echelonId, DtSimManager* simManager) const;
00056 
00057 public:
00058 
00060    static DtEvaluator * creator();
00061 
00062 protected:
00063 
00066    virtual bool getResourceValue(const DtCeResourceOperator& ceResourceOp,
00067       const DtString& echelonId, DtSimManager* simManager, 
00068       DtReal& result) const;
00069 };
00070 
00071 #endif

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)