void ConnectSuggestionsToolCommand::connect(Model::Base & source, Model::Base & destination) { m_operation.connect(source, destination); m_functor.loadMaterials(); m_functor(source); finalize(); }
void CPda::PlayScriptFunction() { if(xr_strcmp(m_functor_str, "")) { luabind::functor<void> m_functor; R_ASSERT(ai().script_engine().functor(m_functor_str.c_str(), m_functor)); m_functor(); } }
bool pre(const scene::Path& path, scene::Instance& instance) const { if(path.top().get().visible()) { BrushInstance* brush = Instance_getBrush(instance); if(brush != 0) { m_functor(*brush); } } return true; }
virtual void execute(System& sys) { m_functor(sys); };
void visit( scene::Instance& instance ) const { if ( Node_isPatch( instance.path().top() ) ) { m_functor( instance ); } }
R operator() (void) { return m_functor (m_a); }