DGLE2   Young, strong and crazy!
Public Member Functions | List of all members
IEvGetSubSystem Class Referenceabstract

Event occurs when someone calls IEngineCore::GetSubSystem method. More...

#include <DGLE.h>

Inheritance diagram for IEvGetSubSystem:
IBaseEvent IDGLE_Base

Public Member Functions

virtual DGLE_RESULT DGLE_API GetSubSystemType (E_ENGINE_SUB_SYSTEM &eSubSystem)=0
 Returns subsystem type which user is trying to retrieve.
 
virtual DGLE_RESULT DGLE_API OverrideSubSystem (IEngineSubSystem *pSubSystem)=0
 Substitutes engine subsystem by custom one.
 
- Public Member Functions inherited from IBaseEvent
virtual DGLE_RESULT DGLE_API GetEventType (E_EVENT_TYPE &eEvType)=0
 Returns type of event.
 
virtual DGLE_RESULT DGLE_API GetUnknownEventType (uint &uiUnknEvType)=0
 In case event type is ET_UNKNOWN, you can use this function to get specific event type id.
 
- Public Member Functions inherited from IDGLE_Base
virtual DGLE_RESULT DGLE_API GetGUID (GUID &guid)=0
 Returns unique identifier of the last interface in the inheritance chain.
 
virtual DGLE_RESULT DGLE_API ExecuteCommand (uint uiCmd, TVariant &stVar)=0
 Executes some command using its index or bitmask.
 
virtual DGLE_RESULT DGLE_API ExecuteTextCommand (const char *pcCommand, TVariant &stVar)=0
 Executes some text command and returns result as variant.
 
virtual DGLE_RESULT DGLE_API ExecuteTextCommandEx (const char *pcCommand, char *pcResult, uint &uiCharsCount)=0
 Executes some text command and returns result as string.
 

Detailed Description

Event occurs when someone calls IEngineCore::GetSubSystem method.

You can substitute any subsystem by your own realization on this event.

See Also
ET_ON_GET_SUBSYSTEM, IBaseEvent

Member Function Documentation

virtual DGLE_RESULT DGLE_API GetSubSystemType ( E_ENGINE_SUB_SYSTEM eSubSystem)
pure virtual

Returns subsystem type which user is trying to retrieve.

Parameters
[out]eSubSystemType of retrieving subsystem.
virtual DGLE_RESULT DGLE_API OverrideSubSystem ( IEngineSubSystem pSubSystem)
pure virtual

Substitutes engine subsystem by custom one.

Parameters
[in]pSubSystemPointer to subsystem interface with which retrieving subsystem will be substituted.

Sun Nov 16 2014 09:47:29   Generated by   doxygen   Content copyrighted to DGLE Team