cisstMultiTask component manager 1.1.0

Type: object

Configuration file format for the component manager. See cisst wiki

No Additional Properties

Type: object
No Additional Properties
Examples:

{
    "components": [
        {
            "shared-library": "sawForceDimensionSDK",
            "class-name": "mtsForceDimension",
            "constructor-arg": {
                "Name": "ForceDimensionSDK"
            },
            "configure-parameter": "sawForceDimensionSDK-MTMR.json"
        }
    ]
}
{
    "components": [
        {
            "shared-library": "sawSocketStreamer",
            "class-name": "mtsSocketStreamer",
            "constructor-arg": {
                "Name": "streamerMTML",
                "Period": 0.01
            },
            "configure-parameter": "streamerMTML.json"
        }
    ],
    "connections": [
        {
            "required": {
                "component": "streamerMTML",
                "interface": "Required"
            },
            "provided": {
                "component": "MTML",
                "interface": "Arm"
            }
        }
    ]
}

Type: array of object

Each item of this array must be:

Type: object
No Additional Properties

Type: string

Name of the dynamic library that contains the class definition for the component to be created. The component manager will first test if the file exists, i.e. the name provided is the full path with the extension. If the name is not a full path, the name should be provided without the library prefix nor its suffix (e.g. for libsawSensablePhantom.so on Linux or sawSensablePhantom.lib on Windows, just use sawSensablePhantom. The component manager will then use the default system path as well as the environment variable LD_LIBRARY_PATH to try to locate the library. The shared library is optional, some symbols might already be linked within the executable.

Type: string

Class name, i.e. type, to be used to dynamically create the new instance.

Type: string

String passed to the component's Configure virtual method. The component manager will attempt to find a file using this parameter. If a file is found, the component manager will call the configure method with the full path. Otherwise, the component manager will call the method with the parameter as-is. This is optional. If the configure-parameter is not provided, the component manager will call component->Configure("").

Type: object

Attributes required to build a single object passed to the constructor of a component. These objects depend on the type of component, e.g. mtsComponent, mtsTask, mtsTaskPeriodic... and are defined in the file cisst/cisstMultiTask/mtsParameterTypes.cdg.

No Additional Properties

Type: string

Name of the component instance to be created. This name must be unique for the component manager and will be used later for connections.

Type: number

Value must be strictly greater than 0.0

Type: array of object

Each item of this array must be:

Type: object
No Additional Properties

Type: object
No Additional Properties

Type: object
No Additional Properties