Rogue Wave Views Manager Package API Reference Guide |
Rogue Wave Views Documentation Home |
Manager message class used when swapping the index of two manager layers. More...
#include <ilviews/manager/observer.h>
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... | |
Manager message class used when swapping the index of two manager layers.
Library: ilvmgr
This message class is used in the member function 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
.
IlvManagerSwapLayerMessage::IlvManagerSwapLayerMessage | ( | int | layer1, |
int | layer2 | ||
) |
Constructor.
Sets the message type to IlvMgrMsgSwapLayer
.
layer1 | The index of the first layer. |
layer2 | The index of the second layer. |
int IlvManagerSwapLayerMessage::_layer2 |
Index of the second manager layer.
Index of the second manager layer.
© Copyright 2017, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.