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 *, double *pd=0, 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 (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 ()
 
virtual void update_ptrs ()
 
- Public Member Functions inherited from HocUpdateItem
 HocUpdateItem (const char *, HocItem *parent=NULL)
 
virtual ~HocUpdateItem ()
 
void update_ptrs_helper (double **)
 
- 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 ()
 
virtual ~Resource ()
 
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_
 
CopyStringvariable_
 
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 310 of file xmenu.h.

Constructor & Destructor Documentation

◆ HocValEditor()

HocValEditor::HocValEditor ( const char *  name,
const char *  variable,
ValEdLabel *  ,
HocValAction ,
double *  pd = 0,
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 344 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 321 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 335 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 324 of file xmenu.h.

◆ update_hoc_item()

virtual void HocValEditor::update_hoc_item ( )
virtual

Reimplemented from HocUpdateItem.

◆ update_ptrs()

virtual void HocValEditor::update_ptrs ( )
virtual

Reimplemented from HocUpdateItem.

◆ updateField()

virtual void HocValEditor::updateField ( )
virtual

Reimplemented in HocDefaultValEditor.

◆ variable()

const char* HocValEditor::variable ( ) const

◆ write()

virtual void HocValEditor::write ( ostream &  )
virtual

Reimplemented from HocItem.

Reimplemented in HocValEditorKeepUpdated.

Friends And Related Function Documentation

◆ HocEditorForItem

friend class HocEditorForItem
friend

Definition at line 350 of file xmenu.h.

◆ HocValStepper

friend class HocValStepper
friend

Definition at line 351 of file xmenu.h.

Member Data Documentation

◆ action_

HocAction* HocValEditor::action_
private

Definition at line 355 of file xmenu.h.

◆ active_

bool HocValEditor::active_
private

Definition at line 353 of file xmenu.h.

◆ canrun_

bool HocValEditor::canrun_
private

Definition at line 354 of file xmenu.h.

◆ domain_limits_

float* HocValEditor::domain_limits_
private

Definition at line 359 of file xmenu.h.

◆ fe_

HocEditorForItem* HocValEditor::fe_
private

Definition at line 352 of file xmenu.h.

◆ prompt_

ValEdLabel* HocValEditor::prompt_
private

Definition at line 358 of file xmenu.h.

◆ pval_

double* HocValEditor::pval_
private

Definition at line 357 of file xmenu.h.

◆ pyvar_

Object* HocValEditor::pyvar_
private

Definition at line 360 of file xmenu.h.

◆ variable_

CopyString* HocValEditor::variable_
private

Definition at line 356 of file xmenu.h.


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