| 212 | } |
| 213 | |
| 214 | std::string MacroActionWait::GetShortDesc() const |
| 215 | { |
| 216 | if (_waitType == Type::VARIABLE_WAIT) { |
| 217 | return GetWeakVariableName(_variable); |
| 218 | } |
| 219 | if (_waitType == Type::FIXED) { |
| 220 | return _duration.ToString(); |
| 221 | } |
| 222 | return _duration.ToString() + " - " + _duration2.ToString(); |
| 223 | } |
| 224 | |
| 225 | std::shared_ptr<MacroAction> MacroActionWait::Create(Macro *m) |
| 226 | { |
no test coverage detected