OpMsg Class Reference

This message is sent whenever something happens to an operation. More...

#include <msg.h>

Inheritance diagram for OpMsg:

Msg CCObject SimpleCCObject List of all members.

Public Types

enum  OpMsgType {
  BEGIN, END, BEFORE_UNDO, AFTER_UNDO,
  BEFORE_REDO, AFTER_REDO
}

Public Member Functions

 OpMsg (Operation *pOperation, OpMsgType TypeMsg)

Public Attributes

OpMsgType MsgType
OperationpOp

Private Member Functions

 CC_DECLARE_DYNAMIC (OpMsg)

Detailed Description

This message is sent whenever something happens to an operation.

Author:
Simon_Maneggio (Xara Group Ltd) <camelotdev@xara.com>
Date:
23/3/94
See also:
-

Definition at line 142 of file msg.h.


Member Enumeration Documentation

enum OpMsg::OpMsgType
 

Enumerator:
BEGIN 
END 
BEFORE_UNDO 
AFTER_UNDO 
BEFORE_REDO 
AFTER_REDO 

Definition at line 147 of file msg.h.

00148     {
00149         BEGIN,          // An operation is about to be performed
00150         END,            // An operation has successfully ended
00151         BEFORE_UNDO,    // Sent prior to the operation being undone
00152         AFTER_UNDO,     // Sent after the operation has been undone
00153         BEFORE_REDO,    // Sent prior to the operation being redone
00154         AFTER_REDO      // Sent after the operation has been redone
00155     };


Constructor & Destructor Documentation

OpMsg::OpMsg Operation pOperation,
OpMsgType  TypeMsg
[inline]
 

Definition at line 160 of file msg.h.

00161       : MsgType(TypeMsg), pOp(pOperation)
00162         { /* empty */ }


Member Function Documentation

OpMsg::CC_DECLARE_DYNAMIC OpMsg   )  [private]
 


Member Data Documentation

OpMsgType OpMsg::MsgType
 

Definition at line 157 of file msg.h.

Operation* OpMsg::pOp
 

Definition at line 158 of file msg.h.


The documentation for this class was generated from the following file:
Generated on Sat Nov 10 03:58:29 2007 for Camelot by  doxygen 1.4.4