Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 18, 2013, 4:41:37 PM (11 years ago)
Author:
landauf
Message:

register remaining classes in framework

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core6/src/libraries/network/NetworkFunction.cc

    r9589 r9658  
    3636  std::map<NetworkFunctionPointer, NetworkMemberFunctionBase*> NetworkMemberFunctionBase::functorMap_;
    3737  std::map<uint32_t, NetworkMemberFunctionBase*> NetworkMemberFunctionBase::idMap_;
     38
     39  // no suitable factory for NetworkFunctionBase (and children), so we declare it abstract
     40  RegisterAbstractClass(NetworkFunctionBase).inheritsFrom(Class(Listable));
     41  RegisterAbstractClass(NetworkFunctionStatic).inheritsFrom(Class(NetworkFunctionBase));
     42  RegisterAbstractClass(NetworkMemberFunctionBase).inheritsFrom(Class(NetworkFunctionBase));
    3843
    3944  NetworkFunctionBase::NetworkFunctionBase(const std::string& name)
Note: See TracChangeset for help on using the changeset viewer.