56 double value = in.Value();
57 Print(
"Graph'%s': %g \n", Name().c_str(), value);
64 Graph *Graph::First = 0;
66 void Graph::CtrInit(
char *name)
76 Graph::Graph(
char *_name,
Input i,
double dTime) : in(i), TimeStep(dTime)
80 Dprintf((
"Graph::Graph(\"%s\")",_name));
88 Dprintf((
"Graph::~Graph() // \"%s\" ", Name().c_str()));
94 for(i=First; i && i->Next!=
this; i=i->Next);
102 void Graph::Behavior()
116 void Graph::StartSampling()
131 void Graph::StopSampling()
141 void Graph::Initialize()
144 for(p=First; p; p=p->Next)
void SetName(SimObject &o, const std::string &name)
assign name to object
int Print(const char *fmt,...)
for Output methods, can be redirected
Implementation of class CalendarList interface is static - using global functions in SQS namespace...
const double & Time
model time (is NOT the block)
void Passivate(Entity *e)
passivate entity e
const double & EndTime
time of simulation end
const SIMLIB_Phase_t & Phase
This variable contains the current phase of experiment (used for internal checking) ...
Internal header file for SIMLIB/C++.
void Activate(Entity *e)
activate entity e
Main SIMLIB/C++ interface.
const double & StartTime
time of simulation start