コード例 #1
0
//Enable lazy initialization
//Loads the function and arguments
void PythonHandler::init(std::string filename, std::string functionname, PythonArgList arg_list) {
	good = true;
	loadName(filename);
	loadModule();
	loadFunction(functionname);
	packArgs(arg_list);
}
コード例 #2
0
GTask &udot_t(GData &A,GData &B, GData &r,GTask *parent )
{
    Args *args = new Args;
    Axs axs;
    packArgs( args,A , B  , r  );
    packAxs ( axs ,In, In , Out);
    GTask *t=get_dispatcher()->submit_task(&_udot,args,axs,parent);
    return *t;
}
コード例 #3
0
GTask &utrsm_t(GData &A,GData &B, GTask *parent )
{
    Args *args = new Args;
    Axs axs;
    packArgs( args,A ,B    );
    packAxs ( axs ,In,InOut);
    GTask *t=get_dispatcher()->submit_task(utrsm_name,args,axs,parent);
    return *t;
}