EventArgs class for the NotificationRaised event declared on MaxNotificationListener.
Public Member Functions |
|
MaxNotificationListener (int notificationCode) | |
Constructor. |
|
~MaxNotificationListener () | |
Destructor. |
|
!MaxNotificationListener () | |
Finalizer. |
|
int | GetNotificationCode () |
Gets the notification code that this
listener is listening for. |
|
void | RaiseNotificationEvent (int notificationCode, System::IntPtr data) |
Raises the NotificationRaised event with
this particular code. |
|
Public Attributes |
|
event
System::EventHandler < MaxNotificationEventArgs^> |
NotificationRaised |
An event that is raised when max sends out a
particular notification broadcast. |
|
Protected Member Functions |
|
virtual void | OnNotificationRaised (MaxNotificationEventArgs^args) |
Takes care of raising the NotificationRaised
event with the args passed in. |
ManagedServices::MaxNotificationListener::MaxNotificationListener | ( | int | notificationCode | ) |
Constructor.
notificationCode | The numerical code that corresponds to the max notification being listened to. See notify.h in the MaxSDK. |
ManagedServices::MaxNotificationListener::~MaxNotificationListener | ( | ) |
Destructor.
ManagedServices::MaxNotificationListener::!MaxNotificationListener | ( | ) |
Finalizer.
int ManagedServices::MaxNotificationListener::GetNotificationCode | ( | ) |
Gets the notification code that this listener is listening for.
<return> A numerical code of the notification code that this listener is listening for. </return>
void ManagedServices::MaxNotificationListener::RaiseNotificationEvent | ( | int | notificationCode, |
System::IntPtr | data | ||
) |
Raises the NotificationRaised event with this particular code.
notificationCode | The numerical code that corresponds to the max notification that has been raised. See notify.h in the MaxSDK. This code should be no different the the result of GetNotificationCode(). |
data | The void* callParam from the notification. The implementation for the notification source determines the semantics for this parameter. |
void ManagedServices::MaxNotificationListener::OnNotificationRaised | ( | MaxNotificationEventArgs^ | args | ) | [protected, virtual] |
Takes care of raising the NotificationRaised event with the args passed in.
args | The NotificationRaised event is raised using these arguments. |
event System::EventHandler<MaxNotificationEventArgs^> ManagedServices::MaxNotificationListener::NotificationRaised |
An event that is raised when max sends out a particular notification broadcast.
This event is only raised when the notification with the numerical code passed in to the constructor is broadcast. See notify.h in the MaxSDK.