Public Member Functions

ana::client_predicate Struct Reference

A boolean predicate of client IDs. More...

#include <predicates.hpp>

List of all members.

Public Member Functions

virtual ~client_predicate ()
virtual bool selects (net_id) const =0
 Decides if a given condition applies to a client.

Detailed Description

A boolean predicate of client IDs.

Used for conditional send operations.

Definition at line 47 of file predicates.hpp.


Constructor & Destructor Documentation

virtual ana::client_predicate::~client_predicate (  )  [inline, virtual]

Definition at line 49 of file predicates.hpp.


Member Function Documentation

virtual bool ana::client_predicate::selects ( net_id   )  const [pure virtual]

Decides if a given condition applies to a client.

Parameters:
client ID of the queried client.
Returns:
true if the condition holds for this client.

Referenced by asio_server::send_if().

Here is the caller graph for this function:


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Fri May 25 2012 01:18:01 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs