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
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&
);
statics
There are no static methods.
overrides
There are no overriden methods.
new virtuals
virtual
~AuAppleEvent(
void
);
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
); |