![]() |
ctrlX Data Layer API for Python
3.3.0
The ctrlX Data Layer API allows access to the ctrlX Data Layer with Python
|
Public Member Functions | |
def | __init__ (self, str ipc_path) |
def | __enter__ (self) |
def | __exit__ (self, exc_type, exc_val, exc_tb) |
def | close (self) |
Factory | factory (self) |
def | get_handle (self) |
Converter | json_converter (self) |
def | set_bfbs_path (self, path) |
def | start (self, bool bo_start_broker) |
bool | stop (self, bool bo_force_provider_stop) |
Datalayer System Instance.
Hint see python context manager for instance handling
def __init__ | ( | self, | |
str | ipc_path | ||
) |
Creates a datalayer system.
[in] | ipc_path | Path for interprocess communication - use null pointer for automatic detection |
Definition at line 22 of file system.py.
References Client.__closed, Provider.__closed, ProviderNode.__closed, SubscriptionAsync.__closed, SubscriptionSync.__closed, System.__closed, Variant.__closed, and System.__system.
Factory factory | ( | self | ) |
Returns the factory to create clients and provider for the datalayer.
Definition at line 77 of file system.py.
References System.__system.
Converter json_converter | ( | self | ) |
Returns converter between JSON and Variant.
Definition at line 86 of file system.py.
References System.__system.
def set_bfbs_path | ( | self, | |
path | |||
) |
Sets the base path to bfbs files.
[in] | path | Base path to bfbs files |
Definition at line 95 of file system.py.
References System.__system.
def start | ( | self, | |
bool | bo_start_broker | ||
) |
Starts a datalayer system.
[in] | bo_start_broker | Use true to start a broker. If you are a user of the datalayer - call with false! |
Definition at line 60 of file system.py.
References System.__system.
bool stop | ( | self, | |
bool | bo_force_provider_stop | ||
) |
Stops a datalayer system.
[in] | bo_force_provider_stop | Force stop off all created providers for this datalayer system |
Definition at line 69 of file system.py.
References System.__system.
Referenced by System.close().