XJ music engine
1.9.6
In-game runtime engine for XJ music.
|
#include <FabricationWrapper.h>
Public Member Functions | |
FabricationWrapper (Fabricator *fabricator) | |
FabricationException | exception (const std::string &message) const |
std::string | formatLog (const std::string &message) const |
void | reportMissing (const std::map< std::string, std::string > &traces) const |
Protected Attributes | |
Fabricator * | fabricator |
Fabrication wrapper is a common foundation for all craft
|
explicit |
Must extend this class and inject
fabricator | internal |
FabricationException FabricationWrapper::exception | ( | const std::string & | message | ) | const |
Create a FabricationException prefixed with a segment id
message | to include in exception |
std::string FabricationWrapper::formatLog | ( | const std::string & | message | ) | const |
Format a message with the segmentId as prefix
message | to format |
void FabricationWrapper::reportMissing | ( | const std::map< std::string, std::string > & | traces | ) | const |
Report a missing entity as a segment message
traces | of how missing entity was searched for |
|
protected |