Manager message class used when setting the name of a manager layer. More...
#include <ilviews/manager/observer.h>
Public Member Functions | |
| IlvManagerLayerNameMessage (int layer, const char *oldName) | |
| 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 | |
| const char * | _oldName |
| Previous name. 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 setting the name of a manager layer.
Library: ilvmgr
This message class is used in the method IlvManagerLayer::setName(). The reason (or message type) is always IlvMgrMsgLayerName. The new name of the layer is available though the manager layer object. The previous name of the layer is stored in the message data field _oldName.
| IlvManagerLayerNameMessage::IlvManagerLayerNameMessage | ( | int | layer, |
| const char * | oldName | ||
| ) |
Constructor.
Sets the message type to IlvMgrMsgLayerName.
| layer | The index of the layer. |
| oldName | The previous name of the manager layer. |
| const char* IlvManagerLayerNameMessage::_oldName |
Previous name.
The previous name of the the manager layer, or 0.