|
SIMLIB/C++ 3.09
|
Simple test model. More...
#include "simlib.h"
Go to the source code of this file.
Classes | |
| struct | Test |
| class | TestProcess |
Macros | |
| #define | SIMLIB_DEBUG |
| #define | I_REALLY_KNOW_HOW_TO_USE_WAITUNTIL |
Functions | |
| void | Sample () |
| int | main () |
Variables | |
| Constant | F (1.0) |
| Test | t (F) |
| TestProcess | globalprocess |
| Sampler | S (Sample, 1) |
Simple test model.
Definition in file _test_.cc.
| int main | ( | ) |
Definition at line 44 of file _test_.cc.
References simlib3::Process::Activate(), simlib3::Activate(), globalprocess, simlib3::Init(), simlib3::Print(), simlib3::Run(), simlib3::SetAccuracy(), simlib3::SetStep(), and simlib3::Time.
| void Sample | ( | ) |
Definition at line 38 of file _test_.cc.
References simlib3::Print(), t, simlib3::T, Test::v, simlib3::Integrator::Value(), simlib3::Status::Value(), simlib3::aContiBlock::Value(), and Test::y.
| Constant F(1.0) | ( | 1. | 0 | ) |
| TestProcess globalprocess |
Referenced by simlib3::Entity::Activate(), simlib3::Process::Activate(), simlib3::Event::Activate(), simlib3::EventNoticeAllocator::alloc(), simlib3::EventNotice::Create(), simlib3::CalendarQueue::estimate_bucket_width(), simlib3::CalendarQueue::Get(), simlib3::CalendarListImplementation::insert(), Sample(), simlib3::SQS::ScheduleAt(), simlib3::CalendarList::ScheduleAt(), simlib3::CalendarQueue::ScheduleAt(), simlib3::CalendarListImplementation::search(), simlib3::CalendarQueue::SearchMinTime(), simlib3::EventNotice::Set(), simlib3::Calendar::SetMinTime(), simlib3::CalendarQueue::time2bucket(), and simlib3::CalendarQueue::time2bucket_top().