35 Dprintf((
"Semaphore::Semaphore()"));
41 Dprintf((
"Semaphore::Semaphore(\"%s\")",name));
52 Dprintf((
"Semaphore::~Semaphore() // \"%s\", %d ",
70 Print(
"Semaphore: %s [%d]\n",
Name().c_str(),
n);
void SIMLIB_error(const enum _ErrEnum N)
print error message and abort program
void Clear()
initialization
virtual void Output() const override
print object to default output
void SetName(const std::string &name)
assign the name
int Print(const char *fmt,...)
for Output methods, can be redirected
Implementation of class CalendarList interface is static - using global functions in SQS namespace...
abstract base class for active entities (Process, Event) instances of derived classes provide Behavio...
Entity *const & Current
pointer to active (now running) entity
void Passivate(Entity *e)
passivate entity e
Internal header file for SIMLIB/C++.
Main SIMLIB/C++ interface.
virtual std::string Name() const
get object name
void Activate()
activate now
virtual Entity * Get(iterator pos)
remove at position
virtual void V()
V operation.
virtual void P()
P operation.
virtual void Insert(Entity *e)