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 (IN const char *id)=0
virtual smart_ptr< MapDynamicsgetMap (IN const char *id)=0
virtual void tickMaps (IN float seconds)=0
virtual void getIterator (OUT iterator_t &i)=0
virtual bool getNextMap (IO iterator_t &i, OUT smart_ptr< MapDynamics > &map)=0

Static Public Member Functions

static smart_ptr< MapManagercreate (IN smart_ptr< Datahash > &params, IN 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: