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

Event occurs when some text is being added to the engine console. More...

#include <DGLE.h>

Inheritance diagram for IEvConsoleWrite:
IBaseEvent IDGLE_Base

Public Member Functions

virtual DGLE_RESULT DGLE_API GetText (char *pcTxt, uint &uiCharsCount, bool &bToPrevLine)=0
 Returns console text.
 
- 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 some text is being added to the engine console.

See Also
ET_ON_CONSOLE_WRITE

Member Function Documentation

virtual DGLE_RESULT DGLE_API GetText ( char *  pcTxt,
uint uiCharsCount,
bool &  bToPrevLine 
)
pure virtual

Returns console text.

Parameters
[out]pcTxtPointer to allocated string.
[in,out]uiCharsCountCount of the chars in allocated string.
[out]bToPrevLineShould text replace previous console line or add new one.
Returns
E_INVALIDARG must be returned if allocated string is too small.
Note
If pcTxt is NULL then uiCharsCount will contain the length of the text to allocate.

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