DataDirector API
Public Types | Public Member Functions | List of all members
DDD_AssetShifted_Subscriber Class Referenceabstract

Abstract base class for subscribers of the AssetShifted event. More...

#include <DDD_EventSubscriber.h>

Public Types

enum  AssetShiftDirection { ASSET_SHIFT_UP = 0, ASSET_SHIFT_DOWN = 1 }
 

Public Member Functions

virtual void TriggerAssetShifted (DDD_AssetBase *asset, AssetShiftDirection direction)=0
 

Detailed Description

Abstract base class for subscribers of the AssetShifted event.

Member Enumeration Documentation

Enumerator
ASSET_SHIFT_UP 

asset has switched places with the one before it

ASSET_SHIFT_DOWN 

asset has switched places with the one behind it

Member Function Documentation

virtual void TriggerAssetShifted ( DDD_AssetBase asset,
AssetShiftDirection  direction 
)
pure virtual

The AssetShifted event handling method in this observer

Parameters
assetpointer to asset that is to be shifted
directionenum denoting asset's direction for shift.

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