34 _Ident(SIMLIB_Entity_Count++),
113 if(*name)
return name;
virtual void Out() override
remove entity from queue
void SIMLIB_error(const enum _ErrEnum N)
print error message and abort program
static unsigned long _Number
current number of entities
virtual void Passivate()
deactivation
void Get(Entity *e)
remove selected entity activation record from calendar
Implementation of class CalendarList interface is static - using global functions in SQS namespace...
virtual void Into(List *l)
insert last
unsigned long _Ident
unique identification number of entity
std::string SIMLIB_create_tmp_name(const char *fmt,...)
printf-like function to create temporary name (the length of temporary names is limited) used only ...
Entity(Priority_t p=DEFAULT_PRIORITY)
constructor
virtual ~Entity()
destructor
void ScheduleAt(Entity *e, double t)
schedule entity e at given time t using scheduling priority from e
Internal header file for SIMLIB/C++.
Main SIMLIB/C++ interface.
virtual std::string Name() const
get object name
bool Idle()
entity activation is not scheduled in calendar
void Activate()
activate now
EntityPriority_t Priority_t
virtual void Terminate()=0
end Behavior() and remove entity
static unsigned long SIMLIB_Entity_Count
current number of entities in model
virtual void Out()
remove from list
virtual void Insert(Entity *e)