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

Manager message class used when setting the name of a manager layer. More...

#include <ilviews/manager/observer.h>

Inheritance diagram for IlvManagerLayerNameMessage:
IlvManagerLayerMessage IlvManagerMessage

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...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ IlvManagerLayerNameMessage()

IlvManagerLayerNameMessage::IlvManagerLayerNameMessage ( int  layer,
const char *  oldName 
)

Constructor.

Sets the message type to IlvMgrMsgLayerName.

Parameters
layerThe index of the layer.
oldNameThe previous name of the manager layer.

Member Data Documentation

◆ _oldName

const char* IlvManagerLayerNameMessage::_oldName

Previous name.

The previous name of the the manager layer, or 0.