Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
ILifeCycle Class Referenceabstract

#include <ILifeCycle.h>

Public Member Functions

virtual bool IsStarted () const =0
 
virtual bool Start ()=0
 
virtual bool Stop ()=0
 

Detailed Description

Interface for controlling an object's start/stop life cycle.

Definition at line 9 of file ILifeCycle.h.

Member Function Documentation

◆ IsStarted()

virtual bool ILifeCycle::IsStarted ( ) const
pure virtual

Checks whether the object has been started.

Returns
true if started, false otherwise.
See also
Start, Stop

◆ Start()

virtual bool ILifeCycle::Start ( )
pure virtual

Starts the object.

Returns
true if it was started, false otherwise.
See also
IsStarted, Stop

◆ Stop()

virtual bool ILifeCycle::Stop ( )
pure virtual

Stops the object.

Returns
true if it was stopped, false otherwise.
See also
IsStarted, Start

The documentation for this class was generated from the following file: