Skip to content
Snippets Groups Projects
Select Git revision
  • 11512afa179276dba73d44bf2ed0cee72d673642
  • master default protected
  • 8.1.1
  • 8.1.0
  • 8.0.6
  • 8.0.5
  • 8.0.4
  • 8.0.3
  • 8.0.2
  • 8.0.1
  • 8.0.0
  • 7.9.0
  • 7.8.1
  • 7.8.0
  • 7.7.1
  • 7.6.3
  • 7.7.0
  • 7.6.2
  • 7.6.1
  • 7.6.0
  • 7.5.4
  • 7.5.3
22 results

MiningApi.java

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