GameExeFactory Class Reference

Returns executable file retrievers from plugins to Doomseeker. More...

#include <gameexefactory.h>

+ Inheritance diagram for GameExeFactory:

Public Member Functions

 GameExeFactory (EnginePlugin *plugin)
 
ExeFileoffline ()
 [Virtual] Instantiates retriever for offline game executable. More...
 
EnginePluginplugin ()
 Gets EnginePlugin associated with this object. More...
 
 POLYMORPHIC_SETTER_DECLARE (ExeFile *, GameExeFactory, offline,())
 
 POLYMORPHIC_SETTER_DECLARE (ExeFile *, GameExeFactory, server,())
 
ExeFileserver ()
 [Virtual] Instantiates retriever for server executable. More...
 

Protected Member Functions

ExeFileoffline_default ()
 
ExeFileserver_default ()
 

Detailed Description

Returns executable file retrievers from plugins to Doomseeker.

This class has been designed so that it can be extended freely without risk of breaking the ABI. ABI may be broken if some methods are found as obsolete. These methods should be marked as deprecated, but still supported. In the future they will eventually be removed.

ExeFile for client executable (for server joining purposes) is returned by instances of Server, as this usually needs access to the Server class anyway.

It's a caller responsibility to delete each ExeFile object that gets created here.

See Also
EnginePlugin::Data

Definition at line 54 of file gameexefactory.h.

Member Function Documentation

ExeFile* GameExeFactory::offline ( )

[Virtual] Instantiates retriever for offline game executable.

Default behavior extracts path stored in "BinaryPath" setting of plugin's config.

EnginePlugin * GameExeFactory::plugin ( )

Gets EnginePlugin associated with this object.

Definition at line 54 of file gameexefactory.cpp.

ExeFile* GameExeFactory::server ( )

[Virtual] Instantiates retriever for server executable.

Default behavior extracts path stored either in "BinaryPath" or "ServerBinaryPath" setting of plugin's config. This behavior depends on whether plugin declares that a separate executable should be used for hosting servers.


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