Views
Manager Package API Reference Guide
Product Documentation:
Views Documentation Home
List of all members | Public Member Functions | Public Attributes
IlvManagerMoveLayerMessage Class Reference

Manager message class used when modifying the index of a manager layer. More...

#include <ilviews/manager/observer.h>

Inheritance diagram for IlvManagerMoveLayerMessage:
IlvManagerLayerMessage IlvManagerMessage

Public Member Functions

 IlvManagerMoveLayerMessage (int layer, int oldIndex)
 Constructor. More...
 
- Public Member Functions inherited from IlvManagerLayerMessage
 IlvManagerLayerMessage (IlUInt reason, int layer)
 Constructor. More...
 
int getLayer () const
 Returns the index of the layer. More...
 
- Public Member Functions inherited from IlvManagerMessage
 IlvManagerMessage (IlUInt reason, IlUInt mask, IlAny data=0)
 Constructor. More...
 

Public Attributes

int _oldIndex
 The previous index of the layer. More...
 
- Public Attributes inherited from IlvManagerMessage
IlAny _data
 Additional message information. More...
 
IlUInt _mask
 Message mask (or message category). More...
 
IlUInt _reason
 Message type. More...
 

Detailed Description

Manager message class used when modifying the index of a manager layer.

Library: ilvmgr

This message class is used in the method IlvManager::moveLayer(). The reason (or message type) is always IlvMgrMsgMoveLayer. The previous index of the manager layer is stored in the message data field _oldIndex.

Constructor & Destructor Documentation

◆ IlvManagerMoveLayerMessage()

IlvManagerMoveLayerMessage::IlvManagerMoveLayerMessage ( int  layer,
int  oldIndex 
)

Constructor.

Sets the message type to IlvMgrMsgMoveLayer.

Parameters
layerThe new index of the layer.
oldIndexThe previous index of the layer.

Member Data Documentation

◆ _oldIndex

int IlvManagerMoveLayerMessage::_oldIndex

The previous index of the layer.

Contains the previous index of the manager layer.