UnitMsg Class Reference

This message is sent whenever something happens to a unit. More...

#include <units.h>

Inheritance diagram for UnitMsg:

Msg CCObject SimpleCCObject List of all members.

Public Types

enum  UnitMsgType { BEFOREDELETE, AFTERDELETE, NEW, CHANGED }

Public Member Functions

 UnitMsg (DocUnitList *pDocList, UnitType UType, UnitMsgType TypeMsg)

Public Attributes

UnitMsgType MsgType
DocUnitListpDocUnitList
UnitType ThisUnitType

Private Member Functions

 CC_DECLARE_DYNAMIC (UnitMsg)

Detailed Description

This message is sent whenever something happens to a unit.

Author:
Mark_Neves (Xara Group Ltd) <camelotdev@xara.com>
Date:
15/7/94
See also:
-

Definition at line 340 of file units.h.


Member Enumeration Documentation

enum UnitMsg::UnitMsgType
 

Enumerator:
BEFOREDELETE 
AFTERDELETE 
NEW 
CHANGED 

Definition at line 345 of file units.h.

00346     {
00347         BEFOREDELETE,   // The unit is about to be deleted from the document
00348         AFTERDELETE,    // The unit has just been deleted from the document
00349         NEW,            // A new unit has just been created
00350         CHANGED         // An existing unit has changed definition
00351     };


Constructor & Destructor Documentation

UnitMsg::UnitMsg DocUnitList pDocList,
UnitType  UType,
UnitMsgType  TypeMsg
[inline]
 

Definition at line 357 of file units.h.

00357                                                                        : 
00358             MsgType(TypeMsg), pDocUnitList(pDocList), ThisUnitType(UType) { } 


Member Function Documentation

UnitMsg::CC_DECLARE_DYNAMIC UnitMsg   )  [private]
 


Member Data Documentation

UnitMsgType UnitMsg::MsgType
 

Definition at line 353 of file units.h.

DocUnitList* UnitMsg::pDocUnitList
 

Definition at line 354 of file units.h.

UnitType UnitMsg::ThisUnitType
 

Definition at line 355 of file units.h.


The documentation for this class was generated from the following file:
Generated on Sat Nov 10 04:02:41 2007 for Camelot by  doxygen 1.4.4