NEURON
HocValEditor Class Reference

#include <xmenu.h>

Inheritance diagram for HocValEditor:
HocUpdateItem HocItem Resource HocDefaultValEditor HocValEditorKeepUpdated

Public Member Functions

 HocValEditor (const char *name, const char *variable, ValEdLabel *, HocValAction *, neuron::container::data_handle< double > pd={}, bool canrun=false, HocItem *parent=NULL, Object *pvar=NULL)
 
virtual ~HocValEditor ()
 
FieldSEditorfield_editor ()
 
virtual Stepperstepper ()
 
virtual void update_hoc_item ()
 
void evalField ()
 
void audit ()
 
virtual void updateField ()
 
virtual void write (std::ostream &)
 
virtual void data_path (HocDataPaths *, bool)
 
virtual void check_pointer (void *, int)
 
virtual void print (Printer *, const Allocation &) const
 
virtual int hoc_default_val_editor ()
 
void set_val (double)
 
double get_val ()
 
virtual void exec_action ()
 
const char * variable () const
 
virtual void setlimits (float *)
 
virtual double domain_limits (double)
 
bool active ()
 
- Public Member Functions inherited from HocUpdateItem
 HocUpdateItem (const char *, HocItem *parent=NULL)
 
virtual ~HocUpdateItem ()
 
- Public Member Functions inherited from HocItem
 HocItem (const char *, HocItem *parent=NULL)
 
virtual ~HocItem ()
 
const char * getStr ()
 
virtual void help (const char *childpath=NULL)
 
virtual void help_parent (HocItem *)
 
- Public Member Functions inherited from Resource
 Resource ()=default
 
virtual ~Resource ()=default
 
virtual void ref () const
 
virtual void unref () const
 
virtual void unref_deferred () const
 
virtual void cleanup ()
 
virtual void Reference () const
 
virtual void Unreference () const
 

Private Attributes

HocEditorForItemfe_
 
bool active_
 
bool canrun_
 
HocActionaction_
 
std::string variable_ {}
 
neuron::container::data_handle< double > pval_
 
ValEdLabel * prompt_
 
float * domain_limits_
 
Objectpyvar_
 

Friends

class HocEditorForItem
 
class HocValStepper
 

Additional Inherited Members

- Static Public Member Functions inherited from Resource
static void ref (const Resource *)
 
static void unref (const Resource *)
 
static void unref_deferred (const Resource *)
 
static bool defer (bool)
 
static void flush ()
 

Detailed Description

Definition at line 289 of file xmenu.h.

Constructor & Destructor Documentation

◆ HocValEditor()

HocValEditor::HocValEditor ( const char *  name,
const char *  variable,
ValEdLabel *  ,
HocValAction ,
neuron::container::data_handle< double >  pd = {},
bool  canrun = false,
HocItem parent = NULL,
Object pvar = NULL 
)

◆ ~HocValEditor()

virtual HocValEditor::~HocValEditor ( )
virtual

Member Function Documentation

◆ active()

bool HocValEditor::active ( )
inline

Definition at line 323 of file xmenu.h.

◆ audit()

void HocValEditor::audit ( )

◆ check_pointer()

virtual void HocValEditor::check_pointer ( void *  ,
int   
)
virtual

Reimplemented from HocUpdateItem.

◆ data_path()

virtual void HocValEditor::data_path ( HocDataPaths ,
bool   
)
virtual

Reimplemented from HocUpdateItem.

◆ domain_limits()

virtual double HocValEditor::domain_limits ( double  )
virtual

◆ evalField()

void HocValEditor::evalField ( )

◆ exec_action()

virtual void HocValEditor::exec_action ( )
virtual

◆ field_editor()

FieldSEditor* HocValEditor::field_editor ( )
inline

Definition at line 300 of file xmenu.h.

◆ get_val()

double HocValEditor::get_val ( )

◆ hoc_default_val_editor()

virtual int HocValEditor::hoc_default_val_editor ( )
inlinevirtual

Reimplemented in HocDefaultValEditor.

Definition at line 314 of file xmenu.h.

◆ print()

virtual void HocValEditor::print ( Printer ,
const Allocation  
) const
virtual

◆ set_val()

void HocValEditor::set_val ( double  )

◆ setlimits()

virtual void HocValEditor::setlimits ( float *  )
virtual

◆ stepper()

virtual Stepper* HocValEditor::stepper ( )
inlinevirtual

Reimplemented in HocDefaultValEditor.

Definition at line 303 of file xmenu.h.

◆ update_hoc_item()

virtual void HocValEditor::update_hoc_item ( )
virtual

Reimplemented from HocUpdateItem.

◆ updateField()

virtual void HocValEditor::updateField ( )
virtual

Reimplemented in HocDefaultValEditor.

◆ variable()

const char* HocValEditor::variable ( ) const

◆ write()

virtual void HocValEditor::write ( std::ostream &  )
virtual

Reimplemented from HocItem.

Reimplemented in HocValEditorKeepUpdated.

Friends And Related Function Documentation

◆ HocEditorForItem

friend class HocEditorForItem
friend

Definition at line 328 of file xmenu.h.

◆ HocValStepper

friend class HocValStepper
friend

Definition at line 329 of file xmenu.h.

Member Data Documentation

◆ action_

HocAction* HocValEditor::action_
private

Definition at line 333 of file xmenu.h.

◆ active_

bool HocValEditor::active_
private

Definition at line 331 of file xmenu.h.

◆ canrun_

bool HocValEditor::canrun_
private

Definition at line 332 of file xmenu.h.

◆ domain_limits_

float* HocValEditor::domain_limits_
private

Definition at line 337 of file xmenu.h.

◆ fe_

HocEditorForItem* HocValEditor::fe_
private

Definition at line 330 of file xmenu.h.

◆ prompt_

ValEdLabel* HocValEditor::prompt_
private

Definition at line 336 of file xmenu.h.

◆ pval_

neuron::container::data_handle<double> HocValEditor::pval_
private

Definition at line 335 of file xmenu.h.

◆ pyvar_

Object* HocValEditor::pyvar_
private

Definition at line 338 of file xmenu.h.

◆ variable_

std::string HocValEditor::variable_ {}
private

Definition at line 334 of file xmenu.h.


The documentation for this class was generated from the following file: