All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

System Interface CATICommunicatorLoop

System.IUnknown
  |
  +---CATICommunicatorLoop
 

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface CATICommunicatorLoop

Interface to wait on Backbone.
Role: This interface must be used in none interactive backbone clients and never be called in interactive clients like Dialog applications or CATIA V5.

See also:
CATIStreamMsg, CATIBBStreamer, CATICommMsg, CATIMessageReceiver, CATBBMessage, CATICommunicator


Method Index


o WaitingLoop(int,int,int*)
Allows to wait on the backbone.

Methods


o WaitingLoop
public virtual HRESULT WaitingLoop(int iGeneralWaiting=-1,
int iTimeOut=-1 ,
int* iEndCondition=NULL)=0
Allows to wait on the backbone. Role: This method will wait for backbone messages until one of the following conditions are met :
Parameters:
iGeneralWaiting
must be set to -1
iTimeOut
  • -1: No timeout, so infinite wait
  • 0: no wait: WaitingLoop will treat the current messages and exit immediately
  • >0: timeout represents milliseconds to wait
iEndCondition
If you don't use this parameter, set NULL else set the pointer of a variable whose contains is not null.

This object is included in the file: CATICommunicatorLoop.h
If needed, your Imakefile.mk should include the module: CATSysCommunication

Copyright © 2003, Dassault Systèmes. All rights reserved.