Skip to content
Richard G. Clegg edited this page Aug 3, 2015 · 6 revisions

Files needing to be output

New application called Wibble

WibbleTask1.cpp

  • generated by Nik code
  • process method
  • reset method
  • createTask (completely boiler-plate code)
Task *WibbleTask1::createTask(TaskGraph *tg) {
  return new WibbleTask1(tg);
}

WibbleTask1.h

  • generated by Nik code
  • various #includes
  • constructor contains task type MANY_TO_ONE etc
  • function prototypes

Possible other tasks e.g. WibbleTask2.cpp WibbleTask2.h

Not yet clear how to split into tasks

WibbleApplication.cpp

  • generated by Nik code
  • constructor (sets up task graph)
  • connectInput (can have complex logic for connecting to tree etc)

WibbleApplication.h

  • generated by Nik code
  • various #includes
  • function prototypes
  • variables for any local/global state for task
  • destructor (empty)

WibbleData.h

  • generated by Eric code -- struct for data

WibbleData.cpp

  • generated by Eric code
  • five data model functions

WibbleInputTask.h

  • generated by Eric code -- completely standard boiler plate

WibbleInputTask.cpp

  • generated by Eric code -- completely standard boiler plate

WibbleOutputTask.h

  • generated by Eric code -- completely standard boiler plate

WibbleOutputTask.cpp

  • generated by Eric code -- completely standard boiler plate