trick/trick_source/sim_services/MonteCarlo/include/MonteVarFixed.hh

45 lines
1.0 KiB
C++
Raw Normal View History

2015-02-26 15:02:31 +00:00
/*
PURPOSE: (Monte carlo structures)
REFERENCE: (Trick Users Guide)
ASSUMPTIONS AND LIMITATIONS: (None)
PROGRAMMERS: ((Keith Vetter) (LinCom) (7/2003))
*/
#ifndef MONTEVARFIXED_HH
#define MONTEVARFIXED_HH
2015-02-26 15:02:31 +00:00
#include <string>
#include "MonteVar.hh"
namespace Trick {
/**
* A variable whose value is fixed.
*
* @author Alex Lin
* @author Donna Panter
* @author Derek Bankieris
*
* @date August 2010
*/
class MonteVarFixed : public Trick::MonteVar {
public:
/**
* Constructs a MonteVarFixed with the specified name, value, and units.
*
* @param name the fully qualified name of the simulation variable to which this MonteVarFixed refers
* @param value this variable's value
* @param unit this variable's units
*/
MonteVarFixed(std::string name, double value, std::string unit = "");
protected:
virtual std::string get_next_value();
};
};
#endif