[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]

The following are brief descriptions of the Commodities Exchange functions
covered in this chapter.  All of these functions require Release 2 or a
later version of the Amiga operating system.  See the Amiga ROM Kernel
Reference Manual: Includes and Autodocs for details on each function call.


              Table 31-2: Commodities Exchange Functions
  _____________________________________________________________________
 |                                                                     |
 |         Function              Description                           |
 |=====================================================================|
 |         CxBroker()  Creates a CxObject of type Broker.              |
 |         CxFilter()  Creates a CxObject of type Filter.              |
 |         CxSender()  Creates a CxObject of type Sender.              |
 |      CxTranslate()  Creates a CxObject of type Translate.           |
 |         CxSignal()  Creates a CxObject of type Signal.              |
 |         CxCustom()  Creates a CxObject of type Custom.              |
 |          CxDebug()  Creates a CxObject of type Debug.               |
 |      DeleteCxObj()  Frees a single CxObject                         |
 |   DeleteCxObjAll()  Frees a group of connected CxObjects            |
 |---------------------------------------------------------------------|
 |    ActivateCxObj()  Activates a newly created CxObject in the       |
 |                     commodities network.                            |
 |---------------------------------------------------------------------|
 |     SetTranslate()  Sets up substitution of one input event for     |
 |                     another by translate CxObjects.                 |
 |---------------------------------------------------------------------|
 |        CxMsgType()  Finds the type of a CxMessage.                  |
 |        CxMsgData()  Returns the CxMessage data.                     |
 |          CxMsgID()  Returns the CxMessage ID.                       |
 |---------------------------------------------------------------------|
 |       CxObjError()  Returns the CxObject's accumulated error field. |
 |  ClearCxObjError()  Clear the CxObject's accumulated error field.   |
 |---------------------------------------------------------------------|
 |     ArgArrayInit()  Create a Tool Types array from argc and argv    |
 |                     (Workbench or Shell).                           |
 |     ArgArrayDone()  Free the resources used by ArgArrayInit().      |
 |        ArgString()  Return the string associated with a given Tool  |
 |                     Type in the array.                              |
 |           ArgInt()  Return the integer associated with a given Tool |
 |                     Type in the array.                              |
 |---------------------------------------------------------------------|
 |      AttachCxObj()  Attaches a CxObject to the end of a given       |
 |                     CxObject's list.                                |
 |      InsertCxObj()  Inserts a CxObject in a given position in a     |
 |                     CxObject's list.                                |
 |     EnqueueCxObj()  Inserts a CxObject in a CxObject's list by      |
 |                     priority.                                       |
 |      SetCxObjPri()  Sets a CxObject's priority for EnqueueCxObj().  |
 |      RemoveCxObj()  Removes a CxObject from a list.                 |
 |---------------------------------------------------------------------|
 |        SetFilter()  Set a filter for a CxObject from an input       |
 |                     description string.                             |
 |      SetFilterIX()  Set a filter for a CxObject from an IX data     |
 |                     structure.                                      |
 |---------------------------------------------------------------------|
 |          ParseIX()  Convert an input description string to an IX    |
 |                     data structure.                                 |
 |---------------------------------------------------------------------|
 |      DivertCxMsg()  Divert a CxMessage to one CxObject and return   |
 |                     it to another.                                  |
 |       RouteCxMsg()  Redirect a CxMessage to a new CxObject.         |
 |     DisposeCxMsg()  Cancel a CxMessage removing it from the         |
 |                     Commodities network.                            |
 |---------------------------------------------------------------------|
 |     InvertString()  Creates a linked list of input events that      |
 |                     correspond to a given string.                   |
 |      FreeIEvents()  Frees the linked list of input events created   |
 |                     with InvertString().                            |
 |       AddIEvents()  Converts a list of input events to CxMessages   |
 |                     and puts them into the network.                 |
 |_____________________________________________________________________|