[brlcad-commits] SF.net SVN: brlcad:[33321]
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <dav...@us...> - 2008-12-08 15:51:03
|
Revision: 33321 http://brlcad.svn.sourceforge.net/brlcad/?rev=33321&view=rev Author: davidloman Date: 2008-12-08 15:51:01 +0000 (Mon, 08 Dec 2008) Log Message: ----------- Changed header preprocessor directives so that they are NOT UUIDs anymore. Moved Header files to include/ directories. Renamed all file extensions from .cpp to .cxx per rt^3 standards. Added //Local Variables: blocks at the end of each file per rt^3 standards. Added Paths: ----------- rt^3/trunk/include/GeometryService/ rt^3/trunk/include/GeometryService/NetMsgActionDefinitions/ rt^3/trunk/include/GeometryService/NetMsgActionDefinitions/AbstractNetMsgActionDef.h rt^3/trunk/include/GeometryService/NetMsgActionDefinitions/NetMsgActionDefManager.h rt^3/trunk/include/GeometryService/NetMsgActionDefinitions/NewSessionNMAD.h Copied: rt^3/trunk/include/GeometryService/NetMsgActionDefinitions/AbstractNetMsgActionDef.h (from rev 33315, rt^3/trunk/src/GeometryService/NetMsgActionDefinitions/AbstractNetMsgActionDef.h) =================================================================== --- rt^3/trunk/include/GeometryService/NetMsgActionDefinitions/AbstractNetMsgActionDef.h (rev 0) +++ rt^3/trunk/include/GeometryService/NetMsgActionDefinitions/AbstractNetMsgActionDef.h 2008-12-08 15:51:01 UTC (rev 33321) @@ -0,0 +1,36 @@ +/////////////////////////////////////////////////////////// +// AbstractNetMsgActionDef.h +// Implementation of the Class AbstractNetMsgActionDef +// Created on: 04-Dec-2008 8:26:35 AM +// Original author: Dave Loman +/////////////////////////////////////////////////////////// + +#if !defined(__ABSTRACTNETMSGACTIONDEF_H__) +#define __ABSTRACTNETMSGACTIONDEF_H__ + +/** + * Base class to be extended from to implement all NetMsg to Job Conversions + */ +class AbstractNetMsgActionDef +{ + +public: + AbstractNetMsgActionDef(); + virtual ~AbstractNetMsgActionDef(); + + AbstractJob& convert(NetMsg& msg); + +private: + int msgType; + +}; +#endif // !defined(__ABSTRACTNETMSGACTIONDEF_H__) + + +// Local Variables: *** +// mode: C++ *** +// tab-width: 8 *** +// c-basic-offset: 2 *** +// indent-tabs-mode: t *** +// End: *** +// ex: shiftwidth=2 tabstop=8 Copied: rt^3/trunk/include/GeometryService/NetMsgActionDefinitions/NetMsgActionDefManager.h (from rev 33315, rt^3/trunk/src/GeometryService/NetMsgActionDefinitions/NetMsgActionDefManager.h) =================================================================== --- rt^3/trunk/include/GeometryService/NetMsgActionDefinitions/NetMsgActionDefManager.h (rev 0) +++ rt^3/trunk/include/GeometryService/NetMsgActionDefinitions/NetMsgActionDefManager.h 2008-12-08 15:51:01 UTC (rev 33321) @@ -0,0 +1,39 @@ +/////////////////////////////////////////////////////////// +// NetMsgActionDefManager.h +// Implementation of the Class NetMsgActionDefManager +// Created on: 04-Dec-2008 8:26:45 AM +// Original author: Dave Loman +/////////////////////////////////////////////////////////// + +#if !defined(__NETMSGACTIONDEFMANAGER_H__) +#define __NETMSGACTIONDEFMANAGER_H__ + +#include "AbstractNetMsgActionDef.h" + +class NetMsgActionDefManager +{ + +public: + NetMsgActionDefManager(); + virtual ~NetMsgActionDefManager(); + AbstractNetMsgActionDef *m_AbstractNetMsgActionDef; + + void registerNetMsgActionDef(AbstractNetMsgActionDef& def); + int unregisterNetMsgActionDef(AbstractNetMsgActionDef& def); + AbstractNetMsgActionDef& unregisterNetMsgActionDef(int msgType); + AbstractNetMsgActionDef& getNetMsgActionDef(int msgType); + +private: + std::map <int, AbstractNetMsgActionDef&> conversionDefs; + +}; +#endif // !defined(__NETMSGACTIONDEFMANAGER_H__) + + +// Local Variables: *** +// mode: C++ *** +// tab-width: 8 *** +// c-basic-offset: 2 *** +// indent-tabs-mode: t *** +// End: *** +// ex: shiftwidth=2 tabstop=8 Copied: rt^3/trunk/include/GeometryService/NetMsgActionDefinitions/NewSessionNMAD.h (from rev 33315, rt^3/trunk/src/GeometryService/NetMsgActionDefinitions/NewSessionNMAD.h) =================================================================== --- rt^3/trunk/include/GeometryService/NetMsgActionDefinitions/NewSessionNMAD.h (rev 0) +++ rt^3/trunk/include/GeometryService/NetMsgActionDefinitions/NewSessionNMAD.h 2008-12-08 15:51:01 UTC (rev 33321) @@ -0,0 +1,33 @@ +/////////////////////////////////////////////////////////// +// NewSessionNMAD.h +// Implementation of the Class NewSessionNetMsgActionDef +// Created on: 04-Dec-2008 8:26:46 AM +// Original author: Dave Loman +/////////////////////////////////////////////////////////// + +#if !defined(__NEWSESSIONNMAD_H__) +#define __NEWSESSIONNMAD_H__ + +#include "AbstractNetMsgActionDef.h" + +class NewSessionNetMsgActionDef : public AbstractNetMsgActionDef +{ + +public: + NewSessionNetMsgActionDef(); + virtual ~NewSessionNetMsgActionDef(); + + AbstractJob& convert(NetMsg& msg); + +}; +#endif // !defined(__NEWSESSIONNMAD_H__) + + +// Local Variables: *** +// mode: C++ *** +// tab-width: 8 *** +// c-basic-offset: 2 *** +// indent-tabs-mode: t *** +// End: *** +// ex: shiftwidth=2 tabstop=8 + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |