SpikeStream Library  0.2
Neuron.cpp
Go to the documentation of this file.
00001 //SpikeStream includes
00002 #include "Neuron.h"
00003 using namespace spikestream;
00004 
00005 //Other includes
00006 #include <iostream>
00007 using namespace std;
00008 
00009 
00011 Neuron::Neuron(float xPos, float yPos, float zPos){
00012     location.setXPos(xPos);
00013     location.setYPos(yPos);
00014     location.setZPos(zPos);
00015     id = 0;
00016 }
00017 
00018 
00020 Neuron::Neuron(unsigned int id, float xPos, float yPos, float zPos){
00021     this->id = id;
00022     location.setXPos(xPos);
00023     location.setYPos(yPos);
00024     location.setZPos(zPos);
00025     id = 0;
00026 }
00027 
00028 
00029 
00031 Neuron::~Neuron(){
00032 }
00033 
00034 
00036 void Neuron::print(){
00037         cout<<"Neuron. id: "<<id<<endl;
00038 }
00039 
00040 
 All Classes Files Functions Variables Typedefs Defines