Public Member Functions

wosh::bundles::BuildingManagerBundle Class Reference
[WOSH Bundles]

Manager of Building Objects (such as Floor, Room and other types from wosh::building namespace). More...

#include <H:/WOSH/win32_vc2010/src/bundles/BuildingManager/BuildingManagerBundle.h>

List of all members.

Public Member Functions

void busMessage (const Message &message, const Bus *source)
 Method raised by the Bus when it processes a new message. Implementations will probably analyze the message and perform actions.
BuildingManager Interface
WRESULT loadBuildingBlocks ()
WRESULT saveBuildingBlocks ()

Protected Member Functions

Internal methods
WRESULT addObject_ (BuildingBlock *obj, bool init=true, bool fix_references=false)
WRESULT removeObject_ (BuildingBlock *obj, bool fix_references=false)
WRESULT fixReferences_ (BuildingBlock *bobj)
WRESULT freeBlocks ()
int findRootObjects_ (std::vector< BuildingBlock * > &roots) const
TreebuildTree (const std::string &name) const
void mergeTreeNode_ (const BuildingBlock *objNode, TreeNode *parentNode) const

Detailed Description

Manager of Building Objects (such as Floor, Room and other types from wosh::building namespace).

locations planning: ------------------------------------------------------------------ goals:

system-relations

------------------------------------------------------------------

Version:
Id:
BuildingManagerBundle.h 3775 2011-01-01 16:38:17Z alex
Author:
Alessandro Polo

Definition at line 77 of file BuildingManagerBundle.h.


Member Function Documentation

void wosh::bundles::BuildingManagerBundle::busMessage ( const Message message,
const Bus source 
) [virtual]

Method raised by the Bus when it processes a new message. Implementations will probably analyze the message and perform actions.

Parameters:
[in]messagethe incoming message
[in]sourcethe source Bus of the incoming message
Warning:
The current thread is own and managed by the caller Bus. Heavy, dangerous or time expensive operations should be executed asynchronously and not inline!

Reimplemented from wosh::BundleGeneric.

Definition at line 186 of file BuildingManagerBundle.cpp.

References BusCore, wosh::Message::getContent(), wosh::Message::isEmpty(), and wosh::MessageContent::isRequest().


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

Generated on Tue Feb 8 2011 09:33:33 for WOSH system 0.8.888 [wolf] by Alessandro Polo, using DoxyGen 1.7.2 hosted by WOSH Framework