Classes | Public Member Functions | Static Public Member Functions

aesop::MapManager Class Reference
[Map Manager]

Object that helps the server (and rules engine) manage loaded maps, including the dynamics. More...

#include <map-manager.h>

Inheritance diagram for aesop::MapManager:
Inheritance graph
[legend]

List of all members.

Classes

struct  iterator_t

Public Member Functions

virtual ~MapManager (void) throw ()
virtual void clear (void)=0
virtual void requestLoad (const char *id)=0
virtual smart_ptr< MapDynamicsgetMap (const char *id)=0
virtual void tickMaps (float seconds)=0
virtual void getIterator (iterator_t &i)=0
virtual bool getNextMap (iterator_t &i, smart_ptr< MapDynamics > &map)=0

Static Public Member Functions

static smart_ptr< MapManagercreate (smart_ptr< Datahash > &params, smart_ptr< story::Story > &story)

Detailed Description

Object that helps the server (and rules engine) manage loaded maps, including the dynamics.

This map manager is used on the client and the server. So there is no dependency on specific rendering engines or input allowed, etc.

NOTE: (to implementers) these calls must be threadsafe!

Loading maps is *very* expensive and must be on separate threads without locking mutex's for a long time etc.

Definition at line 60 of file map-manager.h.


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