ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Manages pausing by Engine::pauseEngine handing out tokens that each represent one requested level of pause. More...

#include <engine.h>

Collaboration diagram for PauseToken:

List of all members.

Public Member Functions

 PauseToken ()
 PauseToken (const PauseToken &)
 ~PauseToken ()
void operator= (const PauseToken &)
void clear ()
 Manually releases the PauseToken.
bool isActive () const
 Returns true if the PauseToken represents a pause level, false if it is empty.

Private Member Functions

 PauseToken (Engine *)

Private Attributes

Engine_engine

Friends

class Engine

Detailed Description

Manages pausing by Engine::pauseEngine handing out tokens that each represent one requested level of pause.

Definition at line 70 of file engine.h.


Constructor & Destructor Documentation

PauseToken::PauseToken (  ) 

Definition at line 875 of file engine.cpp.

PauseToken::PauseToken ( const PauseToken t2  ) 

Definition at line 889 of file engine.cpp.

PauseToken::~PauseToken (  ) 

Definition at line 903 of file engine.cpp.

PauseToken::PauseToken ( Engine engine  )  [private]

Definition at line 877 of file engine.cpp.


Member Function Documentation

void PauseToken::clear (  ) 

Manually releases the PauseToken.

Only allowed if the token currently represents a pause request.

Definition at line 895 of file engine.cpp.

bool PauseToken::isActive (  )  const [inline]

Returns true if the PauseToken represents a pause level, false if it is empty.

Definition at line 92 of file engine.h.

void PauseToken::operator= ( const PauseToken t2  ) 

Definition at line 879 of file engine.cpp.


Friends And Related Function Documentation

friend class Engine [friend]

Definition at line 99 of file engine.h.


Member Data Documentation

Definition at line 97 of file engine.h.


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


Generated on Sat Sep 19 2020 05:04:09 for ResidualVM by doxygen 1.7.1
curved edge   curved edge