Public Member Functions | Static Public Member Functions | List of all members
MstnEventManager Struct Referenceabstract

Manager for events associated with MicroStation. More...

#include <IEvent.h>

Public Member Functions

void AddEditActionSource (IEditActionSourceP source)
 Add a new DgnPlatform::IEditActionSource to MicroStation's list of installed EditActionSources. More...
 
void DropEditActionSource (IEditActionSourceP source)
 Drop an DgnPlatform::IEditActionSource from list of installed EditActionSources. More...
 
void AddMouseWheelHandler (IMouseWheelHandler *mwHandler)
 Add a new IMouseWheelHandler to MicroStation's list of installed MouseWheelHandlers. More...
 
void DropMouseWheelHandler (IMouseWheelHandler *mwHandler)
 Drop an IMouseWheelHandler from list of installed MouseWheelHandlers. More...
 
void AddPrintEventHandler (IPrintEventHandler *handler)
 Add a new IPrintEventHandler to MicroStation's list of installed PrintEventHandlers. More...
 
void DropPrintEventHandler (IPrintEventHandler *handler)
 Drop an IPrintEventHandler from list of installed PrintEventHandlers. More...
 

Static Public Member Functions

static MstnEventManagerR GetManager ()
 Get the MstnEventManager instance. More...
 

Detailed Description

Manager for events associated with MicroStation.

Member Function Documentation

void AddEditActionSource ( IEditActionSourceP  source)

Add a new DgnPlatform::IEditActionSource to MicroStation's list of installed EditActionSources.

After this call, handler will be notified of all future EditActionSource events.

Parameters
[in]sourceNew DgnPlatform::IEditActionSource to add
void AddMouseWheelHandler ( IMouseWheelHandler mwHandler)

Add a new IMouseWheelHandler to MicroStation's list of installed MouseWheelHandlers.

Parameters
[in]mwHandlerNew IMouseWheelHandler to add
void AddPrintEventHandler ( IPrintEventHandler handler)

Add a new IPrintEventHandler to MicroStation's list of installed PrintEventHandlers.

Parameters
[in]handlerNew handler to add
void DropEditActionSource ( IEditActionSourceP  source)

Drop an DgnPlatform::IEditActionSource from list of installed EditActionSources.

After this call, handler will not be notified of future EditActionSource events.

Parameters
[in]sourcethe DgnPlatform::IEditActionSource to drop.
void DropMouseWheelHandler ( IMouseWheelHandler mwHandler)

Drop an IMouseWheelHandler from list of installed MouseWheelHandlers.

After this call, handler will not be notified of future MouseWheel events.

Parameters
[in]mwHandlerthe IMouseWheelHandler to drop.
void DropPrintEventHandler ( IPrintEventHandler handler)

Drop an IPrintEventHandler from list of installed PrintEventHandlers.

After this call, handler will not be notified of future print events.

Parameters
[in]handlerto drop.
static MstnEventManagerR GetManager ( )
static

Get the MstnEventManager instance.


The documentation for this struct was generated from the following file:

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.