Marine systems simulation
CRandom.h
1#ifndef CRandom_H
2#define CRandom_H
53#include "CSrcBase.h"
54#include "SimObject.h"
55
56
68class CRandom : public CSrcBase
69{
70 public:
72 CRandom(std::string sSimObjectName, ISimObjectCreator* pCreator);
73 ~CRandom();
74
75 void FinalSetup(const double T, const double* const X, ISimObjectCreator* const creator);
76
77 private:
78 void CalcOutput(const double dTime, const double* const adX);
79
80
82 bool m_bConstRandom;
84 double m_TimeOfLastUpdate;
86 double* m_Random;
88 double* m_RandomMin;
90 double* m_RandomMax;
91};
92
93
94#endif
Definition: CRandom.h:69
CRandom(std::string sSimObjectName, ISimObjectCreator *pCreator)
Constructor.
Definition: CSrcBase.h:24