C++ MonsterDoc:
AuAppleEvent

Home
Contact
Copyright
|| All Classes ||
||overview|| ||access|| ||inheritance|| ||descriptions||

Class Overview

This class calls AECreateAppleEvent upon construction and AEDisposeDesc during destruction.

Inheritance

This class has no ancestors.

Requirements

This class uses macros contained in the UException.h file.

Files

  • AuAppleEvent.h
  • AuAppleEvent.cp

||overview|| ||access|| ||inheritance|| ||descriptions||

Members by Access

public

AuAppleEvent(
AEEventClass inClass,
AEEventID inID,
const AEAddressDesc* inAddressP,
SInt16 inReturnID = kAutoGenerateReturnID,
SInt32 inTransactionID = kAnyTransactionID
);

virtual
~AuAppleEvent
(
void
);

AppleEvent*
EventPtr(
void
);

void
Send(
AppleEvent* outResultP,
AESendMode inMode = kAENeverInteract + kAECanSwitchLayer
+ kAEDontRecord + kAEWaitReply,
AESendPriority inPriority = kAENormalPriority,
SInt32 inTimeout = -1,
AEIdleUPP inIdlePP = nil,
AEFilterUPP inEventFilterUPP = nil
);

protected

private

AppleEvent*
myEventP;

AuAppleEvent(
void
);

AuAppleEvent(
const AuAppleEvent&
);

const AuAppleEvent&
operator=(
const AuAppleEvent&
);

||overview|| ||access|| ||inheritance|| ||descriptions||

Members by Inheritance

statics

There are no static methods.

overrides

There are no overriden methods.

new virtuals

virtual
~AuAppleEvent
(
void
);

||overview|| ||access|| ||inheritance|| ||descriptions||

Member Descriptions

Member Data

AppleEvent*
myEventP;

This pointer stores the created AppleEvent.

AuAppleEvent

Creates the AppleEvent.

AuAppleEvent(
AEEventClass inClass,
AEEventID inID,
const AEAddressDesc* inAddressP,
SInt16 inReturnID = kAutoGenerateReturnID,
SInt32 inTransactionID = kAnyTransactionID
);

All the arguments are passed to AECreateAppleEvent.

AuAppleEvent(
void
);

This constructor is not implemented.

AuAppleEvent(
const AuAppleEvent&
);

This constructor is not implemented.

~AuAppleEvent

Disposes of the AppleEvent.

virtual
~AuAppleEvent(
void
);

operator=

This method is not implemented.

const AuAppleEvent&
operator=(
const AuAppleEvent&
);

EventPtr

This method returns a pointer to the AppleEvent held in the AuAppleEvent. Users should not dispose of this AppleEvent.

AppleEvent*
EventPtr(
void
);

Send

This operator will send the AppleEvent, all arguments are passed to AESend.

void
Send(
AppleEvent* outResultP,
AESendMode inMode = kAENeverInteract + kAECanSwitchLayer
+ kAEDontRecord + kAEWaitReply,
AESendPriority inPriority = kAENormalPriority,
SInt32 inTimeout = -1,
AEIdleUPP inIdlePP = nil,
AEFilterUPP inEventFilterUPP = nil
);


©1999-2004 Monsterworks

Last Modified: Thursday, October 5, 2000