class MessageBus

This object handles all of the message passing between cells

Public Fields

vector <Message *> vIncomingMsgs
holds msgs coming in from other cells
vector <Message *> vOutgoingMsgs
holds messages going to other cells within this machine
vector <Message *> * vOutsideMachineArray
array of Bins to hold Messages going outside this machine

Public Methods

MessageBus(int)
constructor
~MessageBus()
destructor
void ProcessOutsideMachineMessages(int)
Accept messages from other machines and send out messages for other machines
void SendMsgsToOtherMachine(int, int)
Helper function used by ProcessOusideMachineMessages to send out messages
void ReceiveMsgsFromOutsideMachine(int)
Helper function used by ProcessOusideMachineMessages to receive messages from other machines
void ProcessIncomingMsgs(int)
Go through vector of incoming messages and move to appropriate cells
void AddMsgToIncomingMsgQ(Message *)
pushes a message onto the incoming message vector
void SendOutgoingMsgs(int)
Give message to appropriate cells

Documentation

This object handles all of the message passing between cells. Since a message being passed between one cell and another is either an Action Potential (a firing message) or an Inhibitory message (dont fire message). The Message Bus is simply a conveyor belt that transfers data in one form or another to the cell, it does not do any conversions or summing of values or delays in transmission
vector <Message *> vIncomingMsgs
holds msgs coming in from other cells

vector <Message *> vOutgoingMsgs
holds messages going to other cells within this machine

vector <Message *> * vOutsideMachineArray
array of Bins to hold Messages going outside this machine

MessageBus(int)
constructor

~MessageBus()
destructor

void ProcessOutsideMachineMessages(int)
Accept messages from other machines and send out messages for other machines

void SendMsgsToOtherMachine(int, int)
Helper function used by ProcessOusideMachineMessages to send out messages

void ReceiveMsgsFromOutsideMachine(int)
Helper function used by ProcessOusideMachineMessages to receive messages from other machines

void ProcessIncomingMsgs(int)
Go through vector of incoming messages and move to appropriate cells

void AddMsgToIncomingMsgQ(Message *)
pushes a message onto the incoming message vector

void SendOutgoingMsgs(int)
Give message to appropriate cells


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de