Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages | Examples

LocalTalkative Class Reference

Local version of Talkative. More...

#include <talkative.hh>

Inheritance diagram for LocalTalkative:

Talkative MetaObject FestTalk List of all members.

Public Member Functions

Static Public Member Functions

Protected Member Functions


Detailed Description

Local version of Talkative.

Definition at line 175 of file talkative.hh.


Constructor & Destructor Documentation

LocalTalkative::LocalTalkative MetaObject superobject  ) 
 

Definition at line 43 of file talkative.cc.

LocalTalkative::~LocalTalkative  ) 
 

Definition at line 50 of file talkative.cc.


Member Function Documentation

void LocalTalkative::addTalkListener TalkListener l  ) 
 

Register a new TalkListener.

Parameters:
l The listener object. If l is also a RefCounted object, a referece will be acquired.

Definition at line 310 of file talkative.cc.

void LocalTalkative::do_say TalkMessage msg  )  [virtual]
 

Send a message to this object.

If there are no TalkListener%s registered, then the message will simply be LOG%ged. Otherwise, each of the listeners will be passed the message (in the order in which they were registered). It is also possible to override this method to do something else entirely.

Implements Talkative.

Reimplemented in FestTalk.

Definition at line 136 of file talkative.cc.

Referenced by handle_say().

void LocalTalkative::handle_say Message *  m  )  [protected, virtual]
 

Definition at line 224 of file talkative.cc.

Referenced by LocalTalkative().

MetaObject* LocalTalkative::new_LocalTalkative MetaObject superobject,
const std::string &  type
[static]
 

Referenced by Talkative::registerExtenders().

void LocalTalkative::removeTalkListener TalkListener l  ) 
 

Remove a TalkListener.

Parameters:
l The listener object. If l is also a RefCounted object, the referece will be released.

Definition at line 318 of file talkative.cc.

void LocalTalkative::reply_to_last const std::string &  text,
const int  priority = 0
 

Send a message from this object, to whatever object sent this object the last message with scope "PRIVATE"

Exceptions:
NoSuchObjectError if there is no object to reply to.

void LocalTalkative::say_to_all const std::string &  text,
Vobject &  parent,
const int  priority = 0,
const std::string &  replynonce = ""
 

Send a message from this object to all children of 'parent' that are talkative with scope "PUBLIC".


The documentation for this class was generated from the following files:
Generated on Tue Aug 12 03:55:55 2003 for Interreality Project - VOS by doxygen 1.3.2