-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTypes.h
More file actions
37 lines (23 loc) · 902 Bytes
/
Types.h
File metadata and controls
37 lines (23 loc) · 902 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/************************************************************
* SimLib simulation library for event-based simulations *
* Author: Martin Ubl (A16N0026P) *
* ublm@students.zcu.cz *
************************************************************/
#pragma once
#include <memory>
#include <list>
// general
using simtime_t = unsigned long long;
// Simulation class
class Simulation;
using SimulationPtr = std::shared_ptr<Simulation>;
using SimulationWeakPtr = std::weak_ptr<Simulation>;
// Calendar class
class Calendar;
using CalendarPtr = std::shared_ptr<Calendar>;
// SimulationObject class and children
class SimulationObject;
using SimulationObjectPtr = std::shared_ptr<SimulationObject>;
using SimulationObjectList = std::list<SimulationObjectPtr>;
class SimProcess;
class SimEvent;