Skip to content
Snippets Groups Projects
Select Git revision
  • 6e6051e44f80a3e155da16c611280e44b158d611
  • master default protected
  • github/fork/hrani/master
  • github/fork/dilawar/master
  • chamcham
  • chhennapoda
  • wheel
  • 3.2.0-pre0
  • v3.1.3
  • 3.1.2
  • 3.1.1
  • chamcham-3.1.1
  • 3.1.0
  • ghevar_3.0.2_pre2
  • ghevar_3.0.2
15 results

index.rst

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