messaginghub.cpp File Reference

#include "messaginghub.h"

Include dependency graph for messaginghub.cpp:

Go to the source code of this file.

Functions

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


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.

Referenced by SoundLoopManager::activate(), ASC_MainScreenWidget::ASC_MainScreenWidget(), ASC_PG_App::ASC_PG_App(), TextPropertyGroup::buildInheritance(), displayLogMessage(), displaymessage(), TextFormatParser::error(), PropertyContainer::error(), trunreplay::execnextreplaymove(), GameAction::execute(), gamethread(), ConfigurationFileLocatorCore::getConfigFileName(), SoundList::getSound(), SoundList::init(), initFileIO(), FileCache::load(), loadAllData(), loadalltextfiles(), loadASCFieldImage(), GraphicSetManager_Base::loadData(), loadpalette(), loadStartupMap(), loadUnitSets(), loadWave(), main(), tncontainerstream::opencontainerfile(), TextPropertyGroup::print(), TextPropertyGroup::processAlias(), GameAction::read(), readgameoptions(), readtextmessage(), MusicPlayList::reset(), runTester(), VehicleType::runTextIO(), MusicPlayList::runTextIO(), MainScreenWidget::setup(), SoundLoopManager::SoundLoopManager(), SoundSystem::SoundSystem(), startMusic(), StartupScreen::StartupScreen(), GameAction::undo(), IngameMessageViewer::~IngameMessageViewer(), and tn_c_lzw_filestream::~tn_c_lzw_filestream().

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 char *  msg,
  ... 
)

Definition at line 156 of file messaginghub.cpp.

void fatalError ( const ASCString string  ) 

Definition at line 151 of file messaginghub.cpp.

Referenced by ContainerBase::addToCargo(), Vehicle::addview(), Building::addview(), asc_malloc(), TextPropertyList::buildIDs(), calcMoveMalus(), checkFileLoadability(), Vehicle::convert(), Building::convert(), Factory1< AbstractProduct, IdentifierType, creatorParam >::createObject(), Factory< AbstractProduct, IdentifierType >::createObject(), doresearch(), duplicateIDError(), tdialogbox::enablebutton(), TextPropertyGroup::error(), fatalError(), PropertyContainer::Property::findEntry(), AStar3D::findPath(), gamethread(), getFieldMask(), SoundList::getInstance(), MapField::getmovemalus(), tcomputebuildingview::init(), tcomputevehicleview::init(), SoundList::init(), initFileIO(), initReplayLogging(), loadAllData(), loadASCFieldImageArray(), loadStartupMap(), main(), mapeditorMainThread(), MiningStation::MiningStation(), putbuilding(), Vehicle::read(), MapCoordinate::read(), ObjectType::read(), MusicPlayList::read(), readgameoptions(), ASC_PG_App::reloadTheme(), Vehicle::removeview(), Building::removeview(), ActionContainer::rerun(), runTester(), TerrainType::Weather::runTextIO(), Bi3MapTranslationTable::runTextIO(), ContainerBaseType::TransportationIO::runTextIO(), savereplay(), ScreenResolutionSetup::ScreenResolutionSetup(), MoveUnitCommand::searchFields(), GraphicSetManager_Base::setActive(), MapField::setparams(), Sound::Sound(), SoundSystem::SoundSystem(), tdrawgettempline::start(), tcomputeview::testfield(), Vehicle::Vehicle(), versionError(), PropertyContainer::warning(), and PropertyReadingContainer::writeProperty().

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(), Event::execute(), CargoGuiFunctions::TransferUnitControl::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 UnitWeaponRangeLayer::operateField(), and UnitMovementRangeLayer::operateField().

void warning ( const ASCString str  ) 

Definition at line 170 of file messaginghub.cpp.

References MessagingHubBase::Warning.

Referenced by ChangePlayerState::setup().

void warningMessage ( const ASCString str  ) 

Definition at line 175 of file messaginghub.cpp.

References MessagingHubBase::Warning.

Referenced by StartMultiplayerGame::Apply(), tfight::calc(), Building::chainbuildingtofield(), checkForUniqueUnitIDs(), BuildingType::convertOldFunctions(), execaction_pg(), GuiFunctions::BuildVehicleCommand::execute(), GuiFunctions::JumpDriveIcon::execute(), DisplayEllipse::execute(), CargoGuiFunctions::UnitProduction::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(), ASCGUI_Window::setup(), PBEMServer::setup(), SoundSystem::SoundSystem(), startMultiplayerGame(), taskManager(), MiningStation::testfield(), GameAction::undo(), PropertyContainer::warning(), and PBEMServer::writeChildData().


Generated on Mon May 21 01:38:28 2012 for Advanced Strategic Command by  doxygen 1.5.1