Changeset 10817 for code/branches/cpp11_v2/src/libraries/network/packet
- Timestamp:
- Nov 19, 2015, 11:40:28 AM (9 years ago)
- Location:
- code/branches/cpp11_v2/src/libraries/network/packet
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/libraries/network/packet/Acknowledgement.h
r7801 r10817 46 46 ~Acknowledgement(); 47 47 48 inline unsigned int getSize() const ;49 virtual bool process(orxonox::Host* host) ;48 inline unsigned int getSize() const override; 49 virtual bool process(orxonox::Host* host) override; 50 50 51 51 unsigned int getAckID(); -
code/branches/cpp11_v2/src/libraries/network/packet/Chat.h
r8858 r10817 49 49 50 50 /* get size of packet */ 51 inline unsigned int getSize() const ;51 inline unsigned int getSize() const override; 52 52 53 53 /* process chat message packet and remove it afterwards */ 54 virtual bool process(orxonox::Host* host) ;54 virtual bool process(orxonox::Host* host) override; 55 55 56 56 /* Get the length of the message (not the full size of the packet) */ -
code/branches/cpp11_v2/src/libraries/network/packet/ClassID.h
r7801 r10817 47 47 ~ClassID(); 48 48 49 uint32_t getSize() const ;50 virtual bool process(orxonox::Host* host) ;49 uint32_t getSize() const override; 50 virtual bool process(orxonox::Host* host) override; 51 51 52 52 private: -
code/branches/cpp11_v2/src/libraries/network/packet/DeleteObjects.h
r7801 r10817 48 48 bool fetchIDs(); 49 49 50 inline unsigned int getSize() const ;51 virtual bool process(orxonox::Host* host) ;50 inline unsigned int getSize() const override; 51 virtual bool process(orxonox::Host* host) override; 52 52 53 53 private: -
code/branches/cpp11_v2/src/libraries/network/packet/FunctionCalls.h
r10624 r10817 52 52 ~FunctionCalls(); 53 53 54 inline unsigned int getSize() const 54 inline unsigned int getSize() const override 55 55 { assert(!this->isDataENetAllocated()); return currentSize_; } 56 virtual bool process(orxonox::Host* host) ;56 virtual bool process(orxonox::Host* host) override; 57 57 58 58 void addCall( uint32_t networkID, uint32_t objectID, const MultiType& mt1, const MultiType& mt2, const MultiType& mt3, const MultiType& mt4, const MultiType& mt5); 59 virtual bool send(orxonox::Host* host) ;59 virtual bool send(orxonox::Host* host) override; 60 60 private: 61 61 std::queue<orxonox::FunctionCall> functionCalls_; -
code/branches/cpp11_v2/src/libraries/network/packet/FunctionIDs.h
r7801 r10817 47 47 ~FunctionIDs(); 48 48 49 virtual uint32_t getSize() const ;50 virtual bool process(orxonox::Host* host) ;49 virtual uint32_t getSize() const override; 50 virtual bool process(orxonox::Host* host) override; 51 51 52 52 private: -
code/branches/cpp11_v2/src/libraries/network/packet/Gamestate.h
r10768 r10817 138 138 // void rawDiff( uint8_t* newdata, uint8_t* data, uint8_t* basedata, uint32_t datalength, uint32_t baselength); 139 139 // inline uint32_t findObject( const SynchronisableHeader& header, uint8_t* mem, uint32_t dataLength, uint32_t startPosition = 0 ); 140 virtual uint32_t getSize() const ;141 virtual bool process(orxonox::Host* host) ;140 virtual uint32_t getSize() const override; 141 virtual bool process(orxonox::Host* host) override; 142 142 uint32_t calcGamestateSize(uint32_t id, uint8_t mode=0x0); 143 143 // inline void diffObject( uint8_t*& newData, uint8_t*& origData, uint8_t*& baseData, SynchronisableHeader& objectHeader, std::vector<uint32_t>::iterator& sizes ); -
code/branches/cpp11_v2/src/libraries/network/packet/Welcome.h
r8706 r10817 45 45 virtual ~Welcome(); 46 46 47 uint8_t *getData() ;48 inline unsigned int getSize() const ;49 virtual bool process(orxonox::Host* host) ;47 uint8_t *getData() override; 48 inline unsigned int getSize() const override; 49 virtual bool process(orxonox::Host* host) override; 50 50 51 51 private:
Note: See TracChangeset
for help on using the changeset viewer.