Orxonox: orxonox::packet::Welcome Class Reference

# orxonox::packet::Welcome Class Reference

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

Inheritance diagram for orxonox::packet::Welcome:

List of all members.

## Public Member Functions

uint8_t * | getData ()
unsigned int | getSize () const
bool | process ()
| Welcome (uint8_t *data, uint32_t clientID)
| Welcome (uint32_t clientID, uint32_t shipID)
virtual | ~Welcome ()

## Detailed Description

Author:

## Constructor & Destructor Documentation

orxonox::packet::Welcome::Welcome | ( | uint32_t | clientID,
|  | uint32_t | shipID |
| ) |  |  |

References _CLIENTID, _ENDIANTEST, _PACKETID, orxonox::packet::Packet::data_, orxonox::packet::Packet::flags_, getSize(), PACKET_FLAGS_CLASSID, and orxonox::packet::Type::Welcome.

orxonox::packet::Welcome::Welcome | ( | uint8_t * | data,
|  | uint32_t | clientID |
| ) |  |  |

orxonox::packet::Welcome::~Welcome | ( |  | ) | `[virtual]`

## Member Function Documentation

uint8_t * orxonox::packet::Welcome::getData | ( |  | ) | `[virtual]`

Reimplemented from orxonox::packet::Packet.

References orxonox::packet::Packet::data_.

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

Implements orxonox::packet::Packet.

Referenced by Welcome().

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

Implements orxonox::packet::Packet.

References _CLIENTID, _ENDIANTEST, COUT, orxonox::packet::Packet::data_, orxonox::Synchronisable::setClient(), and orxonox::Host::setClientID().

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

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