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