From 080dc6ecd94142b6dae8ccdc33457e1130bb796e Mon Sep 17 00:00:00 2001 From: Henri Herscher Date: Thu, 22 Feb 2007 22:43:40 +0000 Subject: Tape message now defines its members before common message members so that the message type is always the first member. git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@414 09dcff7a-b715-0410-9601-b79a96267cd0 --- orkbasecxx/messages/TapeMsg.h | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) (limited to 'orkbasecxx/messages/TapeMsg.h') diff --git a/orkbasecxx/messages/TapeMsg.h b/orkbasecxx/messages/TapeMsg.h index 481bfd3..09a95d8 100644 --- a/orkbasecxx/messages/TapeMsg.h +++ b/orkbasecxx/messages/TapeMsg.h @@ -42,7 +42,7 @@ public: CStdString GetClassName(); ObjectRef NewInstance(); - inline ObjectRef Process() {return ObjectRef();}; + ObjectRef Process(); CStdString m_recId; CStdString m_stage; @@ -81,5 +81,36 @@ public: typedef boost::shared_ptr TapeResponseRef; +//class DLL_IMPORT_EXPORT_ORKBASE TapeResponseFwd : public TapeResponse +//{ +//public: +// TapeResponseFwd(); +// void Define(Serializer* s); +// +// ObjectRef NewInstance(); +// +// bool m_boolean2; +//}; + + +class DLL_IMPORT_EXPORT_ORKBASE TapeTagMsg : public SyncMessage +{ +public: + TapeTagMsg(); + + void Define(Serializer* s); + void Validate(); + + CStdString GetClassName(); + ObjectRef NewInstance(); + inline ObjectRef Process() {return ObjectRef();}; + + CStdString m_orkUid; + time_t m_timestamp; + CStdString m_key; + CStdString m_value; +}; +typedef boost::shared_ptr TapeTagMsgRef; + #endif -- cgit v1.2.3