#include <func.h>
Inheritance diagram for punnets_common::message_base:

Public Methods | |
| virtual const char * | getMessageId () const=0 |
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.
|
|
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(). |
1.2.18