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 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139
|
useDynLib("BiocParallel", .registration = TRUE)
import(methods)
importFrom(stats, setNames, terms, runif)
importFrom(utils, capture.output, find, head, tail, relist,
setTxtProgressBar, txtProgressBar)
importFrom(parallel, nextRNGStream, nextRNGSubStream)
importFrom(codetools, findGlobals)
### - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
### Export S4 classes
###
exportClass(
BiocParallelParam,
MulticoreParam,
SnowParam,
DoparParam,
SerialParam,
BatchtoolsParam,
BPValidate
)
### - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
### Export non-generic functions
###
export(
MulticoreParam, SnowParam, DoparParam, SerialParam,
BatchtoolsParam,
## register
register, registered, bpparam,
## accessor
bpnworkers,
## error handlers
bptry,
## accessor for the errors
bpresult,
## helpers
bploop, # worker, manager loops
multicoreWorkers, snowWorkers,
batchtoolsWorkers, batchtoolsCluster, batchtoolsRegistryargs,
batchtoolsTemplate,
bpvalidate, bpok, bperrorTypes,
bprunMPIworker,
## iteration
bpiterateAlong,
## ipcmutex
ipcid, ipcremove, ipclock, ipctrylock, ipcunlock, ipclocked,
ipcyield, ipcvalue, ipcreset,
bpoptions, .registerOption
)
### - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
### Export S4 generics and methods defined in BiocParallel
###
export(
bplapply, bpvec, bpvectorize, bpmapply, bpaggregate, bpiterate,
## bp-controls
bpworkers, "bpworkers<-", bpbackend, "bpbackend<-",
bptasks, "bptasks<-", bpjobname, "bpjobname<-",
bpstart, bpstop, bpisup,
bpstopOnError, "bpstopOnError<-",
bpprogressbar, "bpprogressbar<-", bpRNGseed, "bpRNGseed<-",
bptimeout, "bptimeout<-", bpexportglobals, "bpexportglobals<-",
bpexportvariables, "bpexportvariables<-",
bpforceGC, "bpforceGC<-",
bpfallback, "bpfallback<-",
bplog, "bplog<-", bplogdir, "bplogdir<-",
bpthreshold, "bpthreshold<-", bpresultdir, "bpresultdir<-",
## schedule
bpschedule
)
### Same list as above.
exportMethods(
bplapply, bpvec, bpvectorize, bpmapply, bpaggregate, bpiterate,
## bp-controls
bpworkers, "bpworkers<-", bpbackend, "bpbackend<-",
bptasks, "bptasks<-", bpjobname, "bpjobname<-",
bpstart, bpstop, bpisup,
bpstopOnError, "bpstopOnError<-",
bpprogressbar, "bpprogressbar<-", bpRNGseed, "bpRNGseed<-",
bptimeout, "bptimeout<-", bplog, "bplog<-", bplogdir, "bplogdir<-",
bpthreshold, "bpthreshold<-", bpresultdir, "bpresultdir<-",
## schedule
bpschedule
)
### - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
### Export S4 methods for generics not defined in BiocParallel
###
exportMethods(
show
)
### - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
### Export S3 methods
###
S3method(print, remote_error)
S3method(print, bplist_error)
S3method(bploop, lapply)
S3method(bploop, iterate)
### - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
### Export 'developer' API for extending BiocParallelParam
###
export(
.BiocParallelParam_prototype, .prototype_update, .prettyPath,
.send_to, .recv_any, .send, .recv, .close, .send_all, .recv_all,
.bpstart_impl, .bpstop_impl, .bpworker_impl,
.bplapply_impl, .bpiterate_impl,
.error_worker_comm,
.manager, .manager_send, .manager_recv,
.manager_send_all, .manager_recv_all,
.manager_capacity,
.manager_flush, .manager_cleanup,
.task_const, .task_dynamic, .task_remake
)
|