HocCommand Class Reference

#include <objcmd.h>

List of all members.

Public Member Functions

 HocCommand (const char *)
 HocCommand (const char *, Object *)
 HocCommand (Object *paction)
virtual ~HocCommand ()
int execute (boolean notify=true)
int execute (const char *, boolean notify=true)
int exec_strret (char *buf, int size, boolean notify=true)
const char * name ()
virtual void update (Observable *)
virtual void audit ()
virtual void help ()
double func_call (int narg)
Object * object ()
Object * pyobject ()

Private Member Functions

void init (const char *, Object *)

Private Attributes

Object * obj_
CopyString * s_
Object * po_

Constructor & Destructor Documentation

HocCommand::HocCommand ( const char *  cmd  ) 

References hoc_thisobject, and init().

Here is the call graph for this function:

HocCommand::HocCommand ( const char *  cmd,
Object *  obj 
)

References init().

Here is the call graph for this function:

HocCommand::HocCommand ( Object *  paction  ) 

References hoc_execerror(), hoc_obj_ref(), hoc_object_name(), nil, obj_, po_, and s_.

Here is the call graph for this function:

HocCommand::~HocCommand (  )  [virtual]

References hoc_obj_unref(), Oc::notify_pointer_disconnect(), obj_, po_, and s_.

Here is the call graph for this function:


Member Function Documentation

void HocCommand::audit (  )  [virtual]

References buf, hoc_audit_command(), name(), obj_, and s_.

Here is the call graph for this function:

int HocCommand::exec_strret ( char *  buf,
int  size,
boolean  notify = true 
)

References assert, err, Oc::notify(), and po_.

Here is the call graph for this function:

int HocCommand::execute ( const char *  s,
boolean  notify = true 
)

References assert, buf, err, hoc_obj_run(), nil, Oc::notify(), obj_, and po_.

Here is the call graph for this function:

int HocCommand::execute ( boolean  notify = true  ) 

References assert, buf, err, hoc_obj_run(), Oc::notify(), nrnpy_hoccommand_exec, obj_, po_, and s_.

Referenced by nrn_fihexec().

Here is the call graph for this function:

double HocCommand::func_call ( int  narg  ) 

References assert, hoc_call_objfunc(), hoc_execerror(), hoc_lookup(), hoc_table_lookup(), name(), nil, obj_, po_, and s.

Here is the call graph for this function:

void HocCommand::help (  )  [virtual]

References buf, obj_, and s_.

void HocCommand::init ( const char *  cmd,
Object *  obj 
) [private]

References nil, Oc::notify_when_freed(), obj_, po_, and s_.

Referenced by HocCommand().

Here is the call graph for this function:

const char * HocCommand::name (  ) 

References ccc, nil, po_, and s_.

Referenced by audit(), and func_call().

Object* HocCommand::object (  )  [inline]

References obj_.

Object* HocCommand::pyobject (  )  [inline]

References po_.

void HocCommand::update ( Observable *   )  [virtual]

References nil, obj_, and s_.


Member Data Documentation

Object* HocCommand::obj_ [private]
Object* HocCommand::po_ [private]
CopyString* HocCommand::s_ [private]

The documentation for this class was generated from the following files:
Generated on Mon Jun 13 08:10:31 2011 for NEURON by  doxygen 1.6.3