Drag[en]gine Game Engine  1.0
deBaseAIModule Class Referenceabstract

Base AI module interface. More...

#include <deBaseAIModule.h>

Inheritance diagram for deBaseAIModule:
deBaseModule

Public Member Functions

Constructors and Destructors
 deBaseAIModule (deLoadableModule &loadableModule)
 Create new AI module. More...
 
virtual ~deBaseAIModule ()
 Clean up AI module. More...
 
Module Management
virtual bool Init ()=0
 Initialize ai module. More...
 
virtual void CleanUp ()=0
 Shut down ai module and clean up. More...
 
Management
virtual deBaseAIAICreateAI (deAI *ai)=0
 Create peer for an ai object. More...
 
virtual deBaseAIWorldCreateWorld (deWorld *world)=0
 Create peer for a world object. More...
 
virtual deBaseAINavigationSpaceCreateNavigationSpace (deNavigationSpace *navspace)=0
 Create peer for a navigation space object. More...
 
virtual deBaseAINavigationBlockerCreateNavigationBlocker (deNavigationBlocker *blocker)=0
 Create peer for a navigation blocker object. More...
 
virtual deBaseAINavigatorCreateNavigator (deNavigator *navigator)=0
 Create peer for a navigator object. More...
 
virtual deBaseAILocomotionCreateLocomotion (deLocomotion &locomotion)=0
 Create peer for a locomotion object. More...
 
virtual deBaseAIHeightTerrainCreateHeightTerrain (deHeightTerrain &heightTerrain)=0
 Create peer for height terrain. More...
 
- Public Member Functions inherited from deBaseModule
 deBaseModule (deLoadableModule &loadableModule)
 Creates a new base module. More...
 
virtual ~deBaseModule ()
 Cleans up the base module. More...
 
virtual int GetParameterCount () const
 Retrieves the count of parameters. More...
 
virtual void GetParameterInfo (int index, deModuleParameter *parameter) const
 Retrieves the informations about the given indexec parameter. More...
 
virtual int FindParameter (const char *name) const
 Retrieves the index of the parameter with the given name or -1 if not found. More...
 
virtual float GetParameterValue (int index) const
 Retrieves the value of the parameter at the given index. More...
 
virtual void SetParameterValue (int index, float value)
 Sets the parameter of the parameter at the given index. More...
 
virtual void SendCommand (const decUnicodeArgumentList &command, decUnicodeString &answer)
 Sends a command to the module and retrieves an answer from it. More...
 
void LogInfo (const char *message)
 Outputs an information message on the console. More...
 
void LogInfoFormat (const char *message,...)
 Outputs a formated information message on the console. More...
 
void LogInfoFormatUsing (const char *message, va_list args)
 Outputs a formated information message on the console. More...
 
void LogWarn (const char *message)
 Outputs a warning message on the console. More...
 
void LogWarnFormat (const char *message,...)
 Outputs a formated warning message on the console. More...
 
void LogWarnFormatUsing (const char *message, va_list args)
 Outputs a formated warning message on the console. More...
 
void LogError (const char *message)
 Outputs an error message on the console. More...
 
void LogErrorFormat (const char *message,...)
 Outputs a formated error message on the console. More...
 
void LogErrorFormatUsing (const char *message, va_list args)
 Outputs a formated error message on the console. More...
 
void LogException (const deException &exception)
 Outputs an exception as error message on the console. More...
 
deEngineGetGameEngine () const
 Retrieves the game engine object. More...
 
deLoadableModuleGetLoadableModule () const
 Retrieves the loadable module. More...
 
deOSGetOS () const
 Retrieves the os object from the game engine. More...
 
deVirtualFileSystemGetVFS () const
 Retrieves the module virtual file system. More...
 
deErrorTracePointSetErrorTrace (const char *error, const char *sourceFunc, int sourceLine)
 Adds a new trace point and sets the error if the trace is empty. More...
 
deErrorTracePointSetErrorTrace (const deException &exception)
 Adds a new trace point and sets the error if the trace is empty. More...
 
deErrorTracePointAddErrorTracePoint (const char *sourceFunc, int sourceLine)
 Adds a new trace point to the engine error trace with an empty error. More...
 

Detailed Description

Base AI module interface.

Author
Pl├╝ss Roland
Version
1.0
Date
2015

Constructor & Destructor Documentation

◆ deBaseAIModule()

deBaseAIModule::deBaseAIModule ( deLoadableModule loadableModule)

Create new AI module.

◆ ~deBaseAIModule()

virtual deBaseAIModule::~deBaseAIModule ( )
virtual

Clean up AI module.

Member Function Documentation

◆ CleanUp()

virtual void deBaseAIModule::CleanUp ( )
pure virtual

Shut down ai module and clean up.

◆ CreateAI()

virtual deBaseAIAI* deBaseAIModule::CreateAI ( deAI ai)
pure virtual

Create peer for an ai object.

◆ CreateHeightTerrain()

virtual deBaseAIHeightTerrain* deBaseAIModule::CreateHeightTerrain ( deHeightTerrain heightTerrain)
pure virtual

Create peer for height terrain.

◆ CreateLocomotion()

virtual deBaseAILocomotion* deBaseAIModule::CreateLocomotion ( deLocomotion locomotion)
pure virtual

Create peer for a locomotion object.

◆ CreateNavigationBlocker()

virtual deBaseAINavigationBlocker* deBaseAIModule::CreateNavigationBlocker ( deNavigationBlocker blocker)
pure virtual

Create peer for a navigation blocker object.

◆ CreateNavigationSpace()

virtual deBaseAINavigationSpace* deBaseAIModule::CreateNavigationSpace ( deNavigationSpace navspace)
pure virtual

Create peer for a navigation space object.

◆ CreateNavigator()

virtual deBaseAINavigator* deBaseAIModule::CreateNavigator ( deNavigator navigator)
pure virtual

Create peer for a navigator object.

◆ CreateWorld()

virtual deBaseAIWorld* deBaseAIModule::CreateWorld ( deWorld world)
pure virtual

Create peer for a world object.

◆ Init()

virtual bool deBaseAIModule::Init ( )
pure virtual

Initialize ai module.


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