ManagedServices::MaxNotificationListener Class Reference


Detailed Description

EventArgs class for the NotificationRaised event declared on MaxNotificationListener.

List of all members.

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.

Constructor & Destructor Documentation

ManagedServices::MaxNotificationListener::MaxNotificationListener ( int  notificationCode )

Constructor.

Parameters:
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.


Member Function Documentation

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.

Parameters:
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.

Parameters:
args The NotificationRaised event is raised using these arguments.

Member Data Documentation

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.


ManagedServices::MaxNotificationListener ManagedServices::MaxNotificationListener ManagedServices::MaxNotificationListener ManagedServices::MaxNotificationListener ManagedServices::MaxNotificationListener ManagedServices::MaxNotificationListener ManagedServices::MaxNotificationListener ManagedServices::MaxNotificationListener ManagedServices::MaxNotificationListener ManagedServices::MaxNotificationListener
ManagedServices::MaxNotificationListener ManagedServices::MaxNotificationListener ManagedServices::MaxNotificationListener ManagedServices::MaxNotificationListener ManagedServices::MaxNotificationListener ManagedServices::MaxNotificationListener ManagedServices::MaxNotificationListener ManagedServices::MaxNotificationListener ManagedServices::MaxNotificationListener ManagedServices::MaxNotificationListener