00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef INC_GRE_MSGEXTRACTED_H
00016 #define INC_GRE_MSGEXTRACTED_H
00017
00018 #ifndef INC_GRE_MSG_H
00019 #include <gre/msg.h>
00020 #endif
00021
00022 #ifndef INC_RVC_OBJITEM_H
00023 #include <rvc/objitem.h>
00024 #endif
00025
00026
00027
00028 class GRE_CALLBACK_MSG_EXTRACTED : public GRE_CALLBACK_MSG {
00029 public:
00030
00031
00032 GRE_CALLBACK_MSG_EXTRACTED (
00033 GRE_LAYER *layer,
00034 const RVC::OBJITEM& objitem
00035 ): GRE_CALLBACK_MSG(ACTION_ExtractedFrom,layer), m_objitem(objitem), m_processed(false) { }
00036
00037
00038 const RVC::OBJITEM& GetObjItem (
00039 ) const { return (m_objitem); }
00040
00041
00042 bool IsProcessed (
00043 ) const { return (m_processed); }
00044
00045
00046 void SetProcessed (
00047 ) const { m_processed = true; }
00048
00049 private:
00050 #ifndef GENERATING_DOXYGEN_OUTPUT
00051 RVC::OBJITEM m_objitem;
00052 mutable bool m_processed;
00053 #endif // GENERATING_DOXYGEN_OUTPUT
00054 };
00055
00056
00057
00058
00059 #endif // INC_GRE_MSGEXTRACTED_H