File size: 2,044 Bytes
ef17c16 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | // -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
// ex: set filetype=cpp softtabstop=4 shiftwidth=4 tabstop=4 cindent expandtab:
inline-header {
#include <json/json.h>
#include <sawIntuitiveResearchKit/IO_proxy_configuration.h>
#include <sawIntuitiveResearchKit/IO_configuration.h>
#include <sawIntuitiveResearchKit/arm_proxy_configuration.h>
#include <sawIntuitiveResearchKit/console_configuration.h>
}
class {
name system_configuration_settings;
namespace dvrk;
attribute CISST_EXPORT;
member {
name chatty;
type bool;
visibility public;
default false;
}
member {
name path;
type std::vector<std::string>;
visibility public;
default std::vector<std::string>();
}
member {
name audio_volume;
type double;
visibility public;
default 0.5;
}
}
class {
name system_configuration;
namespace dvrk;
attribute CISST_EXPORT;
member {
name component_manager;
type Json::Value;
visibility public;
default Json::Value();
}
member {
name IOs;
type std::vector<dvrk::IO_proxy_configuration>;
visibility public;
default std::vector<dvrk::IO_proxy_configuration>();
}
member {
name ISI_focus_controller;
type dvrk::IO_configuration;
visibility public;
default dvrk::IO_configuration("ISI_focus_controller");
}
member {
name arms;
type std::vector<dvrk::arm_proxy_configuration>;
visibility public;
default std::vector<dvrk::arm_proxy_configuration>();
}
member {
name consoles;
type std::vector<dvrk::console_configuration>;
visibility public;
default std::vector<dvrk::console_configuration>();
}
member {
name settings;
type dvrk::system_configuration_settings;
visibility public;
default dvrk::system_configuration_settings();
}
}
|