Skip to content
Snippets Groups Projects
Select Git revision
  • 91781ba1f34de9bcd79c56b4ab592ec6f68fe949
  • master default protected
  • tut_ring_allen
  • docs_furo
  • docs_reorder_cable_cell
  • docs_graphviz
  • docs_rtd_dev
  • ebrains_mirror
  • doc_recat
  • docs_spike_source
  • docs_sim_sample_clar
  • docs_pip_warn
  • github_template_updates
  • docs_fix_link
  • cv_default_and_doc_clarification
  • docs_add_numpy_req
  • readme_zenodo_05
  • install_python_fix
  • install_require_numpy
  • typofix_propetries
  • docs_recipe_lookup
  • v0.10.0
  • v0.10.1
  • v0.10.0-rc5
  • v0.10.0-rc4
  • v0.10.0-rc3
  • v0.10.0-rc2
  • v0.10.0-rc
  • v0.9.0
  • v0.9.0-rc
  • v0.8.1
  • v0.8
  • v0.8-rc
  • v0.7
  • v0.6
  • v0.5.2
  • v0.5.1
  • v0.5
  • v0.4
  • v0.3
  • v0.2.2
41 results

exporter_interface.hpp

Blame
  • exporter_interface.hpp 723 B
    #pragma once
    
    #include <random>
    #include <string>
    
    #include <common_types.hpp>
    #include <spike.hpp>
    
    namespace nest {
    namespace mc {
    namespace communication {
        
    // interface for exporters.
    // Exposes one virtual functions: 
    //    do_export(vector<type>) receiving a vector of parameters to export
    
    template <typename Time, typename CommunicationPolicy>  
    class exporter_interface {
    
    public:
        using time_type = Time;
        using spike_type = spike<cell_member_type, time_type>;
    
        // Performs the export of the data
        virtual void do_export(const std::vector<spike_type>&) = 0;
    
        // Returns the status of the exporter
        virtual bool good() const = 0;
    };
    
    } //communication
    } // namespace mc
    } // namespace nest