X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=service%2Fsoft-sensor-manager%2FSSMCore%2Fsrc%2FQueryProcessor%2FEvaluationEngine.h;h=759f44aa2512ef483ec6f183abea84d83863b499;hb=935fdb9b67b6c10d007e652e9e2e028fd6ccfe09;hp=03da0bf5c94dca13cca3cce5fbc3ea5e86b8adfe;hpb=00b3660e45c56cb3db35dc2596a054f801b5591a;p=platform%2Fupstream%2Fiotivity.git diff --git a/service/soft-sensor-manager/SSMCore/src/QueryProcessor/EvaluationEngine.h b/service/soft-sensor-manager/SSMCore/src/QueryProcessor/EvaluationEngine.h index 03da0bf..759f44a 100644 --- a/service/soft-sensor-manager/SSMCore/src/QueryProcessor/EvaluationEngine.h +++ b/service/soft-sensor-manager/SSMCore/src/QueryProcessor/EvaluationEngine.h @@ -45,11 +45,11 @@ class CEvaluationEngine : CSimpleMutex m_mtxDataRelation; CObjectPtr m_pTasker; - SSMRESULT executeSQL_NoReturn(IN std::string strSQL); + SSMRESULT executeSQL_NoReturn(std::string strSQL); - SSMRESULT executeSQL_IntReturn(IN std::string strSQL, OUT int *pResult); + SSMRESULT executeSQL_IntReturn(std::string strSQL, int *pResult); - static void onSQLTrigger(IN sqlite3_context *context, IN int argc, IN sqlite3_value **argv); + static void onSQLTrigger(sqlite3_context *context, int argc, sqlite3_value **argv); SSMRESULT initializeEngine(); @@ -60,9 +60,9 @@ class CEvaluationEngine : void finalRelease(); - void onExecute(IN void *pArg); + void onExecute(void *pArg); - void onTerminate(IN void *pArg); + void onTerminate(void *pArg); /** * @fn onWatcherTriggered @@ -76,7 +76,7 @@ class CEvaluationEngine : * @exception * @see */ - SSMRESULT onWatcherTriggered(IN int triggerId, IN int dataId); + SSMRESULT onWatcherTriggered(int triggerId, int dataId); SSMRESULT queryInterface(const OID &objectID, IBase **ppObject) { @@ -108,8 +108,8 @@ class CEvaluationEngine : * @exception * @see */ - SSMRESULT createModel(IN int parentModelId, IN const char *newModelName, - IN ModelPropertyVec *pModelDescs, OUT int *pModelId); + SSMRESULT createModel(int parentModelId, const char *newModelName, + ModelPropertyVec *pModelDescs, int *pModelId); /** * @fn addModelData @@ -126,8 +126,8 @@ class CEvaluationEngine : * @exception * @see */ - SSMRESULT addModelData(IN int modelId, IN int parentModelId, IN int parentDataId, - IN ModelPropertyVec *pModelValues, OUT int *pDataId); + SSMRESULT addModelData(int modelId, int parentModelId, int parentDataId, + ModelPropertyVec *pModelValues, int *pDataId); /** * @fn updateModelData @@ -142,9 +142,9 @@ class CEvaluationEngine : * @exception * @see */ - SSMRESULT updateModelData(IN int modelId, IN int dataId, IN ModelPropertyVec *pModelValues); + SSMRESULT updateModelData(int modelId, int dataId, ModelPropertyVec *pModelValues); - //SSMRESULT DeleteModel(IN int modelId); + //SSMRESULT DeleteModel(int modelId); /** * @fn deleteModelData @@ -158,7 +158,7 @@ class CEvaluationEngine : * @exception * @see */ - SSMRESULT deleteModelData(IN int modelId, IN int dataId); + SSMRESULT deleteModelData(int modelId, int dataId); /** * @fn getModelData @@ -173,7 +173,7 @@ class CEvaluationEngine : * @exception * @see */ - SSMRESULT getModelData(IN int modelId, IN int dataId, OUT ModelPropertyVec *pModelProperties); + SSMRESULT getModelData(int modelId, int dataId, ModelPropertyVec *pModelProperties); /** * @fn getModelDataSet @@ -190,10 +190,10 @@ class CEvaluationEngine : * @exception * @see */ - SSMRESULT getModelDataSet(IN int modelId, IN int startIndex, IN int count, - OUT std::vector *pDataSet, OUT int *pLastIndex); + SSMRESULT getModelDataSet(int modelId, int startIndex, int count, + std::vector *pDataSet, int *pLastIndex); - //SSMRESULT GetModelSchema(IN int modelId, OUT ModelPropertyVec *pModelProperties); + //SSMRESULT GetModelSchema(int modelId, ModelPropertyVec *pModelProperties); /** * @fn getConditionedModelData @@ -208,8 +208,8 @@ class CEvaluationEngine : * @exception * @see */ - SSMRESULT getConditionedModelData(IN int modelId, IN ModelConditionVec *pModelConditions, - OUT IntVec *pDataIds); + SSMRESULT getConditionedModelData(int modelId, ModelConditionVec *pModelConditions, + IntVec *pDataIds); /** * @fn watchModelData @@ -225,8 +225,8 @@ class CEvaluationEngine : * @exception * @see */ - SSMRESULT watchModelData(IN int modelId, IN ModelConditionVec *pModelConditions, - IN IEvaluationEngineEvent *pEvaluationEngineEvent, OUT int *pTriggerId); + SSMRESULT watchModelData(int modelId, ModelConditionVec *pModelConditions, + IEvaluationEngineEvent *pEvaluationEngineEvent, int *pTriggerId); /** * @fn dropWatchModelData @@ -239,7 +239,7 @@ class CEvaluationEngine : * @exception * @see */ - SSMRESULT dropWatchModelData(IN int triggerId); + SSMRESULT dropWatchModelData(int triggerId); /** * @fn getParentDataId @@ -255,8 +255,8 @@ class CEvaluationEngine : * @exception * @see */ - SSMRESULT getParentDataId(IN int modelId, IN int dataId, IN int parentModelId, - OUT int *pParentDataId); + SSMRESULT getParentDataId(int modelId, int dataId, int parentModelId, + int *pParentDataId); /** * @fn getChildDataId @@ -272,16 +272,16 @@ class CEvaluationEngine : * @exception * @see */ - SSMRESULT getChildDataId(IN int modelId, IN int dataId, IN int childModelId, - OUT IntVec *pChildDataIds); + SSMRESULT getChildDataId(int modelId, int dataId, int childModelId, + IntVec *pChildDataIds); - //SSMRESULT GetPathToRoot(IN int currentModelId, OUT IntVec *pPath); + //SSMRESULT GetPathToRoot(int currentModelId, IntVec *pPath); - //SSMRESULT GetModelId(IN const char *modelName, OUT int *pModelId); + //SSMRESULT GetModelId(const char *modelName, int *pModelId); - //SSMRESULT GetModelHierarchy(IN int rootModelId, OUT StringVec *pPath); + //SSMRESULT GetModelHierarchy(int rootModelId, StringVec *pPath); - //SSMRESULT GetDataHierarchy(IN int rootModelId, IN int dataId, OUT StringVec *pPath); + //SSMRESULT GetDataHierarchy(int rootModelId, int dataId, StringVec *pPath); }; #endif