ObjectAL  2.1
ObjectAL API Reference (iOS) for Kobold2D developers
<OALSuspendManager> Protocol Reference

A suspend manager is a listener that also allows other objects to subscribe to receive events as the manager receives them. More...

#include <OALSuspendHandler.h>

Inheritance diagram for <OALSuspendManager>:
Collaboration diagram for <OALSuspendManager>:

List of all members.

Public Member Functions

void addSuspendListener: (id< OALSuspendListener > listener)
 Add a listener that will receive manual suspend and interrupt events.
void removeSuspendListener: (id< OALSuspendListener > listener)
 Remove a registered listener.

Properties

bool suspended
 If YES, this object is suspended.

Detailed Description

A suspend manager is a listener that also allows other objects to subscribe to receive events as the manager receives them.


Member Function Documentation

void OALSuspendManager-p::addSuspendListener: ( id< OALSuspendListener listener) [virtual]

Add a listener that will receive manual suspend and interrupt events.

Parameters:
listenerThe listener to register with this handler.
void OALSuspendManager-p::removeSuspendListener: ( id< OALSuspendListener listener) [virtual]

Remove a registered listener.

Parameters:
listenerThe listener to unregister from this handler.

Property Documentation

bool OALSuspendManager-p::suspended [read, assign]

If YES, this object is suspended.

Reimplemented in ALContext.


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