Esempio n. 1
0
//
// write_InEventPort_begin
//
void CUTS_EISA_Generator_Base::
write_InEventPort_begin (const PICML::InEventPort & sink)
{
  PICML::Event event = sink.ref ();

  if (event != Udm::null)
  {
    this->out_
      << "push_" << sink.name () << " ("
      << scope (event, "::") << event.name () << " * ev)";
  }
}
Esempio n. 2
0
//
// write_method
//
void CUTS_EISA_Generator_Base::
write_method (const PICML::OutEventPort & source)
{
  PICML::Event event = source.ref ();

  if (event != Udm::null)
  {
    this->out_
      << "push_" << source.name () << " ("
      << scope (event, "::") << event.name () << " * ev)";
  }
}
Esempio n. 3
0
 //
 //visit_OutEventPort
 //
 void Component_Asm_Visitor::visit_InEventPort (PICML::InEventPort_in item)
 {
   PICML::Event ev = item->refers_to_EventType ();
   this->factory_.create_TopicQosReference (DQML::DataReaderQos::_narrow (this->current_node_), ev->name ());
 }