useDynLib(Streamer, .registration=TRUE)

import(methods)

importFrom(BiocGenerics, lapply, sapply)

importClassesFrom(BiocGenerics, connection)

## only exported on unix
## importFrom(parallel, mccollect, mcparallel)

importClassesFrom(graph, graphNEL)

importFrom(graph, ftM2graphNEL)

importMethodsFrom(graph, numNodes, numEdges, nodes, edges, inEdges)

importFrom(RBGL, tsort)

exportPattern("^[^\\.]")

exportMethods(lapply, sapply)

exportClasses(
    Streamer,
    Stream,
    Producer,
        RawInput, Seq,
        FunctionProducer,
        ConnectionProducer,
    Consumer,
        RawToChar, Rev, Downsample, Reducer,
        FunctionConsumer,
        Team, ParallelParam, MulticoreParam,
        DAGTeam, DAGParam)