NEURON
ivoc.cpp File Reference
#include <../../nrnconf.h>
#include <vector>
#include <ocnotify.h>
#include <stdio.h>
#include <stdlib.h>
#include "neuron/container/soa_container.hpp"
#include <nrnmutdec.h>
#include "oc2iv.h"
#include "ocfunc.h"
#include "oc_ansi.h"
#include "ocjump.h"
#include "bimap.hpp"

Go to the source code of this file.

Namespaces

 neuron
 In mechanism libraries, cannot use auto const token = nrn_ensure_model_data_are_sorted(); because the return type is incomplete (from include/neuron/model_data.hpp).
 
 neuron::container
 
 neuron::container::detail
 

Typedefs

using PF = void(*)(void *, int)
 
using FList = std::vector< PF >
 
using identifier_observer_bimap = nrn::tool::bimap< neuron::container::non_owning_identifier_without_container, Observer * >
 

Functions

void nrn_notify_freed (PF pf)
 
void nrn_notify_when_void_freed (void *p, Observer *ob)
 
void nrn_notify_when_double_freed (double *p, Observer *ob)
 
void nrn_notify_pointer_disconnect (Observer *ob)
 
void neuron::container::notify_when_handle_dies (data_handle< double > dh, Observer *obs)
 Register that obs should be notified when dh dies. More...
 
void neuron::container::detail::notify_handle_dying (non_owning_identifier_without_container p)
 Respond to the news that data_handles relying on p are now dead. More...
 
void notify_pointer_freed (void *pt)
 
void notify_freed (void *p)
 
void notify_freed_val_array (double *p, size_t size)
 
char * cxx_char_alloc (size_t sz)
 
void nrniv_bind_thread ()
 
void nrn_err_dialog (const char *mes)
 

Variables

static FListf_list
 
static nrn::tool::bimap< void *, Observer * > * pvob
 
static nrn::tool::bimap< double *, Observer * > * pdob
 
static identifier_observer_bimapphob
 
int nrn_err_dialog_active_
 

Typedef Documentation

◆ FList

using FList = std::vector<PF>

Definition at line 27 of file ivoc.cpp.

◆ identifier_observer_bimap

◆ PF

using PF = void (*)(void*, int)

Definition at line 26 of file ivoc.cpp.

Function Documentation

◆ cxx_char_alloc()

char* cxx_char_alloc ( size_t  sz)

Definition at line 169 of file ivoc.cpp.

◆ notify_freed_val_array()

void notify_freed_val_array ( double *  p,
size_t  size 
)

Definition at line 152 of file ivoc.cpp.

◆ nrn_err_dialog()

void nrn_err_dialog ( const char *  mes)

Definition at line 182 of file ivoc.cpp.

◆ nrn_notify_freed()

void nrn_notify_freed ( PF  pf)

Definition at line 45 of file ivoc.cpp.

◆ nrn_notify_pointer_disconnect()

void nrn_notify_pointer_disconnect ( Observer ob)

Definition at line 70 of file ivoc.cpp.

◆ nrn_notify_when_double_freed()

void nrn_notify_when_double_freed ( double *  p,
Observer ob 
)

Definition at line 61 of file ivoc.cpp.

◆ nrn_notify_when_void_freed()

void nrn_notify_when_void_freed ( void *  p,
Observer ob 
)

Definition at line 52 of file ivoc.cpp.

◆ nrniv_bind_thread()

void nrniv_bind_thread ( void  )

Definition at line 176 of file ivoc.cpp.

Variable Documentation

◆ f_list

FList* f_list
static

Definition at line 29 of file ivoc.cpp.

◆ nrn_err_dialog_active_

int nrn_err_dialog_active_

Definition at line 43 of file ivoc.cpp.

◆ pdob

nrn::tool::bimap<double*, Observer*>* pdob
static

Definition at line 32 of file ivoc.cpp.

◆ phob

Definition at line 35 of file ivoc.cpp.

◆ pvob

nrn::tool::bimap<void*, Observer*>* pvob
static

Definition at line 31 of file ivoc.cpp.