Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 26, 2013, 11:43:43 PM (11 years ago)
Author:
landauf
Message:

interfaces which are part of the framework and only rely on the object list for calling all instances may inherit from Listable

Location:
code/branches/core6/src/libraries/network
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core6/src/libraries/network/ClientConnectionListener.h

    r9563 r9589  
    3131
    3232#include "NetworkPrereqs.h"
    33 #include "core/class/OrxonoxClass.h"
     33#include "core/object/Listable.h"
    3434
    3535namespace orxonox
    3636{
    37     class _NetworkExport ClientConnectionListener : virtual public OrxonoxClass
     37    class _NetworkExport ClientConnectionListener : virtual public Listable
    3838    {
    3939        public:
  • code/branches/core6/src/libraries/network/NetworkChatListener.h

    r9563 r9589  
    3232#include "NetworkPrereqs.h"
    3333
    34 #include "core/class/OrxonoxClass.h"
     34#include "core/object/Listable.h"
    3535
    3636namespace orxonox
     
    4343        in Host and ChatManager. ChatManager is the main derivative of this interface.
    4444    */
    45     class _NetworkExport NetworkChatListener : virtual public OrxonoxClass
     45    class _NetworkExport NetworkChatListener : virtual public Listable
    4646    {
    4747        friend class Host;
  • code/branches/core6/src/libraries/network/NetworkFunction.cc

    r7284 r9589  
    5757    std::map<std::string, NetworkFunctionBase*>::iterator it;
    5858    for( it=map.begin(); it!=map.end(); ++it )
    59       it->second->destroy();
     59      delete it->second;
    6060  }
    6161
  • code/branches/core6/src/libraries/network/NetworkFunction.h

    r9563 r9589  
    3939#include <boost/static_assert.hpp>
    4040
     41#include "core/object/Listable.h"
    4142#include "core/class/Identifier.h"
    4243#include "core/command/Functor.h"
     
    7071
    7172
    72 class _NetworkExport NetworkFunctionBase: virtual public OrxonoxClass {
     73class _NetworkExport NetworkFunctionBase: virtual public Listable {
    7374  public:
    7475    NetworkFunctionBase(const std::string& name);
Note: See TracChangeset for help on using the changeset viewer.