Advanced Strategic Command
Functions
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 char *  message,
  ... 
)
void displayLogMessage ( int  msgVerbosity,
const ASCString message 
)

Definition at line 132 of file messaginghub.cpp.

void errorMessage ( const ASCString string)
void fatalError ( const ASCString string)

Definition at line 151 of file messaginghub.cpp.

References MessagingHubBase::FatalError.

Referenced by ContainerBase::addToCargo(), Building::addview(), Vehicle::addview(), asc_malloc(), TextPropertyList::buildIDs(), calcMoveMalus(), checkFileLoadability(), Building::convert(), Vehicle::convert(), Factory< AbstractProduct, IdentifierType >::createObject(), Factory1< AbstractProduct, IdentifierType, creatorParam >::createObject(), doresearch(), duplicateIDError(), tdialogbox::enablebutton(), Vehicle::endOwnTurn(), TextPropertyGroup::error(), fatalError(), PropertyContainer::Property::findEntry(), gamethread(), getFieldMask(), SoundList::getInstance(), MapField::getmovemalus(), SoundList::init(), tcomputevehicleview::init(), tcomputebuildingview::init(), initFileIO(), initReplayLogging(), loadAllData(), loadASCFieldImageArray(), loadStartupMap(), main(), mapeditorMainThread(), MiningStation::MiningStation(), putbuilding(), MusicPlayList::read(), ObjectType::read(), MapCoordinate::read(), Vehicle::read(), readgameoptions(), ASC_PG_App::reloadTheme(), Building::removeview(), Vehicle::removeview(), ActionContainer::rerun(), runTester(), TerrainType::Weather::runTextIO(), ContainerBaseType::TransportationIO::runTextIO(), ContainerBaseType::runTextIO(), Bi3MapTranslationTable::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 fatalError ( const char *  msg,
  ... 
)

Definition at line 156 of file messaginghub.cpp.

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

void infoMessage ( const ASCString string)
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)
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)