ClassObservable Class Reference

#include <ocobserv.h>

List of all members.

Public Types

enum  { Delete, Create, Changed }

Public Member Functions

virtual ~ClassObservable ()
cTemplate * ctemplate ()
Object * object ()
int message ()

Static Public Member Functions

static void Attach (cTemplate *, Observer *)
static void Detach (cTemplate *, Observer *)

Private Member Functions

 ClassObservable (cTemplate *)
void attach (Observer *)
void detach (Observer *)

Private Attributes

cTemplate * ct_
Object * ob_
int message_
int cnt_

Friends

void hoc_template_notify (Object *, int)

Member Enumeration Documentation

anonymous enum
Enumerator:
Delete 
Create 
Changed 

Constructor & Destructor Documentation

ClassObservable::~ClassObservable (  )  [virtual]

References ct_, and nil.

ClassObservable::ClassObservable ( cTemplate *  ct  )  [private]

References cnt_, ct_, message_, nil, and ob_.

Referenced by Attach().


Member Function Documentation

void ClassObservable::attach ( Observer *  o  )  [private]

References cnt_.

Referenced by Attach().

void ClassObservable::Attach ( cTemplate *  ct,
Observer *  view 
) [static]

References attach(), and ClassObservable().

Referenced by OcList::OcList(), and SymDirectory::SymDirectory().

Here is the call graph for this function:

cTemplate* ClassObservable::ctemplate (  )  [inline]

References ct_.

void ClassObservable::detach ( Observer *  o  )  [private]

References cnt_.

Referenced by Detach().

void ClassObservable::Detach ( cTemplate *  ct,
Observer *  view 
) [static]

References cnt_, and detach().

Referenced by OcList::~OcList(), and SymDirectory::~SymDirectory().

Here is the call graph for this function:

int ClassObservable::message (  )  [inline]

References message_.

Referenced by SymDirectoryImpl::update(), and OcList::update().

Object* ClassObservable::object (  )  [inline]

References ob_.

Referenced by SymDirectoryImpl::update(), and OcList::update().


Friends And Related Function Documentation

void hoc_template_notify ( Object *  ,
int   
) [friend]

Member Data Documentation

cTemplate* ClassObservable::ct_ [private]
Object* ClassObservable::ob_ [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