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

Manager message class used when modifying the structure of the manager contents. More...

#include <ilviews/manager/observer.h>

Inheritance diagram for IlvManagerContentsMessage:
IlvManagerObjectMessage IlvManagerMessage IlvManagerObjectLayerMessage

Public Member Functions

 IlvManagerContentsMessage (IlUInt reason, IlvGraphic *obj, int layer=-1, IlUInt mask=0x00000008)
 Constructor. More...
 
- Public Member Functions inherited from IlvManagerObjectMessage
IlvGraphicgetObject () const
 Returns the graphic object. More...
 
- Public Member Functions inherited from IlvManagerMessage
 IlvManagerMessage (IlUInt reason, IlUInt mask, IlAny data=0)
 Constructor. More...
 

Public Attributes

int _layer
 The index of the 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 modifying the structure of the manager contents.

Library: ilvmgr

This message class is used in notification of actions in the structure of the manager, such as adding or removing graphic objects or changing their layer.

Constructor & Destructor Documentation

◆ IlvManagerContentsMessage()

IlvManagerContentsMessage::IlvManagerContentsMessage ( IlUInt  reason,
IlvGraphic obj,
int  layer = -1,
IlUInt  mask = 0x00000008 
)

Constructor.

Parameters
reasonThe notification type.
objThe graphic object.
layerThe index of the manager layer containing the graphic object.
maskThe message category. The default value, IlvMgrMsgContentsMask, is used for the notifications of type IlvMgrMsgAddObject, and IlvMgrMsgRemoveObject.

Member Data Documentation

◆ _layer

int IlvManagerContentsMessage::_layer

The index of the manager layer.

Contains the index of the manager layer where the graphic object is stored.