Create BinBuilder.java

Description

We need a set of classes to build pipeline bins based on the kind of device we are accessing. Stub these out and provide a baseline implementations for each of them based on current code.

/**

  • Builds collections of gstreamer elements
    */
    abstract BinBuilder{

//returns all of the src pads that have been ghosted for this bin
public ArrayList<Element> getSrcPads(){
}

//returns all of the sink pads that have been ghosted for this bin
public ArrayList<Element> getSinkPads(){
}
}

/**

  • Generic high level builder that builds bins from v4l devices.
    */
    class V4lDeviceBuilder extends BinBuilder{

}

/**

  • Generic high level builder that builds bins from file devices
    */
    class FileDeviceBuilder extends BinBuilder{
    }

/**

  • Builder for alsa sources
    */
    class AlsaDeviceBuilder extends BinBuilder{
    }

Status

Assignee

Adam McKenzie

Reporter

Christopher Brooks

Tags (folksonomy)

Time tracking

12h

Components

Fix versions

Affects versions

Priority

Minor
Configure