API published in: S60 3rd Ed
Link against: ecmtclient.lib
#include <ecmtclient.h>
This class provides methods for sending textual data to the System Output Diagnostic view on the connected PC.
Public Member Functions |
|
IMPORT_C | REcmt () |
Constructor. |
|
IMPORT_C | ~REcmt () |
Destructor. |
|
IMPORT_C TInt | Connect () |
Connects the client process to the Ecmt server. |
|
IMPORT_C void | Close () |
Closes the session and frees any allocated resources. |
|
IMPORT_C void | SetServerObserverL (MEcmtServerObserver *aObserver) |
This member is internal and not intended for use. |
|
IMPORT_C void | Write (const TDesC16 &aText) |
Writes text data to the System Output Diagnostic view on the connected PC. |
|
IMPORT_C void | WriteFormat (TRefByValue< const TDesC16 > aFmt,...) |
Writes text data to the System Output Diagnostic view on the connected PC. |
|
IMPORT_C void | Send (const TUint uid, const TDesC8 &aText) |
This member is internal and not intended for use. |
|
IMPORT_C void | SetServerObserverL (TUid aUid, MEcmtServerObserver *aObserver) |
This member is internal and not intended for use. |
|
Static Public Member Functions |
|
static IMPORT_C void | SWrite (const TDesC16 &aText) |
Writes text data to the System Output Diagnostic view on the connected PC. |
|
static IMPORT_C void | SWriteFormat (TRefByValue< const TDesC16 > aFmt,...) |
Writes text data to the System Output Diagnostic view on the connected PC. |
|
static IMPORT_C void | SClose () |
Closes the REcmt session used by SWrite() and SWriteFormat(). |
|
Friends |
|
class | CEcmtServerListener |
|
Constructor. |
|
Destructor. |
|
Closes the session and frees any allocated resources. |
|
Connects the client process to the Ecmt server. To end the session, use the Close() method.
|
|
Closes the REcmt session used by SWrite() and SWriteFormat(). If those funcions are called, also SClose() must be called in order to avoid memory allocation errors. |
|
This member is internal and not intended for use. Sends a binary message to the specified UID (plugin, core). |
|
This member is internal and not intended for use. Sets this client as a recipient for messages. |
|
This member is internal and not intended for use. This member leaves immediately with KErrNotSupported. |
|
Writes text data to the System Output Diagnostic view on the connected PC. Unlike Write(), doesn't require Connect() before or Close() after calling this.
|
|
Writes text data to the System Output Diagnostic view on the connected PC. The text can include formatting directives (%d, %c, ...) which are then filled with the following parameters. The maximum length of the message after formatting is defined by KFormatMazSize. Unlike WriteFormat(), doesn't require Connect() before or Close() after calling this.
|
|
Writes text data to the System Output Diagnostic view on the connected PC.
|
|
Writes text data to the System Output Diagnostic view on the connected PC. The text can include formatting directives (%d, %c, ...) which are then filled with the following parameters. The maximum length of the message after formatting is defined by KFormatMazSize.
|
|