diff options
author | nshankar <nshankar@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-03-08 23:19:18 +0000 |
---|---|---|
committer | nshankar <nshankar@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-03-08 23:19:18 +0000 |
commit | e7d06756045ba737cef79217aa8ef19f7ad7b307 (patch) | |
tree | ba61079ad5acf9c24b47cbce65ea364a9fd2a2df /common/QoS.idl | |
parent | 7be287d5954253f7a27af0c34e9053643ca1cc3b (diff) | |
download | ATCD-e7d06756045ba737cef79217aa8ef19f7ad7b307.tar.gz |
Thu Mar 8 23:17:24 UTC 2007 Nishanth Shankaran <nshankar@nospam.com>ATC_RACE
Diffstat (limited to 'common/QoS.idl')
-rw-r--r-- | common/QoS.idl | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/common/QoS.idl b/common/QoS.idl new file mode 100644 index 00000000000..0a34f6340a6 --- /dev/null +++ b/common/QoS.idl @@ -0,0 +1,48 @@ +#ifndef QOS_IDL +#define QOS_IDL + +module CIAO +{ + module RACE + { + // Kind of comparison for a QoS specification. + enum QoSComparator + { + LESS_THAN, + GREATER_THAN, + EQUAL, + LESS_THAN_EQUAL, + GREATER_THAN_EQUAL, + NOT_EQUAL + }; + + // Type of QoS specification. + enum QoSType + { + DEADLINE, + OTHERS + }; + + // QoS structure. + struct QoSSpecification + { + // Human-readable name (for debugging, not identification). + string name; + + // Type of QoS. + QoSType type; + + // Specific type ID of component that monitors this QoS. + string MonitorID; + + // Comparison used for this QoS specification. + QoSComparator comparator; + + // Value to compare actual QoS to (using comparator). + any value; + }; + + typedef sequence <QoSSpecification> QoSSpecifications; + }; +}; +#endif /* QOS_IDL */ |