Mercurial > hg > audiodb
comparison audioDBws.h @ 171:bb934f91d85c powertable
Web services interface to the powertable functionality.
* Implemented as a completely new SOAP method, called sequenceQuery
* lightly tested with http://doc.gold.ac.uk/~mas01cr/poweradb.php
(lacuna: need to pass relative-threshold and absolute-threshold always,
even when they don't make sense.)
Several uglinesses in the code, some of which will be resolved once all
the various branches are merged into the trunk.
author | mas01cr |
---|---|
date | Wed, 14 Nov 2007 14:00:53 +0000 |
parents | a5d5a55a412d |
children | d1b8b2dec37e |
comparison
equal
deleted
inserted
replaced
163:9dbff8fea81d | 171:bb934f91d85c |
---|---|
43 // Print the status of an existing adb database | 43 // Print the status of an existing adb database |
44 int adb__status(xsd__string dbName, struct adb__statusResponse &adbStatusResponse); | 44 int adb__status(xsd__string dbName, struct adb__statusResponse &adbStatusResponse); |
45 | 45 |
46 // Query an existing adb database | 46 // Query an existing adb database |
47 int adb__query(xsd__string dbName, xsd__string qKey, xsd__string keyList, xsd__string timesFileName, xsd__int qType, xsd__int qPos, xsd__int pointNN, xsd__int segNN, xsd__int segLen, struct adb__queryResponse &adbQueryResponse); | 47 int adb__query(xsd__string dbName, xsd__string qKey, xsd__string keyList, xsd__string timesFileName, xsd__int qType, xsd__int qPos, xsd__int pointNN, xsd__int segNN, xsd__int segLen, struct adb__queryResponse &adbQueryResponse); |
48 | |
49 struct adb__sequenceQueryParms { | |
50 xsd__string keyList; | |
51 xsd__string timesFileName; | |
52 xsd__string powerFileName; | |
53 xsd__int qPos; | |
54 xsd__int pointNN; | |
55 xsd__int segNN; | |
56 xsd__int segLen; | |
57 xsd__double relative_threshold; | |
58 xsd__double absolute_threshold; | |
59 }; | |
60 | |
61 // Perform a sequence query | |
62 int adb__sequenceQuery(xsd__string dbName, xsd__string qKey, | |
63 struct adb__sequenceQueryParms *parms, | |
64 struct adb__queryResponse &adbQueryResponse); |