Tpserver-cpp/UML 200904

From Thousand Parsec Wiki

Jump to: navigation, search

This page has the diagrams that at 2009-04-26 show the classes and relationships in tpserver-cpp.


Contents

High level core

These are the top level objects in tpserver-cpp. The main ones are Game, Network, Logger and Settings. The classes that Game is responsable for are also shown. Network and Logger are shown in more detail later.

Objects

This diagram shows how the ObjectManager and ObjectTypeManager are related to the IGObject and ObjectDescription classes.

Orders

Similar diagram for Orders, except that the descriptions are part of the Order class. OrderManager uses a prototype pattern for describing and creating Orders.

Turn Timers

This diagram shows the various turn timers and how they are subclassed from the TurnTimer baseclass.

Logging

Shows the Logger and the LogSinks.

Network

The network area shows how the Connection class is subclassed to represent all the different network connections. It also shows the relationship with Advertiser and Publisher classes.

Personal tools