GeNN  4.9.0
GPU enhanced Neuronal Networks (GeNN)
SpikeWriterTextCached Class Reference

Class to write spikes to text file, caching in memory before writing. More...

#include <spikeRecorder.h>

Public Member Functions

 SpikeWriterTextCached (const std::string &filename, const std::string &delimiter=" ", bool header=false)
 
 SpikeWriterTextCached (SpikeWriterTextCached &&other)
 
 ~SpikeWriterTextCached ()
 
void writeCache ()
 

Protected Member Functions

void recordSpikes (double t, unsigned int spikeCount, const unsigned int *currentSpikes)
 

Detailed Description

Class to write spikes to text file, caching in memory before writing.

Constructor & Destructor Documentation

◆ SpikeWriterTextCached() [1/2]

SpikeWriterTextCached::SpikeWriterTextCached ( const std::string &  filename,
const std::string &  delimiter = " ",
bool  header = false 
)
inline

◆ SpikeWriterTextCached() [2/2]

SpikeWriterTextCached::SpikeWriterTextCached ( SpikeWriterTextCached &&  other)
inline

◆ ~SpikeWriterTextCached()

SpikeWriterTextCached::~SpikeWriterTextCached ( )
inline

Member Function Documentation

◆ recordSpikes()

void SpikeWriterTextCached::recordSpikes ( double  t,
unsigned int  spikeCount,
const unsigned int *  currentSpikes 
)
inlineprotected

◆ writeCache()

void SpikeWriterTextCached::writeCache ( )
inline

The documentation for this class was generated from the following file: