[PD-cvs] externals/grill/vasp/source classes.cpp, 1.9, 1.10 classes.h, 1.7, 1.8 main.cpp, 1.21, 1.22 ops_feature.cpp, 1.5, 1.6 ops_search.cpp, 1.9, 1.10
Thomas Grill
xovo at users.sourceforge.net
Sat Dec 10 22:57:16 CET 2005
Update of /cvsroot/pure-data/externals/grill/vasp/source
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27310/source
Modified Files:
classes.cpp classes.h main.cpp ops_feature.cpp ops_search.cpp
Log Message:
resurrected help message functionality
preparing RIP release
adapt to new flext version
Index: ops_feature.cpp
===================================================================
RCS file: /cvsroot/pure-data/externals/grill/vasp/source/ops_feature.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** ops_feature.cpp 24 May 2005 09:49:10 -0000 1.5
--- ops_feature.cpp 10 Dec 2005 21:57:13 -0000 1.6
***************
*** 169,172 ****
--- 169,174 ----
return ret;
}
+
+ virtual V m_help() { post("%s - Get non-zero values only for peaks",thisName()); }
};
FLEXT_LIB_V("vasp, vasp.peaks",vasp_peaks)
***************
*** 184,187 ****
--- 186,191 ----
return VaspOp::m_valleys(p,cref,&cdst);
}
+
+ virtual V m_help() { post("%s - Get non-zero values only for values",thisName()); }
};
FLEXT_LIB_V("vasp, vasp.valleys",vasp_valleys)
***************
*** 199,202 ****
--- 203,208 ----
return VaspOp::m_rpeaks(p,cref,&cdst);
}
+
+ virtual V m_help() { post("%s - Get non-zero values only for peaks of the complex radius",thisName()); }
};
FLEXT_LIB_V("vasp, vasp.rpeaks",vasp_rpeaks)
***************
*** 214,217 ****
--- 220,225 ----
return VaspOp::m_rvalleys(p,cref,&cdst);
}
+
+ virtual V m_help() { post("%s - Get non-zero values only for valleys of the complex radius",thisName()); }
};
FLEXT_LIB_V("vasp, vasp.rvalleys",vasp_rvalleys)
Index: main.cpp
===================================================================
RCS file: /cvsroot/pure-data/externals/grill/vasp/source/main.cpp,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** main.cpp 25 Mar 2005 04:53:19 -0000 1.21
--- main.cpp 10 Dec 2005 21:57:13 -0000 1.22
***************
*** 13,17 ****
! const C *VASP_VERSION = "0.1.3";
#include "opfuns.h"
--- 13,17 ----
! const C *VASP_VERSION = "0.1.4pre";
#include "opfuns.h"
Index: ops_search.cpp
===================================================================
RCS file: /cvsroot/pure-data/externals/grill/vasp/source/ops_search.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** ops_search.cpp 24 May 2005 09:49:10 -0000 1.9
--- ops_search.cpp 10 Dec 2005 21:57:13 -0000 1.10
***************
*** 189,192 ****
--- 189,194 ----
return VaspOp::m_soffset(p,cref,arg,&cdst);
}
+
+ virtual V m_help() { post("%s - Define starting point by searching for given value",thisName()); }
};
FLEXT_LIB_V("vasp, vasp.offset= vasp.o=",vasp_soffset)
***************
*** 204,207 ****
--- 206,211 ----
return VaspOp::m_sframes(p,cref,arg,&cdst);
}
+
+ virtual V m_help() { post("%s - Define vasp frame length by searching for given value",thisName()); }
};
FLEXT_LIB_V("vasp, vasp.frames= vasp.f=",vasp_sframes)
Index: classes.cpp
===================================================================
RCS file: /cvsroot/pure-data/externals/grill/vasp/source/classes.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** classes.cpp 13 Mar 2005 04:58:02 -0000 1.9
--- classes.cpp 10 Dec 2005 21:57:13 -0000 1.10
***************
*** 35,38 ****
--- 35,39 ----
FLEXT_CADDMETHOD_(c,0,"radio",m_radio);
+ FLEXT_CADDMETHOD_(c,0,"help",m_help);
FLEXT_CADDATTR_VAR1(c,"defer",deferred);
Index: classes.h
===================================================================
RCS file: /cvsroot/pure-data/externals/grill/vasp/source/classes.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** classes.h 21 Mar 2003 04:36:07 -0000 1.7
--- classes.h 10 Dec 2005 21:57:13 -0000 1.8
***************
*** 40,43 ****
--- 40,45 ----
virtual V m_radio(I argc,const t_atom *argv); // commands for all
+ virtual V m_help() = 0;
+
/*
V m_argchk(BL chk); // precheck argument on arrival
***************
*** 59,62 ****
--- 61,65 ----
FLEXT_CALLBACK_V(m_radio)
+ FLEXT_CALLBACK(m_help)
FLEXT_ATTRVAR_B(argchk)
More information about the Pd-cvs
mailing list