impulse::Message Class Reference

A Message simply stores a selector and arguments. More...

#include <message.h>

Inherits impulse::Frame.

List of all members.

Public Member Functions

 Message (Symbol &selector)
 Message (Symbol &selector, Value arg1)
 Message (Symbol &selector, Value arg1, Value arg2)
Value eval (Array &args, Value self)
Value evaluate (Array &args, Value self, Value context)
string inspect ()


Detailed Description

A Message simply stores a selector and arguments.

When eval()'d, it evaluates each argument and call's the receiver's send() method with the evaluated args.


Constructor & Destructor Documentation

impulse::Message::Message ( Symbol selector  )  [inline]

impulse::Message::Message ( Symbol selector,
Value  arg1 
) [inline]

impulse::Message::Message ( Symbol selector,
Value  arg1,
Value  arg2 
) [inline]


Member Function Documentation

Value impulse::Message::eval ( Array args,
Value  self 
) [virtual]

Reimplemented from impulse::Frame.

Value impulse::Message::evaluate ( Array args,
Value  self,
Value  context 
)

string impulse::Message::inspect (  )  [inline, virtual]

Reimplemented from impulse::Frame.


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

Generated on Wed May 13 20:04:19 2009 for impulse by  doxygen 1.5.8