Repository navigation
Expand file tree
/
Copy pathNAMESPACE
More file actions
84 lines (69 loc) · 2.8 KB
/
Copy pathNAMESPACE
File metadata and controls
84 lines (69 loc) · 2.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
import(methods)
import(mongo)
import(Proc4)
import(futile.logger)
importFrom("jsonlite","toJSON","fromJSON","unbox")
importFrom("utils","limitedLabels")
importFrom("utils","read.csv","write.csv")
S3method(all.equal,Event)
S3method(all.equal,Rule)
S3method(all.equal,Status)
## Condition
export(checkCondition,"?eq","?ne","?gt","?gte","?lt","?lte",
"?in","?nin","?exists","?isnull","?isna","?regexp",
"?any","?all","?not","?and","?or")
## Context
export(Context,newContextSet,doc,cid, belongsTo, "belongsTo<-",
number, "number<-",applicableContexts,parseContext,matchContext,
clearContexts,loadContexts,updateContext,"name")
exportClasses(Context,ContextSet)
exportMethods(name,doc,cid, belongsTo, "belongsTo<-",
number, "number<-",toString,show,matchContext,
clearContexts,updateContext)
## Events
export(Event,verb,object,parseEvent,all.equal.Event)
exportClasses(Event)
exportMethods(as.jlist,verb,object)
## Predicates
export(executePredicate, "!set", "!unset", modify,
"!incr", "!decr","!mult","!div","!min","!max",
"!addToSet","!pullFromSet","!push","!pop","!setKeyValue",
"!start", "!reset", "!setCall", asif.difftime, is.difftime,
"!send",buildMessages, "!send1","!send2")
## RuleTables (Rules)
export(Rule,name,doc,context,ruleType,priority,condition,predicate,
parseRule, all.equal.Rule,loadRulesFromList,testAndLoad,
runRule,runTRule)
exportClass(Rule,RuleTable)
exportMethods(context,ruleType,priority,condition,predicate)
## Status (Timer)
export(Timer,start,pause,resume,isRunning,totalTime,timeSoFar,
"timeSoFar<-",reset,parseTimer)
exportClass(Timer)
exportMethods(start,pause,resume,isRunning,totalTime,timeSoFar,
"timeSoFar<-",reset)
## Status (Status)
export(Status,timer,"timer<-",setTimer,timerTime,"timerTime<-",
timerRunning,"timerRunning<-",flag,"flag<-",obs,"obs<-",
parseStatus,getJS,setJS,removeJS,getJSfield,
setJSfield, removeJSfield, "context<-",oldContext,
all.equal.Status)
exportClasses(Status,UserRecordSet)
exportMethods(timer,"timer<-",setTimer,timerTime,"timerTime<-",
timerRunning,"timerRunning<-",
flag,"flag<-",obs,"obs<-",timerTime, "context<-",
oldContext,app)
## testRules
export(testQuery, testQueryScript, testPredicate, testPredicateScript,
testRule, testRuleScript, EITest, RuleTest,
parseEITest, parseRuleTest,
initial,event,rule,queryResult,final, runTest)
exportMethods(initial,event,rule,queryResult,final)
exportClasses(EITest,RuleTest,TestSet)
## EIEngine
export(EIEngine, processEvent, handleEvent, runTriggerRules,
runStatusRules, runObservableRules, runContextRules,
runResetRules, mainLoop)
exportMethods(notifyListeners)
exportClasses(EIEngine)
export(doLoad, doRunrun)