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

Manager message class used when swapping the index of two manager layers. More...

#include <ilviews/manager/observer.h>

Inheritance diagram for IlvManagerSwapLayerMessage:
IlvManagerLayerMessage IlvManagerMessage

Public Member Functions

 IlvManagerSwapLayerMessage (int layer1, int layer2)
 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 _layer2
 Index of the second manager 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 swapping the index of two manager layers.

Library: ilvmgr

This message class is used in the method IlvManager::swapLayer(). The reason (or message type) is always IlvMgrMsgSwapLayer. The index of the second manager layer is stored in the message data field _layer2 (the index of the first one can be obtained with the member function IlvManagerLayerMessage::getLayer().

Constructor & Destructor Documentation

◆ IlvManagerSwapLayerMessage()

IlvManagerSwapLayerMessage::IlvManagerSwapLayerMessage ( int  layer1,
int  layer2 
)

Constructor.

Sets the message type to IlvMgrMsgSwapLayer.

Parameters
layer1The index of the first layer.
layer2The index of the second layer.

Member Data Documentation

◆ _layer2

int IlvManagerSwapLayerMessage::_layer2

Index of the second manager layer.

Index of the second manager layer.