| 2738 | } |
| 2739 | |
| 2740 | void ModularSynth::LogEvent(std::string event, LogEventType type) |
| 2741 | { |
| 2742 | if (type == kLogEventType_Warning) |
| 2743 | { |
| 2744 | !ofLog() << "warning: " << event; |
| 2745 | } |
| 2746 | else if (type == kLogEventType_Error) |
| 2747 | { |
| 2748 | !ofLog() << "error: " << event; |
| 2749 | mErrors.push_back(event); |
| 2750 | } |
| 2751 | |
| 2752 | mEvents.push_back(LogEventItem(gTime, event, type)); |
| 2753 | if (mEvents.size() > 30) |
| 2754 | mEvents.pop_front(); |
| 2755 | } |
| 2756 | |
| 2757 | IDrawableModule* ModularSynth::DuplicateModule(IDrawableModule* module) |
| 2758 | { |
no test coverage detected