CSimpleMutex m_mtxDataRelation;
CObjectPtr<ITasker> 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();
void finalRelease();
- void onExecute(IN void *pArg);
+ void onExecute(void *pArg);
- void onTerminate(IN void *pArg);
+ void onTerminate(void *pArg);
/**
* @fn onWatcherTriggered
* @exception
* @see
*/
- SSMRESULT onWatcherTriggered(IN int triggerId, IN int dataId);
+ SSMRESULT onWatcherTriggered(int triggerId, int dataId);
SSMRESULT queryInterface(const OID &objectID, IBase **ppObject)
{
* @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
* @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
* @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
* @exception
* @see
*/
- SSMRESULT deleteModelData(IN int modelId, IN int dataId);
+ SSMRESULT deleteModelData(int modelId, int dataId);
/**
* @fn getModelData
* @exception
* @see
*/
- SSMRESULT getModelData(IN int modelId, IN int dataId, OUT ModelPropertyVec *pModelProperties);
+ SSMRESULT getModelData(int modelId, int dataId, ModelPropertyVec *pModelProperties);
/**
* @fn getModelDataSet
* @exception
* @see
*/
- SSMRESULT getModelDataSet(IN int modelId, IN int startIndex, IN int count,
- OUT std::vector<ModelPropertyVec> *pDataSet, OUT int *pLastIndex);
+ SSMRESULT getModelDataSet(int modelId, int startIndex, int count,
+ std::vector<ModelPropertyVec> *pDataSet, int *pLastIndex);
- //SSMRESULT GetModelSchema(IN int modelId, OUT ModelPropertyVec *pModelProperties);
+ //SSMRESULT GetModelSchema(int modelId, ModelPropertyVec *pModelProperties);
/**
* @fn getConditionedModelData
* @exception
* @see
*/
- SSMRESULT getConditionedModelData(IN int modelId, IN ModelConditionVec *pModelConditions,
- OUT IntVec *pDataIds);
+ SSMRESULT getConditionedModelData(int modelId, ModelConditionVec *pModelConditions,
+ IntVec *pDataIds);
/**
* @fn watchModelData
* @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
* @exception
* @see
*/
- SSMRESULT dropWatchModelData(IN int triggerId);
+ SSMRESULT dropWatchModelData(int triggerId);
/**
* @fn getParentDataId
* @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
* @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