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

punnets_common::message_base Class Reference

#include <func.h>

Inheritance diagram for punnets_common::message_base:

punnets_common::func_delta_int::message_add_pulse punnets_common::func_deriveq_base::message_set_lambda punnets_common::func_deriveq_base::message_set_zero_point punnets_common::func_exp_diff::message_add_event_time punnets_common::func_sineshot::message_set_t0 List of all members.

Public Methods

virtual const char * getMessageId () const=0

Detailed Description

Base class of a message to a function

A message is used to deliver a change to a function. Usually an event is delivered to a neuron, but a neuron has several functions. Moreover, we don't make neuron to handle correspondence of a specific event to a specific function. For this purpose a message is used, as every function knows which message has correspondence to itself.

Definition at line 49 of file func.h.


Member Function Documentation

virtual const char* punnets_common::message_base::getMessageId   [pure virtual]
 

Returns the pointer of a string that represents the class. The pointer must be same for any instance of a given class. A function can check the type of the message by comparing the pointer.

Implemented in punnets_common::func_deriveq_base::message_set_lambda, punnets_common::func_deriveq_base::message_set_zero_point, punnets_common::func_delta_int::message_add_pulse, punnets_common::func_sineshot::message_set_t0, and punnets_common::func_exp_diff::message_add_event_time.

Referenced by punnets_common::func_sineshot::processMessage(), punnets_common::func_delta_int::processMessage(), punnets_common::func_deriveq_base::processMessage(), and punnets_common::func_exp_diff::processMessage().


The documentation for this class was generated from the following file:
Generated on Mon Jun 16 15:42:28 2003 for Punnets by doxygen1.2.18