virtual void output(const devs::Time& /* time */, devs::ExternalEventList& output) const { if (mActive) { output.push_back(buildEvent("yes")); } else { output.push_back(buildEvent("no")); } }
virtual void output(const devs::Time& /* time */, devs::ExternalEventList& output) const { for (int i = 0; i < m_counter; ++i) { output.push_back(buildEvent("out")); } }
void GeneratorWrapper::output(const devs::Time& /* time */, devs::ExternalEventList& output) const { output.push_back(new devs::ExternalEvent("out")); }
virtual void output(const devs::Time& /* time */, devs::ExternalEventList& output) const { output.push_back(new devs::ExternalEvent("out")); }