NEURON
HocDefaultValEditor Class Reference

#include <xmenu.h>

Inheritance diagram for HocDefaultValEditor:
HocValEditor HocUpdateItem HocItem Resource

Public Member Functions

 HocDefaultValEditor (const char *name, const char *variable, ValEdLabel *, HocValAction *, neuron::container::data_handle< double > pd={}, bool canrun=false, HocItem *parent=NULL, Object *pyvar=NULL)
 
virtual ~HocDefaultValEditor ()
 
virtual Stepperstepper ()
 
virtual void updateField ()
 
virtual int hoc_default_val_editor ()
 
void deflt (double)
 
void def_action ()
 
void def_change (float, float)
 
Buttoncheckbox ()
 
- Public Member Functions inherited from 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)
 
virtual ~HocValEditor ()
 
FieldSEditorfield_editor ()
 
virtual void update_hoc_item ()
 
void evalField ()
 
void audit ()
 
virtual void write (std::ostream &)
 
virtual void data_path (HocDataPaths *, bool)
 
virtual void check_pointer (void *, int)
 
virtual void print (Printer *, const Allocation &) const
 
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

Buttoncheckbox_
 
double deflt_
 
double most_recent_
 
HocValSteppervs_
 

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 341 of file xmenu.h.

Constructor & Destructor Documentation

◆ HocDefaultValEditor()

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

◆ ~HocDefaultValEditor()

virtual HocDefaultValEditor::~HocDefaultValEditor ( )
virtual

Member Function Documentation

◆ checkbox()

Button* HocDefaultValEditor::checkbox ( )
inline

Definition at line 362 of file xmenu.h.

◆ def_action()

void HocDefaultValEditor::def_action ( )

◆ def_change()

void HocDefaultValEditor::def_change ( float  ,
float   
)

◆ deflt()

void HocDefaultValEditor::deflt ( double  )

◆ hoc_default_val_editor()

virtual int HocDefaultValEditor::hoc_default_val_editor ( )
inlinevirtual

Reimplemented from HocValEditor.

Definition at line 356 of file xmenu.h.

◆ stepper()

virtual Stepper* HocDefaultValEditor::stepper ( )
inlinevirtual

Reimplemented from HocValEditor.

Definition at line 352 of file xmenu.h.

◆ updateField()

virtual void HocDefaultValEditor::updateField ( )
virtual

Reimplemented from HocValEditor.

Member Data Documentation

◆ checkbox_

Button* HocDefaultValEditor::checkbox_
private

Definition at line 367 of file xmenu.h.

◆ deflt_

double HocDefaultValEditor::deflt_
private

Definition at line 368 of file xmenu.h.

◆ most_recent_

double HocDefaultValEditor::most_recent_
private

Definition at line 369 of file xmenu.h.

◆ vs_

HocValStepper* HocDefaultValEditor::vs_
private

Definition at line 370 of file xmenu.h.


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