UNPKG

@joergmittaglawo/dmvconfig

Version:

DMV Configuration scripts for Lawo V__matrix Distributed Multiviewers.

18 lines (17 loc) 1.43 kB
import { AnnotatedChildDescription, AnnotatedComponentDescription, AnnotatedKeywordDescription, AnnotatedSchema, AnnotatedSubtreeDescription } from "./schema_annotated"; import { BranchName, ComponentDescription, SubtreeDescription } from "./schema_raw"; import { Subtree, VSocket } from "./vsocket"; export declare function count_keywords(schema: AnnotatedSchema, socket: VSocket, skip: (child: AnnotatedChildDescription, parent_kwl: string | null) => boolean): Promise<number>; export declare function branch_iter(pars: { socket: VSocket; handler: (branch: BranchName, description: SubtreeDescription | ComponentDescription) => Promise<"recurse" | "do-not-recurse">; include_disabled?: boolean; }): Promise<void>; export declare function subtree_iter(pars: { socket: VSocket; handler: (st: Subtree, description: AnnotatedSubtreeDescription | AnnotatedComponentDescription) => Promise<"recurse" | "do-not-recurse">; include: "allocated" | "everything"; include_disabled?: boolean; }): Promise<void>; export declare function subtree_iter_typewise<T>(socket: VSocket, type_identifier: string, lift: (st: Subtree) => T, handler: (t: T) => Promise<void>, include?: "allocated" | "everything"): Promise<void>; export declare function keyword_iter(socket: VSocket, handler: (socket: VSocket, description: AnnotatedKeywordDescription) => Promise<void>, include?: "allocated" | "everything"): Promise<void>;