Exemplo n.º 1
0
void 
Serialiser::Serialise(const OrderedTask &task)
{
  node.SetAttribute(_T("type"), GetTaskFactoryType(task.GetFactoryType()));
  Serialise(task.GetOrderedTaskBehaviour());
  mode_optional_start = false;
  task.AcceptTaskPointVisitor(*this);
  mode_optional_start = true;
  task.AcceptStartPointVisitor(*this);
}
Exemplo n.º 2
0
void 
Serialiser::serialise(const OrderedTask &task)
{
  m_node.set_attribute(_T("type"), task_factory_type(task.get_factory_type()));
  serialise(task.get_ordered_task_behaviour());
  mode_optional_start = false;
  task.AcceptTaskPointVisitor(*this);
  mode_optional_start = true;
  task.AcceptStartPointVisitor(*this);
}