mirror of
https://github.com/rabbibotton/clog.git
synced 2026-01-06 01:02:14 -08:00
clog:parent returns parent object used to create the clog-obj
This commit is contained in:
parent
aa0e567ae4
commit
9e5f9184d7
5 changed files with 68 additions and 46 deletions
|
|
@ -35,12 +35,23 @@ See macro with-connection-cache.")
|
|||
(html-id
|
||||
:reader html-id
|
||||
:initarg :html-id)
|
||||
(parent
|
||||
:accessor parent
|
||||
:initform nil)
|
||||
(connection-data-mutex
|
||||
:reader connection-data-mutex
|
||||
:initform (bordeaux-threads:make-lock)))
|
||||
(:documentation "CLOG objects (clog-obj) encapsulate the connection between
|
||||
lisp and an HTML DOM element."))
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;
|
||||
;; create-parent ;;
|
||||
;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
(defgeneric parent (clog-obj)
|
||||
(:documentation "Returns the clog-obj of the obj that was used as creation
|
||||
parent if was set or nil. This is not per se the parent in the DOM."))
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;
|
||||
;; connection-id ;;
|
||||
;;;;;;;;;;;;;;;;;;;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue