NEST  2.6.0,not_revisioned_source_dir@0
Public Member Functions | Public Attributes | List of all members
nest::RecordingDevice::Parameters_ Struct Reference

Public Member Functions

 Parameters_ (const std::string &, bool, bool, bool)
 Set default parameter values. More...
 
void get (const RecordingDevice &, DictionaryDatum &) const
 Store current values in dictionary. More...
 
void set (const RecordingDevice &, const Buffers_ &, const DictionaryDatum &)
 Set values from dicitonary. More...
 

Public Attributes

bool to_file_
 true if recorder writes its output to a file More...
 
bool to_screen_
 true if recorder writes its output to stdout More...
 
bool to_memory_
 true if data should be recorded in memory, default More...
 
bool to_accumulator_
 true if data is to be accumulated; exclusive to all other to_* More...
 
bool time_in_steps_
 true if time is printed in steps, not ms. More...
 
bool precise_times_
 true if time is computed including offset More...
 
bool withgid_
 true if element GID is to be printed, default More...
 
bool withtime_
 true if time of event is to be printed, default More...
 
bool withweight_
 true if weight of event is to be printed More...
 
long precision_
 precision of doubles written to file More...
 
bool scientific_
 use scientific format if true, else fixed More...
 
bool binary_
 true if to write files in binary mode instead of ASCII More...
 
long fbuffer_size_
 the buffer size to use when writing to file More...
 
long fbuffer_size_old_
 the buffer size to use when writing to file (old) More...
 
std::string label_
 a user-defined label for symbolic device names. More...
 
std::string file_ext_
 the file name extension to use, without . More...
 
std::string filename_
 the filename, if recording to a file (read-only) More...
 
bool close_after_simulate_
 if true, finalize() shall close the stream More...
 
bool flush_after_simulate_
 if true, finalize() shall flush the stream More...
 
bool flush_records_
 if true, flush stream after each output More...
 
bool close_on_reset_
 if true, close stream in init_buffers() More...
 

Constructor & Destructor Documentation

nest::RecordingDevice::Parameters_::Parameters_ ( const std::string &  file_ext,
bool  withtime,
bool  withgid,
bool  withweight 
)

Set default parameter values.

Parameters
Defaultfile name extension, excluding ".".
Defaultvalue for withtime property
Defaultvalue for withgid property

Member Function Documentation

void nest::RecordingDevice::Parameters_::get ( const RecordingDevice rd,
DictionaryDatum d 
) const
void nest::RecordingDevice::Parameters_::set ( const RecordingDevice rd,
const Buffers_ ,
const DictionaryDatum d 
)

Member Data Documentation

bool nest::RecordingDevice::Parameters_::binary_

true if to write files in binary mode instead of ASCII

bool nest::RecordingDevice::Parameters_::close_after_simulate_

if true, finalize() shall close the stream

bool nest::RecordingDevice::Parameters_::close_on_reset_

if true, close stream in init_buffers()

long nest::RecordingDevice::Parameters_::fbuffer_size_

the buffer size to use when writing to file

long nest::RecordingDevice::Parameters_::fbuffer_size_old_

the buffer size to use when writing to file (old)

std::string nest::RecordingDevice::Parameters_::file_ext_

the file name extension to use, without .

std::string nest::RecordingDevice::Parameters_::filename_

the filename, if recording to a file (read-only)

bool nest::RecordingDevice::Parameters_::flush_after_simulate_

if true, finalize() shall flush the stream

bool nest::RecordingDevice::Parameters_::flush_records_

if true, flush stream after each output

std::string nest::RecordingDevice::Parameters_::label_

a user-defined label for symbolic device names.

bool nest::RecordingDevice::Parameters_::precise_times_

true if time is computed including offset

Referenced by nest::RecordingDevice::State_::get(), and nest::RecordingDevice::set_precise().

long nest::RecordingDevice::Parameters_::precision_

precision of doubles written to file

Referenced by nest::RecordingDevice::set_precise().

bool nest::RecordingDevice::Parameters_::scientific_

use scientific format if true, else fixed

bool nest::RecordingDevice::Parameters_::time_in_steps_

true if time is printed in steps, not ms.

Referenced by nest::RecordingDevice::State_::get().

bool nest::RecordingDevice::Parameters_::to_accumulator_

true if data is to be accumulated; exclusive to all other to_*

Referenced by nest::RecordingDevice::State_::get(), and nest::RecordingDevice::to_accumulator().

bool nest::RecordingDevice::Parameters_::to_file_

true if recorder writes its output to a file

Referenced by nest::RecordingDevice::print_value(), and nest::RecordingDevice::to_file().

bool nest::RecordingDevice::Parameters_::to_memory_

true if data should be recorded in memory, default

Referenced by nest::RecordingDevice::to_memory().

bool nest::RecordingDevice::Parameters_::to_screen_

true if recorder writes its output to stdout

Referenced by nest::RecordingDevice::print_value(), and nest::RecordingDevice::to_screen().

bool nest::RecordingDevice::Parameters_::withgid_

true if element GID is to be printed, default

Referenced by nest::RecordingDevice::State_::get().

bool nest::RecordingDevice::Parameters_::withtime_

true if time of event is to be printed, default

Referenced by nest::RecordingDevice::State_::get().

bool nest::RecordingDevice::Parameters_::withweight_

true if weight of event is to be printed

Referenced by nest::RecordingDevice::State_::get().


The documentation for this struct was generated from the following files: