39 #include <boost/functional/hash.hpp> 56 return boost::hash_value (uint32_t{
id});
59 Symbol WorkTiming::WORKSTART{
"WorkStart"};
60 Symbol WorkTiming::WORKSTOP {
"WorkStop"};
65 Activity::operator string()
const 69 + util::showAddr(
this)
73 + (next? next->showVerb()+util::showAddr(*next)
74 : util::BOTTOM_INDICATOR)
79 Activity::showVerb()
const 82 case INVOKE:
return "INVOKE";
83 case WORKSTART:
return "WORKSTART";
84 case WORKSTOP:
return "WORKSTOP";
85 case NOTIFY:
return "NOTIFY";
86 case GATE:
return "GATE";
87 case POST:
return "POST";
88 case FEED:
return "FEED";
89 case HOOK:
return "HOOK";
90 case TICK:
return "TICK";
91 default: NOTREACHED (
"uncovered Activity verb diagnostics.");
96 Activity::showData()
const 100 return util::showPtr (data_.invocation.task)
102 + util::toString(
TimeValue{data_.invocation.time});
105 return util::toString(
TimeValue{data_.timing.instant})
107 + util::toString(data_.timing.quality);
109 return util::showAddr(data_.notification.target)
111 + util::toString(
Time{data_.notification.timing});
114 + util::toString(data_.condition.rest)
116 + util::toString(
Time{data_.condition.dead});
119 + util::toString(
Time{data_.timeWindow.life})
121 + util::toString(
Time{data_.timeWindow.dead})
125 + util::toString(data_.feed.one)
127 + util::toString(data_.feed.two)
130 return util::showPtr (data_.callback.hook)
132 + util::toString(data_.callback.arg)
137 NOTREACHED (
"uncovered Activity verb in activation function.");
Lumiera's internal time value datatype.
Token or Atom with distinct identity.
Service for coordination and dispatch of render activities.
Marker for current (and obsolete) manifestations of a CalcStream processed by the Render-Engine...
Marker types to indicate a literal string and a Symbol.
A language framework to define and interconnect scheduler activity verbs.
virtual ~Hook()
this is an interface
size_t HashVal
a STL compatible hash value
basic constant internal time value.
Vault-Layer implementation namespace root.