Ejemplo n.º 1
0
bool CmdRenderResoucesList::v_processArguments( int argc, char** argv, af::Msg &msg)
{
	std::string name = argv[0];
	af::MCGeneral mcgeneral( name, 0);
	msg.set( getMsgType(), &mcgeneral);
	return true;
}
Ejemplo n.º 2
0
bool CmdJobRunningTasksMaximum::processArguments( int argc, char** argv, af::Msg &msg)
{
   std::string name = argv[0];
   int number = atoi(argv[1]);
   af::MCGeneral mcgeneral( name, number);
   msg.set( getMsgType(), &mcgeneral);
   return true;
}
Ejemplo n.º 3
0
bool CmdJobsRestart::processArguments( int argc, char** argv, af::Msg &msg)
{
   std::string mask = argv[0];
   if( af::RegExp::Validate( mask) == false ) return false;
   af::MCGeneral mcgeneral( mask, 0);
   msg.set( getMsgType(), &mcgeneral);
   return true;
}
Ejemplo n.º 4
0
bool CmdJobsSetUser::processArguments( int argc, char** argv, af::Msg &msg)
{
   std::string name = argv[0];
   std::string user = argv[1];
   af::MCGeneral mcgeneral( name, user);
   msg.set( getMsgType(), &mcgeneral);
   return true;
}