Rogue Wave Views
Manager Package API Reference Guide
Product Documentation:

Rogue Wave Views
Documentation Home
List of all members | Public Member Functions | Public Attributes
IlvManagerLayerVisibilityMessage Class Reference

Manager message class used when modifying the visibility of a manager layer. More...

#include <ilviews/manager/observer.h>

Inheritance diagram for IlvManagerLayerVisibilityMessage:
IlvManagerLayerMessage IlvManagerMessage

Public Member Functions

 IlvManagerLayerVisibilityMessage (int layer, IlvMgrView *mgrview=0)
 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

IlvMgrView_mgrview
 The manager view, if applicable. 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 visibility of a manager layer.

Library: ilvmgr

This message class is used in member functions modifying the visibility of a layer, either for one manager view or globally (for all the manager views). These member functions are IlvManagerLayer::setVisible, and IlvManager::setVisible. The reason (or message type) is always IlvMgrMsgLayerVisibility.

Constructor & Destructor Documentation

§ IlvManagerLayerVisibilityMessage()

IlvManagerLayerVisibilityMessage::IlvManagerLayerVisibilityMessage ( int  layer,
IlvMgrView mgrview = 0 
)

Constructor.

Sets the message type to IlvMgrMsgLayerVisibility.

Parameters
layerThe index of the layer.
mgrviewThe manager view, or 0.

Member Data Documentation

§ _mgrview

IlvMgrView* IlvManagerLayerVisibilityMessage::_mgrview

The manager view, if applicable.

The data member is set to 0 if the layer visibility is changed globally, that is, for all the manager views. If the visibility changes for just one manager view, _mgrview is set to this manager view.


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