Planeshift
Public Member Functions | Public Attributes

Subscription Struct Reference

Manages a iNetSubscriber watching a certain message type. More...

#include <msghandler.h>

List of all members.

Public Member Functions

bool operator< (const Subscription &other) const
 Subscription (iNetSubscriber *nSubscriber, uint32_t nFlags=0x01)
 Constructor without a callback.

Public Attributes

uint32_t flags
 Additional flags for detecting if the subscriber should be notified.
iNetSubscribersubscriber
 The actual subscriber that wants to be notified.

Detailed Description

Manages a iNetSubscriber watching a certain message type.

Simple class containing data for subscribes that want to be informed of messages.

Definition at line 47 of file msghandler.h.


Constructor & Destructor Documentation

Subscription::Subscription ( iNetSubscriber nSubscriber,
uint32_t  nFlags = 0x01 
) [inline]

Constructor without a callback.

Parameters:
nSubscriberSets subscriber
nFlagsSets flags

Definition at line 58 of file msghandler.h.


Member Function Documentation

bool Subscription::operator< ( const Subscription other) const [inline]

Definition at line 64 of file msghandler.h.


Member Data Documentation

Additional flags for detecting if the subscriber should be notified.

Definition at line 49 of file msghandler.h.

The actual subscriber that wants to be notified.

Definition at line 50 of file msghandler.h.


The documentation for this struct was generated from the following file: