std::string m_secLifeTime;
- void registerSSMResource(IN ActivationType activationType, IN int targetDeviceDataId,
- IN ISSMResource *pSSMResource);
+ void registerSSMResource(ActivationType activationType, int targetDeviceDataId,
+ ISSMResource *pSSMResource);
- void unregisterSSMResource(IN ActivationType activationType, IN int targetDeviceDataId,
- IN ISSMResource *pSSMResource);
+ void unregisterSSMResource(ActivationType activationType, int targetDeviceDataId,
+ ISSMResource *pSSMResource);
public:
SSMRESULT finalConstruct();
* @exception
* @see
*/
- SSMRESULT create(IN ConstructionType constructionType, IN IContextModel *pParentModel,
- IN std::string modelName, IN ModelPropertyVec *pModelProperties);
+ SSMRESULT create(ConstructionType constructionType, IContextModel *pParentModel,
+ std::string modelName, ModelPropertyVec *pModelProperties);
/**
* @fn registerContextModelEvent
* @exception
* @see
*/
- SSMRESULT registerContextModelEvent(IN IContextModelEvent *pContextModelEvent);
+ SSMRESULT registerContextModelEvent(IContextModelEvent *pContextModelEvent);
- void onExecute(IN void *pArg);
+ void onExecute(void *pArg);
- void onTerminate(IN void *pArg);
+ void onTerminate(void *pArg);
/**
* @fn onEvent
* @exception
* @see
*/
- int onEvent(IN std::string deviceID, IN TypeofEvent callType, IN std::vector<ContextData> ctxData);
+ int onEvent(std::string deviceID, TypeofEvent callType, std::vector<ContextData> ctxData);
SSMRESULT queryInterface(const OID &objectID, IBase **ppObject)
{
* @exception
* @see
*/
- SSMRESULT getParentDataId(IN int dataId, IN IContextModel *pParentModel, OUT int *pParentDataId);
+ SSMRESULT getParentDataId(int dataId, IContextModel *pParentModel, int *pParentDataId);
/**
* @fn getChildDataId
* @exception
* @see
*/
- SSMRESULT getChildDataId(IN int dataId, IN IContextModel *pChildModel, OUT IntVec *pChildDataIds);
+ SSMRESULT getChildDataId(int dataId, IContextModel *pChildModel, IntVec *pChildDataIds);
/**
* @fn activate
* @exception
* @see
*/
- SSMRESULT activate(IN ActivationType activationType, IN int targetDeviceDataId);
+ SSMRESULT activate(ActivationType activationType, int targetDeviceDataId);
/**
* @fn deactivate
* @exception
* @see
*/
- SSMRESULT deactivate(IN ActivationType activationType, IN int targetDeviceDataId);
+ SSMRESULT deactivate(ActivationType activationType, int targetDeviceDataId);
- //SSMRESULT GetModelSchema(OUT ModelPropertyVec *pModelProperties);
+ //SSMRESULT GetModelSchema(ModelPropertyVec *pModelProperties);
/**
* @fn addModelData
* @exception
* @see
*/
- SSMRESULT addModelData(IN int parentDataId, IN ModelPropertyVec *pData, OUT int *pDataId);
+ SSMRESULT addModelData(int parentDataId, ModelPropertyVec *pData, int *pDataId);
/**
* @fn updateModelData
* @exception
* @see
*/
- SSMRESULT updateModelData(IN int dataId, IN ModelPropertyVec *pData);
+ SSMRESULT updateModelData(int dataId, ModelPropertyVec *pData);
/**
* @fn deleteModelData
* @exception
* @see
*/
- SSMRESULT deleteModelData(IN int dataId);
+ SSMRESULT deleteModelData(int dataId);
/**
* @fn getModelData
* @exception
* @see
*/
- SSMRESULT getModelData(IN int dataId, OUT ModelPropertyVec *pData);
+ SSMRESULT getModelData(int dataId, ModelPropertyVec *pData);
/**
* @fn getModelDataSet
* @exception
* @see
*/
- SSMRESULT getModelDataSet(IN int startIndex, IN int count,
- OUT std::vector<ModelPropertyVec> *pDataSet, OUT int *pLastIndex);
+ SSMRESULT getModelDataSet(int startIndex, int count,
+ std::vector<ModelPropertyVec> *pDataSet, int *pLastIndex);
/**
* @fn createConditionedModel
* @exception
* @see
*/
- SSMRESULT createConditionedModel(IN ModelConditionVec *pModelConditionVec,
- OUT IConditionedModel **ppConditionedModel);
+ SSMRESULT createConditionedModel(ModelConditionVec *pModelConditionVec,
+ IConditionedModel **ppConditionedModel);
//SSMRESULT CleanUpModelData();
* @exception
* @see
*/
- void addSSMResourceAndDeviceDataId(IN std::string deviceId, IN int deviceDataId,
- IN ISSMResource *pSSMResource);
+ void addSSMResourceAndDeviceDataId(std::string deviceId, int deviceDataId,
+ ISSMResource *pSSMResource);
/**
* @fn SetLifeTime