Changeset 14872
- Timestamp:
- 02/05/13 16:05:59 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/RemoteControl.h
r14741 r14872 169 169 void JsPrint(const std::string &msg) { if (fImp) fImp->Comment(msg.empty()?" ":msg); } 170 170 void JsAlarm(const std::string &msg) { if (fImp) fImp->Alarm(msg.empty()?" ":msg); } 171 void JsException(const std::string &str) { if (fImp) fImp->Error(str.empty()?" ": str); }171 void JsException(const std::string &str) { if (fImp) fImp->Error(str.empty()?" ":('|'+str)); } 172 172 bool JsHasState(int s) const { return fImp && fImp->HasState(s); } 173 173 bool JsHasState(const string &n) const { return fImp && (fImp->GetStateIndex(n)!=StateMachineImp::kSM_NotAvailable); }
Note:
See TracChangeset
for help on using the changeset viewer.