Orxonox: orxonox::packet::DeleteObjects Class Reference

# orxonox::packet::DeleteObjects Class Reference

`#include <src/network/packet/DeleteObjects.h>`

Inheritance diagram for orxonox::packet::DeleteObjects:

List of all members.

## Public Member Functions

| DeleteObjects (uint8_t *data, unsigned int clientID)
| DeleteObjects ()
bool | fetchIDs ()
unsigned int | getSize () const
bool | process ()
| ~DeleteObjects ()

## Detailed Description

Author:

## Constructor & Destructor Documentation

orxonox::packet::DeleteObjects::DeleteObjects | ( |  | ) |

References orxonox::packet::Packet::flags_, and PACKET_FLAG_DELETE.

orxonox::packet::DeleteObjects::DeleteObjects | ( | uint8_t * | data,
|  | unsigned int | clientID |
| ) |  |  |

orxonox::packet::DeleteObjects::~DeleteObjects | ( |  | ) |

## Member Function Documentation

bool orxonox::packet::DeleteObjects::fetchIDs | ( |  | ) |

References COUT, orxonox::packet::Packet::data_, orxonox::packet::Type::DeleteObjects, orxonox::Synchronisable::getNumberOfDeletedObject(), and orxonox::Synchronisable::popDeletedObject().

Referenced by orxonox::Server::sendObjectDeletes().

unsigned int orxonox::packet::DeleteObjects::getSize | ( |  | ) | const`[inline, virtual]`

Implements orxonox::packet::Packet.

References _OBJECTIDS, _QUANTITY, and orxonox::packet::Packet::data_.

bool orxonox::packet::DeleteObjects::process | ( |  | ) | `[virtual]`

Implements orxonox::packet::Packet.

References _OBJECTIDS, _QUANTITY, COUT, orxonox::packet::Packet::data_, and orxonox::Synchronisable::deleteObject().

The documentation for this class was generated from the following files:

- src/network/packet/DeleteObjects.h
- src/network/packet/DeleteObjects.cc