NEURON
OcPointer Class Reference

#include <ocpointer.h>

Inheritance diagram for OcPointer:
Observer

Public Member Functions

 OcPointer (const char *, double *)
 
virtual ~OcPointer ()
 
virtual void update (Observable *)
 
void assign (double)
 
- Public Member Functions inherited from Observer
virtual ~Observer ()=default
 
virtual void disconnect (Observable *)
 

Public Attributes

double * p_
 
char * s_
 
StmtInfosti_
 
bool valid_
 

Additional Inherited Members

- Protected Member Functions inherited from Observer
 Observer ()=default
 

Detailed Description

Definition at line 7 of file ocpointer.h.

Constructor & Destructor Documentation

◆ OcPointer()

OcPointer::OcPointer ( const char *  st,
double *  d 
)

Definition at line 25 of file ocpointer.cpp.

◆ ~OcPointer()

OcPointer::~OcPointer ( )
virtual

Definition at line 35 of file ocpointer.cpp.

Member Function Documentation

◆ assign()

void OcPointer::assign ( double  x)

Definition at line 47 of file ocpointer.cpp.

◆ update()

void OcPointer::update ( Observable )
virtual

Reimplemented from Observer.

Definition at line 43 of file ocpointer.cpp.

Member Data Documentation

◆ p_

double* OcPointer::p_

Definition at line 13 of file ocpointer.h.

◆ s_

char* OcPointer::s_

Definition at line 14 of file ocpointer.h.

◆ sti_

StmtInfo* OcPointer::sti_

Definition at line 15 of file ocpointer.h.

◆ valid_

bool OcPointer::valid_

Definition at line 16 of file ocpointer.h.


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