Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Protected Attributes
AEDispatchHandler Class Reference

#include <nsAEClassDispatcher.h>

Collaboration diagram for AEDispatchHandler:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 AEDispatchHandler (DescType handlerClass, AEGenericClass *handler, Boolean deleteOnRemove=true)
 ~AEDispatchHandler ()
void DispatchEvent (AEDesc *token, const AppleEvent *appleEvent, AppleEvent *reply)
void GetProperty (DescType desiredClass, const AEDesc *containerToken, DescType containerClass, DescType keyForm, const AEDesc *keyData, AEDesc *resultToken)
void GetDataFromListOrObject (const AEDesc *tokenOrTokenList, AEDesc *desiredTypes, AEDesc *data)
void GetItemFromContainer (DescType desiredClass, const AEDesc *containerToken, DescType containerClass, DescType keyForm, const AEDesc *keyData, AEDesc *resultToken)
void CompareObjects (DescType comparisonOperator, const AEDesc *object, const AEDesc *descriptorOrObject, Boolean *result)
void CountObjects (DescType desiredType, DescType containerClass, const AEDesc *container, long *result)
void CreateSelfSpecifier (const AEDesc *token, AEDesc *outSpecifier)

Protected Attributes

Boolean mDeleteHandler
DescType mHandlerClass
AEGenericClassmHandler

Detailed Description

Definition at line 51 of file nsAEClassDispatcher.h.


Constructor & Destructor Documentation

AEDispatchHandler::AEDispatchHandler ( DescType  handlerClass,
AEGenericClass handler,
Boolean  deleteOnRemove = true 
)

Definition at line 52 of file nsAEClassDispatcher.cpp.

:      mDeleteHandler(deleteOnRemove)
,      mHandlerClass(handlerClass)
,      mHandler(handler)
{
       AE_ASSERT(mHandler, "No handler");
}

Definition at line 65 of file nsAEClassDispatcher.cpp.

{
       if (mDeleteHandler)
              delete mHandler;
}

Member Function Documentation

void AEDispatchHandler::CompareObjects ( DescType  comparisonOperator,
const AEDesc *  object,
const AEDesc *  descriptorOrObject,
Boolean result 
)

Definition at line 132 of file nsAEClassDispatcher.cpp.

{
       AE_ASSERT(mHandler, "No handler");
       mHandler->CompareObjects(comparisonOperator, object, descriptorOrObject, result);
}

Here is the call graph for this function:

void AEDispatchHandler::CountObjects ( DescType  desiredType,
DescType  containerClass,
const AEDesc *  container,
long result 
)

Definition at line 147 of file nsAEClassDispatcher.cpp.

{
       AE_ASSERT(mHandler, "No handler");
       mHandler->CountObjects(desiredType, containerClass, container, result);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void AEDispatchHandler::CreateSelfSpecifier ( const AEDesc *  token,
AEDesc *  outSpecifier 
)

Definition at line 161 of file nsAEClassDispatcher.cpp.

{
       AE_ASSERT(mHandler, "No handler");
       mHandler->CreateSelfSpecifier(token, outSpecifier);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void AEDispatchHandler::DispatchEvent ( AEDesc *  token,
const AppleEvent *  appleEvent,
AppleEvent *  reply 
)

Definition at line 76 of file nsAEClassDispatcher.cpp.

{
       AE_ASSERT(mHandler, "No handler");
       mHandler->DispatchEvent(token, appleEvent, reply);
}

Here is the call graph for this function:

void AEDispatchHandler::GetDataFromListOrObject ( const AEDesc *  tokenOrTokenList,
AEDesc *  desiredTypes,
AEDesc *  data 
)

Definition at line 103 of file nsAEClassDispatcher.cpp.

{
       AE_ASSERT(mHandler, "No handler");
       mHandler->GetDataFromListOrObject(tokenOrTokenList, desiredTypes, data);
}

Here is the call graph for this function:

void AEDispatchHandler::GetItemFromContainer ( DescType  desiredClass,
const AEDesc *  containerToken,
DescType  containerClass,
DescType  keyForm,
const AEDesc *  keyData,
AEDesc *  resultToken 
)

Definition at line 116 of file nsAEClassDispatcher.cpp.

{
       AE_ASSERT(mHandler, "No handler");
       mHandler->GetItemFromContainer(desiredClass, containerToken, containerClass, keyForm, keyData, resultToken);
}

Here is the call graph for this function:

void AEDispatchHandler::GetProperty ( DescType  desiredClass,
const AEDesc *  containerToken,
DescType  containerClass,
DescType  keyForm,
const AEDesc *  keyData,
AEDesc *  resultToken 
)

Definition at line 88 of file nsAEClassDispatcher.cpp.

{
       AE_ASSERT(mHandler, "No handler");
       mHandler->GetProperty(desiredClass, containerToken, containerClass, keyForm, keyData, resultToken);
}

Here is the call graph for this function:


Member Data Documentation

Definition at line 96 of file nsAEClassDispatcher.h.

Definition at line 98 of file nsAEClassDispatcher.h.

DescType AEDispatchHandler::mHandlerClass [protected]

Definition at line 97 of file nsAEClassDispatcher.h.


The documentation for this class was generated from the following files: