Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 28, 2010, 9:48:32 PM (14 years ago)
Author:
scheusso
Message:

buffering incoming function calls for non-existing objects works now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/libraries/network/FunctionCallManager.h

    r6417 r7495  
    3333
    3434#include <map>
     35#include <vector>
    3536#include "util/UtilPrereqs.h"
     37#include "FunctionCall.h"
    3638
    3739namespace orxonox {
     
    5860
    5961  static void sendCalls();
     62 
     63  static void bufferIncomingFunctionCall( const FunctionCall& fctCall );
     64  static void processBufferedFunctionCalls();
    6065
    61   static std::map<uint32_t, packet::FunctionCalls*> clientMap_;
     66  static std::map<uint32_t, packet::FunctionCalls*> sClientMap_;
     67  static std::vector<FunctionCall>                  sIncomingFunctionCallBuffer_;
    6268protected:
    6369  FunctionCallManager();
Note: See TracChangeset for help on using the changeset viewer.