本文整理汇总了C++中sendOutputEvent函数的典型用法代码示例。如果您正苦于以下问题:C++ sendOutputEvent函数的具体用法?C++ sendOutputEvent怎么用?C++ sendOutputEvent使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了sendOutputEvent函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: QO
void FORTE_iCreateDemo::executeEvent(int pa_nEIID) {
QO() = QI();
switch (pa_nEIID) {
case scm_nEventINITID:
if(true == QI()) {
//TODO: add code for INIT event! or delete event
}
sendOutputEvent(scm_nEventINITOID);
break;
case scm_nEventSpotID:
if(true == QI()) {
create_spot();
}
sendOutputEvent(scm_nEventSpotOID);
break;
case scm_nEventCoverID:
if(true == QI()) {
create_cover();
}
sendOutputEvent(scm_nEventCoverOID);
break;
case scm_nEventDemoID:
if(true == QI()) {
create_demo(D());
}
sendOutputEvent(scm_nEventDemoOID);
break;
case scm_nEventCoverDockID:
if(true == QI()) {
create_cover_dock();
}
sendOutputEvent(scm_nEventCoverDockOID);
break;
case scm_nEventSendScriptID:
if(true == QI()) {
//TODO: Delete create.h does not support adding code for SendScript event!
}
sendOutputEvent(scm_nEventSendScriptOID);
break;
}
}
示例2: OUT
void FORTE_F_ULINT_TO_UINT::executeEvent(int pa_nEIID) {
if(scm_nEventREQID == pa_nEIID) {
OUT() = ULINT_TO_UINT(IN());
sendOutputEvent(scm_nEventCNFID);
}
}
示例3: sendOutputEvent
void FORTE_F_INSERT::executeEvent(int pa_nEIID){
if (scm_nEventREQID == pa_nEIID) {
anyStringFBHelper<FORTE_F_INSERT>(IN1().getDataTypeID(), *this);
sendOutputEvent(scm_nEventCNFID);
}
}
示例4: OUT
void FORTE_F_T_PLC_MS::executeEvent(int pa_nEIID){
if(scm_nEventREQID == pa_nEIID){
OUT() = T_PLC_MS();
sendOutputEvent(scm_nEventCNFID);
}
}
示例5: OUT
void FORTE_F_SUB_DATE_DATE::executeEvent(int pa_nEIID){
if(scm_nEventREQID == pa_nEIID){
OUT() = SUB_DATE_DATE(IN1(), IN2());
sendOutputEvent(scm_nEventCNFID);
}
}
示例6: alg_INIT
void FORTE_FB_FT_TN64::enterStateINIT(void){
m_nECCState = scm_nStateINIT;
alg_INIT();
sendOutputEvent( scm_nEventINITOID);
}
示例7: OUT
void FORTE_F_USINT_TO_BCD_BYTE::executeEvent(int pa_nEIID){
if(scm_nEventREQID == pa_nEIID){
OUT() = USINT_TO_BCD_BYTE(IN());
sendOutputEvent(scm_nEventCNFID);
}
}
示例8: OUT
void FORTE_F_BOOL_TO_WORD::executeEvent(int pa_nEIID){
if(scm_nEventREQID == pa_nEIID){
OUT() = BOOL_TO_WORD(IN());
sendOutputEvent(scm_nEventCNFID);
}
}
示例9: sendOutputEvent
void FORTE_EG_SPLIT_3::enterStateEO(void){
m_nECCState = scm_nStateEO;
sendOutputEvent( scm_nEventEO1ID);
sendOutputEvent( scm_nEventEO2ID);
sendOutputEvent( scm_nEventEO3ID);
}
示例10: sendOutputEvent
void FORTE_F_MIN::executeEvent(int pa_nEIID) {
if (scm_nEventREQID == pa_nEIID) {
anyElementaryFBHelper<FORTE_F_MIN>(IN1().getDataTypeID(), *this);
sendOutputEvent(scm_nEventCNFID);
}
}
示例11: alg_REQ
void FB_ADD_INT::enterStateREQ(void){
m_nECCState = scm_nStateREQ;
alg_REQ();
sendOutputEvent( scm_nEventCNFID);
}
示例12: OUT
void USINT2USINT::executeEvent(int pa_nEIID){
if(scm_nEventREQID == pa_nEIID){
OUT() = IN();
sendOutputEvent(scm_nEventCNFID);
}
}
示例13: OUT
void FORTE_F_ADD_TOD_TIME::executeEvent(int pa_nEIID){
if(scm_nEventREQID == pa_nEIID){
OUT() = ADD_TOD_TIME(IN1(), IN2());
sendOutputEvent(scm_nEventCNFID);
}
}
示例14: OUT
void FORTE_F_DEAD_ZONE::executeEvent(int pa_nEIID){
if(scm_nEventREQID == pa_nEIID){
OUT() = ::DEAD_ZONE(X(), L());
sendOutputEvent(scm_nEventCNFID);
}
}
示例15: OUT
void FORTE_F_INT_TO_TIME::executeEvent(int pa_nEIID){
if(scm_nEventREQID == pa_nEIID){
OUT() = INT_TO_TIME(IN());
sendOutputEvent(scm_nEventCNFID);
}
}