diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2003-03-21 04:36:07 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2003-03-21 04:36:07 +0000 |
commit | 5697ebe98e16f1438d6feba09cb075b6a0f2a653 (patch) | |
tree | caf213e0ce7a992096d10246878fd56c7eda9793 /externals/grill/vasp/source/classes.h | |
parent | 9056179fcd52793c16112471d1d7fed45722194c (diff) |
""
svn path=/trunk/; revision=488
Diffstat (limited to 'externals/grill/vasp/source/classes.h')
-rw-r--r-- | externals/grill/vasp/source/classes.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/externals/grill/vasp/source/classes.h b/externals/grill/vasp/source/classes.h index d90e9beb..c0ecad32 100644 --- a/externals/grill/vasp/source/classes.h +++ b/externals/grill/vasp/source/classes.h @@ -46,6 +46,7 @@ protected: */ BL refresh; // immediate graphics refresh? BL argchk; // pre-operation argument feasibility check + BL deferred; // queue outgoing vasp messages xs_unit unit; // time units I loglvl; // noise level for log messages @@ -59,6 +60,7 @@ private: FLEXT_CALLBACK_V(m_radio) FLEXT_ATTRVAR_B(argchk) + FLEXT_ATTRVAR_B(deferred) FLEXT_ATTRVAR_I(loglvl) FLEXT_ATTRVAR_E(unit,xs_unit) }; @@ -104,8 +106,6 @@ protected: V Lock() { runmtx.Lock(); } V Unlock() { runmtx.Unlock(); } - BL detach; // detached operation? - I prior; // thread priority // thrid_t thrid; #else FLEXT_CALLBACK(m_bang) @@ -113,6 +113,9 @@ protected: V Lock() {} V Unlock() {} #endif + BL detach; // detached operation? + I prior; // thread priority + FLEXT_CALLBACK_V(m_vasp) FLEXT_CALLBACK_V(m_set) @@ -122,10 +125,8 @@ protected: FLEXT_CALLBACK(m_stop) FLEXT_CALLVAR_V(m_getupd,m_setupd) -#ifdef FLEXT_THREADS FLEXT_ATTRVAR_B(detach) FLEXT_ATTRVAR_I(prior) -#endif private: static V Setup(t_classid); @@ -271,7 +272,7 @@ FLEXT_LIB("vasp," name,vasp_##op) #define VASP_BINARY(name,op,to,def,help) \ -class vasp_ ## op: \ +class vasp_##op: \ public vasp_binop \ { \ FLEXT_HEADER(vasp_##op,vasp_binop) \ @@ -290,7 +291,7 @@ FLEXT_LIB_V("vasp," name,vasp_##op) #define VASP_ANYOP(name,op,args,to,def,help) \ -class vasp_ ## op: \ +class vasp_##op: \ public vasp_anyop \ { \ FLEXT_HEADER(vasp_##op,vasp_anyop) \ |