Contributors Sven Knuth
Bases: papi.data.DObject.DObject
Contributors Sven Knuth
Bases: builtins.object
DCore contains and manages the internal data structure
Add plugin with necessary information.
Parameters: |
|
---|---|
Returns: | Returns the data object DPlugin |
Return type: | DPlugin |
Returns DPlugin object by ID
Parameters: | plugin_id – ID of an DPlugin object |
---|---|
Return DPlugin: | |
Return type: | DPlugin |
Returns DPlugin object by uname
Parameters: | plugin_name – uname of an DPlugin object |
---|---|
Return DPlugin: | |
Return type: | DPlugin |
Returns count of known plugins in this data structure
Returns: | |
---|---|
Return type: | int |
This function is used to remove all subscribers of all DBlocks, which are hold by the DPlugin with the dplugin_id.
Parameters: | dplugin_id – dplugin identifed by dplugin_id whose subscribers should be removed. |
---|---|
Returns: |
Removes DPlugin with dplugin_id
Parameters: | dplugin_id – |
---|---|
Returns: | |
Return type: | bool |
Used to create a subscription.
Parameters: |
|
---|---|
Returns: |
This function is used to subscribe a bunch of signals.
Parameters: |
|
---|---|
Returns: |
Used to remove a subscription.
Parameters: |
|
---|---|
Returns: | |
Rtype boolean: |
This function is used to cancel all subscription of the DPlugin with the dplugin_id.
Parameters: | dplugin_id – dplugin identifed by dplugin_id whose subscription should be canceled. |
---|---|
Returns: |
This function is used to unubscribe a bunch of signals.
Parameters: |
|
---|---|
Returns: |
Contributors: Stefan Ruppin
Bases: papi.data.DCore.DCore
Contributors Sven Knuth
Contributors: Stefan Ruppin
Contributors Sven Knuth
Bases: papi.data.DObject.DObject
DParameter is used for the internal description of a parameter which are provided by a plugin. Parameters are used to interact with plugin.
Contributors Sven Knuth
Bases: papi.data.DObject.DObject
DBlock is used for the internal description of a block. Contains a bunch of signals of a the same data source.
Add dplugin as subscriber for this dblock.
Parameters: | dplugin – |
---|---|
Returns: | |
Rtype boolean: |
Returns a signal object by a signal’s uname.
Parameters: | uname – |
---|---|
Return DSignal: |
Bases: papi.data.DPlugin.DBlock
Bases: papi.data.DObject.DObject
DPlugin is used for the internal description of a plugin.
Used to add a block for this plugin. Returns true if parameter doesn’t existed and was deleted, returns false if parameter already exists.
Parameters: | dblock – Block which should be added. |
---|---|
Returns: | |
Rtype boolean: |
Used to add a parameter for this plugin. Returns true if parameter doesn’t existed and was added, returns false if parameter already exists.
Parameters: | parameter – |
---|---|
Returns: | |
Rtype boolean: |
Returns a single block by its unique name of all parameters.
Parameters: | dblock_name – Uniqueder identifier for this block. |
---|---|
Returns: |
Returns a reference to a dictionary of all subscribtions.
:return {}{} of DPlugin ids to DBlock names : :rtype: {}{}
Used to remove a block for this plugin. Returns true if block existed and was deleted, returns false if block doesn’t exist.
Parameters: | dblock – |
---|---|
Returns: | |
Rtype boolean: |
Used to remove a parameter for this plugin. Returns true if parameter existed and was deleted, returns false if parameter doesn’t exist.
Parameters: | parameter – Parameter which should be removed. |
---|---|
Returns: | |
Rtype boolean: |
This plugin subscribes a ‘dblock’ by remembering the dblock id.
Parameters: | dblock – DBlock which should be subscribed |
---|---|
Returns: | |
Rtype boolean: |
This function is used to subscribe a bunch of signals.
Parameters: |
|
---|---|
Returns: | |
Rtype DSubscription: | |
This plugin unsubscribes a ‘dblock’ by forgetting the dblog id.
Parameters: | dblock – DBlock which should be unsubscribed |
---|---|
Returns: | |
Rtype boolean: |
Bases: papi.data.DObject.DObject
DSubscription is used for the internal description of a subscription.
Contributors Sven Knuth
Bases: papi.data.DObject.DObject
DSignal is used for the internal description of a signal.
Contributors Sven Knuth