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