libcppa  Version 0.1
Public Member Functions
cppa::invoke_rules_base Class Reference

#include <invoke_rules.hpp>

Inheritance diagram for cppa::invoke_rules_base:
cppa::invoke_rules cppa::timed_invoke_rules

List of all members.

Public Member Functions

bool operator() (const any_tuple &data) const
detail::intermediate * get_intermediate (const any_tuple &data) const

Detailed Description

Base of timed_invoke_rules and invoke_rules.


Member Function Documentation

detail::intermediate* cppa::invoke_rules_base::get_intermediate ( const any_tuple data) const

Tries to match data with one of the stored patterns.

Parameters:
dataData tuple that should be matched.
Returns:
An intermediate instance that could invoke the corresponding callback; otherwise nullptr.
bool cppa::invoke_rules_base::operator() ( const any_tuple data) const

Tries to match data with one of the stored patterns.

If a pattern matched data, the corresponding callback is invoked.

Parameters:
dataData tuple that should be matched.
Returns:
true if a pattern matched data; otherwise false.

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