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

Talkative Class Reference

MetaObject implementing Talkative Object Type. More...

#include <talkative.hh>

Inheritance diagram for Talkative:

MetaObject LocalTalkative RemoteTalkative FestTalk List of all members.

Public Member Functions

Access Subobjects (if any)
Actuators. User-functions that correspond to message actions.

Static Public Member Functions

Static Public Attributes

Message scope codes

Detailed Description

MetaObject implementing Talkative Object Type.

This object type facilitates verbal intercommunication in the form of text which may be synthesized as human speech (if possible).

Definition at line 53 of file talkative.hh.


Constructor & Destructor Documentation

Talkative::Talkative MetaObject superobject  ) 
 

Constructor.

Definition at line 38 of file talkative.cc.


Member Function Documentation

void Talkative::do_say const std::string &  text,
Talkative sender,
const std::string &  in_reply_to = ""
[inline]
 

calls do_say(text, sender, UNSPECIFIED, 0, "")

Deprecated:

Definition at line 135 of file talkative.hh.

void Talkative::do_say const std::string &  text,
Talkative sender,
const unsigned short  scope,
const int  priority = 0,
const std::string &  replynonce = "",
const std::string &  thisnonce = ""
 

Contructs a TalkMessage and calls do_say(TalkMessage&).

Deprecated:

Definition at line 303 of file talkative.cc.

virtual void Talkative::do_say TalkMessage msg  )  [pure virtual]
 

Send a talk message to this object.

This message contains text to be spoken or displayed. The "voice" property should be used, to select a voice if applicable.

See also:
Talkative::TalkMessage

Implemented in FestTalk, LocalTalkative, and RemoteTalkative.

Referenced by do_say().

string Talkative::get_voice  ) 
 

Get the value of voice property.

Definition at line 99 of file talkative.cc.

string Talkative::get_voice_datatype  ) 
 

Get the datatype of voice property.

Definition at line 109 of file talkative.cc.

const string Talkative::getType  ) 
 

Return type string ("talkative").

Definition at line 78 of file talkative.cc.

void Talkative::initialize PropertyAccessControl ac  ) 
 

Initialize default property AC (For local Talkative objects only) to given policy.

Definition at line 64 of file talkative.cc.

void Talkative::initialize  ) 
 

Initialize default property AC (For local Talkative objects only) to &NoPropertyAccessControl::static_.

Definition at line 60 of file talkative.cc.

void Talkative::registerExtenders  )  [static]
 

Register Extenders.

Reimplemented in FestTalk.

Definition at line 83 of file talkative.cc.

void Talkative::set_voice const std::string &  value,
const std::string &  datatype = "?",
PropertyAccessControl ac = NULL
 

Set voice property.

Parameters:
value The new value
datatype The new datatype: if omitted, then the existing datatype will be preserved.
ac Access control policy for the voice property (Ignored by Remote Talkative objects)

void Talkative::setPropertyAccessControl PropertyAccessControl ac  )  [inline]
 

Initialize default property AC (For local Talkative objects only) to given policy.

Definition at line 84 of file talkative.hh.


Member Data Documentation

const unsigned short Talkative::AUTO = 0x4 [static]
 

Definition at line 33 of file talkative.cc.

Referenced by LocalTalkative::do_say().

const unsigned short Talkative::FROM_APP = 0x8 [static]
 

Same as SYSTEM.

Definition at line 34 of file talkative.cc.

Referenced by LocalTalkative::do_say(), and LocalTalkative::handle_say().

const unsigned short Talkative::PRIVATE = 0x2 [static]
 

Definition at line 32 of file talkative.cc.

Referenced by LocalTalkative::do_say().

const unsigned short Talkative::PUBLIC = 0x1 [static]
 

Definition at line 31 of file talkative.cc.

Referenced by LocalTalkative::do_say().

const unsigned short Talkative::SYSTEM = 0x8 [static]
 

Same as FROM_APP.

Definition at line 35 of file talkative.cc.

const unsigned short Talkative::UNSPECIFIED = 0x0 [static]
 

Definition at line 30 of file talkative.cc.

Referenced by LocalTalkative::handle_say().


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