messaginghub.h File Reference

#include <set>
#include <sigc++/sigc++.h>
#include "loki/Singleton.h"
#include "../ascstring.h"

Include dependency graph for messaginghub.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  StatusMessageWindowHolder
 A class that hols a MessageWindow. This class ensures that the window is removed if the last copy of the object is deleted. More...
class  StatusMessageWindowHolder::UserData
class  MessagingHubBase

Typedefs

typedef Loki::SingletonHolder<
MessagingHubBase, Loki::CreateUsingNew,
Loki::NoDestroy > 
MessagingHub

Functions

void fatalError (const char *formatstring,...)
void fatalError (const ASCString &string)
void errorMessage (const ASCString &string)
void warningMessage (const ASCString &string)
void infoMessage (const ASCString &string)
void statusMessage (const ASCString &string)
void displayLogMessage (int msgVerbosity, const char *message,...)
void displayLogMessage (int msgVerbosity, const ASCString &message)
void logMessage (const ASCString &category, const ASCString &message)


Typedef Documentation

typedef Loki::SingletonHolder<MessagingHubBase,Loki::CreateUsingNew,Loki::NoDestroy > MessagingHub

Definition at line 124 of file messaginghub.h.


Function Documentation

void displayLogMessage ( int  msgVerbosity,
const ASCString message 
)

Definition at line 132 of file messaginghub.cpp.

void displayLogMessage ( int  msgVerbosity,
const char *  message,
  ... 
)

Definition at line 119 of file messaginghub.cpp.

References displayLogMessage().

void errorMessage ( const ASCString string  ) 

Definition at line 180 of file messaginghub.cpp.

References MessagingHubBase::Error.

Referenced by StartMultiplayerGame::Apply(), GuiButton::callFunc(), CargoDialog::CargoDialog(), VehicleType::convertOldFunctions(), displayActionError(), editGameOptions(), execaction_pg(), gamethread(), loadASCFieldImage(), loadLocalizedMessageFile(), FileTransfer::loadPBEMFile(), loadWave(), networksupervisor(), TextRenderer::parsingError(), LuaBrush::place(), readClipboard(), ActionContainer::redo(), runSpecificReplay(), runTester(), NextCampaignMap::search(), selectAndRunLuaScript(), FileTransfer::send(), tmineattacksunit::setup(), tcomputeview::testfield(), ActionContainer::undo(), unitGuideWindow(), and writePNG().

void fatalError ( const ASCString string  ) 

Definition at line 151 of file messaginghub.cpp.

References MessagingHubBase::FatalError.

void fatalError ( const char *  formatstring,
  ... 
)

Definition at line 156 of file messaginghub.cpp.

References fatalError(), and ASCString::vaformat().

void infoMessage ( const ASCString string  ) 

Definition at line 185 of file messaginghub.cpp.

References MessagingHubBase::InfoMessage.

Referenced by authenticateUser(), benchgame(), changePassword(), Event::check(), chooseTechnologyIfAvail(), editPlayerData(), editResearch(), CargoGuiFunctions::TransferUnitControl::execute(), Event::execute(), executeUserAction(), infoMessageClipboardPlayers(), newmessage(), FileTransfer::send(), showCargoSummary(), and viewjournal().

void logMessage ( const ASCString category,
const ASCString message 
)

Definition at line 145 of file messaginghub.cpp.

Referenced by GameMap::endRound(), and MatterConverter::run().

void statusMessage ( const ASCString string  ) 

Definition at line 190 of file messaginghub.cpp.

References MessagingHubBase::StatusInfo.

Referenced by UnitMovementRangeLayer::operateField(), and UnitWeaponRangeLayer::operateField().

void warningMessage ( const ASCString string  ) 

Definition at line 175 of file messaginghub.cpp.

References MessagingHubBase::Warning.

Referenced by StartMultiplayerGame::Apply(), tfight::calc(), Building::chainbuildingtofield(), checkForUniqueUnitIDs(), BuildingType::convertOldFunctions(), execaction_pg(), CargoGuiFunctions::UnitProduction::execute(), DisplayEllipse::execute(), GuiFunctions::JumpDriveIcon::execute(), GuiFunctions::BuildVehicleCommand::execute(), executeUserAction(), TechDependency::findInheritanceLevel(), AttackFormula::getHemmingFactor(), PBEMServer::getSession(), GetVideoModes::GetVideoModes(), WeapDist::getWeaponStrength(), ActionContainer::isActive_map(), loadASCFieldImage(), loadWave(), movebuilding(), ASCGUI_Window::parsePanelASCTXT(), PBEMServer::readChildData(), readgameoptions(), tspfldloaders::readmessagelist(), PBEMServer::receive(), SubWindow::registerChilds(), MiningStation::run(), SingleWeapon::runTextIO(), PBEMServer::send(), PBEMServer::setServerAddress(), PBEMServer::setup(), ASCGUI_Window::setup(), SoundSystem::SoundSystem(), startMultiplayerGame(), taskManager(), MiningStation::testfield(), GameAction::undo(), PropertyContainer::warning(), and PBEMServer::writeChildData().


Generated on Mon May 21 01:39:09 2012 for Advanced Strategic Command by  doxygen 1.5.1