Revision: 40705
http://brlcad.svn.sourceforge.net/brlcad/?rev=40705&view=rev
Author: davidloman
Date: 2010-09-27 18:22:42 +0000 (Mon, 27 Sep 2010)
Log Message:
-----------
Changed return type for INetMsgHandler::handleNetMsg to a bool (from void) so
as to signal the caller that the NetMsg was handled and the memory freed
(deleted)
Modified Paths:
--------------
rt^3/trunk/include/INetMsgHandler.h
Modified: rt^3/trunk/include/INetMsgHandler.h
===================================================================
--- rt^3/trunk/include/INetMsgHandler.h 2010-09-27 18:19:30 UTC (rev 40704)
+++ rt^3/trunk/include/INetMsgHandler.h 2010-09-27 18:22:42 UTC (rev 40705)
@@ -29,16 +29,17 @@
#define __INETMSGHANDLER_H__
#include "NetMsg.h"
-#include "Portal.h"
class INetMsgHandler {
public:
- virtual void handleNetMsg(NetMsg* msg, Portal* origin) = 0;
+ /**
+ * Handles a NetMsg. Return value indicates whether the NetMsg has
been fully handled and the memory released.
+ */
+ virtual bool handleNetMsg(NetMsg* msg) = 0;
};
#endif /* __INETMSGHANDLER_H__ */
-
// Local Variables: ***
// mode: C++ ***
// tab-width: 8 ***
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits