Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members

esve::kernel::Async_Update_Server Class Reference

Sends asynchronous updates in response to handle_*() messages. More...

#include <esve/kernel/Async_Update_Server.hxx>

Inheritance diagram for esve::kernel::Async_Update_Server:

esve::kernel::impl::Kernel_Node esve::message::impl::Update_Node esve::message::impl::Update_Sender esve::message::impl::Update_Receiver esve::message::impl::Active_State esve::message::Update_Node esve::message::impl::Active_State esve::kernel::Kernel_Node esve::kernel::impl::Handler esve::kernel::impl::Emitter List of all members.

Public Member Functions

void add_handler (kernel::Handler &)
 Child handlers.

void remove_handler (kernel::Handler &)
 Child handlers.

void remove_all_handlers ()
 Child handlers.

bool active () const
 Whether to pass messages to children.

void active (bool)
 Whether to pass messages to children.

void remove_all ()
 Child update() receivers.

virtual void add (Update_Receiver &)=0
 Child update() receivers.

virtual void remove (Update_Receiver &)=0
 Child update() receivers.

virtual void remove_all ()=0
 Child update() receivers.


Protected Member Functions

void update ()
 Receive the update() message.

void update (double dt)
 Receive the update() message.

virtual void send_update ()=0
 Send the update() message to all children.

virtual void send_update (double dt)=0
 Send the update() message to all children.

void send_update ()
 Send the update() message to all children.

void send_update (double dt)
 Send the update() message to all children.


Detailed Description

Sends asynchronous updates in response to handle_*() messages.

The Async_Update_Server has dual membership as a node in the emitter/handler tree and as a node in the update tree.

If one of its child handlers returns true then an asynchronous update() message is sent to all its update-children.


Member Function Documentation

virtual bool esve::message::Active_State::active  )  const [pure virtual, inherited]
 

Whether to pass messages to children.

When active(), messages are relayed from parents to children. When active() == false, no messages are relayed.

Implemented in esve::message::impl::Active_State, and esve::kernel::Caching_Node.

virtual void esve::message::Active_State::active bool   )  [pure virtual, inherited]
 

Whether to pass messages to children.

When active(), messages are relayed from parents to children. When active() == false, no messages are relayed.

Implemented in esve::message::impl::Active_State, and esve::kernel::Caching_Node.

bool esve::message::impl::Active_State::active  )  const [virtual, inherited]
 

Whether to pass messages to children.

When active(), messages are relayed from parents to children. When active() == false, no messages are relayed.

Implements esve::message::Active_State.

void esve::message::impl::Active_State::active bool   )  [virtual, inherited]
 

Whether to pass messages to children.

When active(), messages are relayed from parents to children. When active() == false, no messages are relayed.

Implements esve::message::Active_State.


Generated on Tue May 30 11:40:56 2006 for esve by doxygen 1.3.4