|
|
## Implement your own P&F flavoured architecture
|
|
|
|
|
|
So... you want to use the TeeTime framework to implement your own P&F architectures, eh?
|
|
|
If you are reading this, you may expect some kind of step-by-step tutorial or such... and yes, this is the right place to look for it!
|
|
|
|
|
|
|
|
|
As a simple introduction, we will implement an architecture which counts all files in a given directory.
|
|
|
In order to work with TeeTime you need to make sure it is added to your project. Further assistance on doing so can be found in the download section.
|
|
|
|
|
|
|
|
|
### Logic Segregation
|
|
|
|
|
|
The Pipe&Filter architecture is well known for its capability to divide work into disjoint steps.
|
|
|
As - for example - a car manufacturer which divides the assembly of a new car into different steps to increase efficiency and throughput, we will also follow this guideline in our work with TeeTime.
|
|
|
As a first step, we need to find out which steps are run by a "File Counter".
|
|
|
|