OpenSpeech Browser

Getting Started
Architecture Description
Integration Guide

Copyright (c) 1998-2001 SpeechWorks International, Inc. All Rights Reserved.



VXIlogResult RegisterDiagonsticListener

( struct SBlogInterface* pThis,
  SBlogDiagnosticListener* alistener,
  void* userdata)

Subscribe the given listener for a diagnostic message.
The given listener will be notified for all diagnostic messages (via VXIlog::Diagnostic or VDiagnostic calls) as each calls is processed by SBlog. The set of Diagnostics that are returned is controlled by ControlDiagnosticTag to either true or false. By default all tags are assumed to be false when the listener is registered, and therefore off. A tag must be specifically turned to true (enabled) before any callbacks will be generated. If a tag is enabled, all callbacks that registered on a given SBlog interface will be invoked. Generally, only one callback will be registered on each interface.

Parameters:
alistener - [IN] Subscribing listener
userdata - [IN] User data that will be returned to the listener when notification occurs. Note: the same listener may be registered multiple times, as long as unique userdata is passed. In this case, the listener will be called once for each unique userdata.
Returns:
VXIlog_RESULT_SUCCESS: success
VXIlog_RESULT_SYSTEM_ERROR: internal error

Alphabetic index Hierarchy of classes



This page was generated with the help of DOC++.