Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

NeuronGrpArchiveStatistic Class Reference

#include <ArchiveStatistic.h>

Inheritance diagram for NeuronGrpArchiveStatistic:

ArchiveStatistic List of all members.

Public Member Functions

unsigned int getNeuronGrpID ()
 NeuronGrpArchiveStatistic (unsigned int *fNeurCount, unsigned int *fNeurTotal, unsigned int nGrpID)
void recalculateNeuronGrp ()
QString toQString ()
 ~NeuronGrpArchiveStatistic ()

Private Member Functions

 NeuronGrpArchiveStatistic (const NeuronGrpArchiveStatistic &)
NeuronGrpArchiveStatistic operator= (const NeuronGrpArchiveStatistic &)

Private Attributes

unsigned int neuronGrpID

Detailed Description

Totals up the neuron firing events for a neuron group.

Definition at line 116 of file ArchiveStatistic.h.


Constructor & Destructor Documentation

NeuronGrpArchiveStatistic::NeuronGrpArchiveStatistic unsigned int *  fNeurCount,
unsigned int *  fNeurTotal,
unsigned int  nGrpID
 

Constructor.

Definition at line 118 of file ArchiveStatistic.cpp.

References ArchiveStatistic::NEURON_GROUP, neuronGrpID, and ArchiveStatistic::type.

NeuronGrpArchiveStatistic::~NeuronGrpArchiveStatistic  ) 
 

Destructor.

Definition at line 125 of file ArchiveStatistic.cpp.

NeuronGrpArchiveStatistic::NeuronGrpArchiveStatistic const NeuronGrpArchiveStatistic  )  [private]
 

Declare copy constructor private so it cannot be used inadvertently.


Member Function Documentation

unsigned int NeuronGrpArchiveStatistic::getNeuronGrpID  ) 
 

Accessor for the neuron group id.

Definition at line 133 of file ArchiveStatistic.cpp.

References neuronGrpID.

NeuronGrpArchiveStatistic NeuronGrpArchiveStatistic::operator= const NeuronGrpArchiveStatistic  )  [private]
 

Declare assignment private so it cannot be used inadvertently.

void NeuronGrpArchiveStatistic::recalculateNeuronGrp  )  [virtual]
 

Recalculates the statistics being gathered by this class. The neuron group handling should be carried out by the networkDataXmlHandler, so will assume that we don't need to check that neuron group id is in range. This method should be called for each neuron found in the neuron group.

Reimplemented from ArchiveStatistic.

Definition at line 142 of file ArchiveStatistic.cpp.

References ArchiveStatistic::firingNeuronCount, and ArchiveStatistic::firingNeuronTotal.

QString NeuronGrpArchiveStatistic::toQString  )  [virtual]
 

Outputs a string that would have been used to create this class. In this case, no string was used, so returns an error message.

Implements ArchiveStatistic.

Definition at line 154 of file ArchiveStatistic.cpp.


Member Data Documentation

unsigned int NeuronGrpArchiveStatistic::neuronGrpID [private]
 

The id of the neuron group that is being monitored.

Definition at line 129 of file ArchiveStatistic.h.

Referenced by getNeuronGrpID(), and NeuronGrpArchiveStatistic().


The documentation for this class was generated from the following files:
Generated on Mon Sep 3 22:29:05 2007 for SpikeStream Application by  doxygen 1.4.4