Beispiel #1
0
 int
 process(const tendrils& /*inputs*/, const tendrils& outputs)
 {
   ecto::pcl::xyz_cloud_variant_t v = input_->make_variant();
   *output_ = boost::apply_visitor(to_message(),v);
   return ecto::OK;
 }
Beispiel #2
0
	int w_push(lua_State * L)
	{
		static Event::Message m;

		if(!to_message(L, m))
		{
			luax_pushboolean(L, false);
			return 1;
		}

		luax_pushboolean(L, instance->push(m));

		return 1;
	}
 /// @copydoc message::extract_opts
 inline message::cli_res extract_opts(std::vector<message::cli_arg> xs,
                                      message::help_factory f
                                      = nullptr) const {
   return to_message().extract_opts(std::move(xs), std::move(f));
 }
 /// @copydoc message::extract
 inline message extract(message_handler f) const {
   return to_message().extract(f);
 }
 /// @copydoc message::extract
 inline message extract(message_handler f) const {
   return to_message().extract(std::move(f));
 }