WorkspaceD

WorkspaceD instance holding plugins.

Constructors

this
this()
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Classes

Instance
class Instance
Undocumented in source.

Functions

addInstance
Instance addInstance(string cwd, Configuration configOverrides, string[] preloadComponents)

Creates a new workspace with the given cwd with optional config overrides and preload components for non-autoRegister components.

attach
bool attach(Instance instance, string component, Exception error)
Undocumented in source. Be warned that the author may not have intended to support it.
attach
deprecated bool attach(Instance instance, string component)
Undocumented in source. Be warned that the author may not have intended to support it.
attachSilent
bool attachSilent(Instance instance, string component)
Undocumented in source. Be warned that the author may not have intended to support it.
best
T best(string file, bool fallback)
Undocumented in source. Be warned that the author may not have intended to support it.
broadcast
void broadcast(WorkspaceD.Instance instance, JSONValue value)
Undocumented in source. Be warned that the author may not have intended to support it.
get
T get()
Undocumented in source. Be warned that the author may not have intended to support it.
get
T get(string cwd)
Undocumented in source. Be warned that the author may not have intended to support it.
getBestInstance
Instance getBestInstance(string file, bool fallback)
Undocumented in source. Be warned that the author may not have intended to support it.
getBestInstance
Instance getBestInstance(string file, bool fallback)
Undocumented in source. Be warned that the author may not have intended to support it.
getBestInstanceByDependency
Instance getBestInstanceByDependency(string file)
Undocumented in source. Be warned that the author may not have intended to support it.
getBestInstanceByDependency
Instance getBestInstanceByDependency(string file)
Undocumented in source. Be warned that the author may not have intended to support it.
getInstance
Instance getInstance(string cwd)
Undocumented in source. Be warned that the author may not have intended to support it.
gthreads
TaskPool gthreads()
Undocumented in source. Be warned that the author may not have intended to support it.
has
bool has()
Undocumented in source. Be warned that the author may not have intended to support it.
has
bool has(string cwd)
Undocumented in source. Be warned that the author may not have intended to support it.
hasBest
bool hasBest(string cwd, bool fallback)
Undocumented in source. Be warned that the author may not have intended to support it.
register
ComponentFactory register(bool autoRegister)
Undocumented in source. Be warned that the author may not have intended to support it.
removeInstance
bool removeInstance(string cwd)
Undocumented in source. Be warned that the author may not have intended to support it.
run
Future!JSONValue run(string cwd, string component, string method, JSONValue[] args)
Undocumented in source. Be warned that the author may not have intended to support it.
run
Future!JSONValue run(string component, string method, JSONValue[] args)
Undocumented in source. Be warned that the author may not have intended to support it.
shutdown
void shutdown(bool dtor)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_gthreads
TaskPool _gthreads;
Undocumented in source.
components
ComponentFactoryInstance[] components;
Undocumented in source.
globalComponents
ComponentWrapperInstance[] globalComponents;
Undocumented in source.
globalConfiguration
Configuration globalConfiguration;

Base global configuration for new instances, does not modify existing ones.

instances
Instance[] instances;
Undocumented in source.
onBindFail
ComponentBindFailCallback onBindFail;
Undocumented in source.
onBroadcast
BroadcastCallback onBroadcast;
Undocumented in source.
stringCache
StringCache stringCache;
Undocumented in source.

Meta