Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

StringMsg Class Reference

Inheritance diagram for StringMsg:

Inheritance graph
[legend]
Collaboration diagram for StringMsg:

Collaboration graph
[legend]

Detailed Description

Message with string value.

Definition at line 12 of file StringMsg.h.

Public Member Functions

 CLONE (StringMsg)
 StringMsg (BaseListener *listener, const std::string &name, const std::string &value)
 StringMsg (const std::string &listenerName, const std::string &name, const std::string &value)
virtual void sendActual (BaseListener *listener) const
const std::string & getValue () const
virtual std::string toString () const


Constructor & Destructor Documentation

StringMsg::StringMsg BaseListener listener,
const std::string &  name,
const std::string &  value
[inline]
 

Definition at line 17 of file StringMsg.h.

00019             : BaseMsg(listener->getName(), name), m_value(value) {}

StringMsg::StringMsg const std::string &  listenerName,
const std::string &  name,
const std::string &  value
[inline]
 

Definition at line 20 of file StringMsg.h.

00022             : BaseMsg(listenerName, name), m_value(value) {}


Member Function Documentation

StringMsg::CLONE StringMsg   ) 
 

const std::string& StringMsg::getValue  )  const [inline]
 

Definition at line 28 of file StringMsg.h.

00028 { return m_value; }

virtual void StringMsg::sendActual BaseListener listener  )  const [inline, virtual]
 

Implements BaseMsg.

Definition at line 24 of file StringMsg.h.

00025         {
00026             listener->receiveString(this);
00027         }

std::string StringMsg::toString  )  const [virtual]
 

Reimplemented from BaseMsg.

Definition at line 13 of file StringMsg.cpp.

00014 {
00015     std::string result = m_listenerName;
00016     result.append("->" + m_name);
00017     result.append("(\"" + m_value + "\")");
00018     return result;
00019 }


The documentation for this class was generated from the following files:
Generated on Wed Jun 1 09:57:00 2005 for Fish Fillets - Next Generation by  doxygen 1.4.2