Go to the source code of this file.
Namespaces | |
namespace | test_dimc_service |
Data Structures | |
class | DimTask |
Creates 3 services and registeres to them. More... | |
Functions | |
def | test_dimc_service::usage |
Variables | |
tuple | test_dimc_service::client_names = ("task1",) |
list | test_dimc_service::client_names = sys.argv[2:] |
tuple | test_dimc_service::task = DimTask(task_name, client_names, updates=10/DimTask.DELAY) |
string | test_dimc_service::task_name = "task1" |
list | test_dimc_service::task_name = sys.argv[1] |
This file contains an example for using a DIM service from python. A DimTask object is at the same time the DIM service and client. Like for the DIM functions there are several steps needed to be taken:
Definition in file test_dimc_service.py.