Sirikata
Public Member Functions | Protected Attributes
Sirikata::SpaceModule Class Reference

A SpaceModule is a generic service for a space. More...

#include <SpaceModule.hpp>

Inheritance diagram for Sirikata::SpaceModule:
Collaboration diagram for Sirikata::SpaceModule:

List of all members.

Public Member Functions

 SpaceModule (SpaceContext *ctx)
virtual ~SpaceModule ()

Protected Attributes

SpaceContextmContext

Detailed Description

A SpaceModule is a generic service for a space.

It allows you to extend the basic fixed functionality of the space by hooking into it's components via the SpaceContext. Any sort of functionality could be implemented here, e.g. a service for custom global settings that are relayed to objects or object hosts, an HTTP control interface, or a service to track per-user state such as inventory or game statistics.

Access to the space server is provided through the SpaceModule, so no additional interface is required beyond implementing Service, which tells the SpaceModule when to start and stop its services.


Constructor & Destructor Documentation

Sirikata::SpaceModule::SpaceModule ( SpaceContext ctx) [inline]
Sirikata::SpaceModule::~SpaceModule ( ) [virtual]

Member Data Documentation


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