PiPo
Plug In Plug Out / Plugin Interface for Processing Objects
PiPoCollection Class Reference

PiPoCollection class : contains all base PiPo classes (with ability to hide them from the outside world) and methods to register new PiPos and get PiPo chains. More...

#include <PiPoCollection.h>

Static Public Member Functions

static void deinit ()
 
static void init (bool defaultPipos=true)
 
static void addToCollection (std::string name, PiPoCreatorBase *creator)
 
static PiPocreate (std::string name)
 

Detailed Description

PiPoCollection class : contains all base PiPo classes (with ability to hide them from the outside world) and methods to register new PiPos and get PiPo chains.

#include "PiPoCollection.h"
// example : register a new non native PiPo :
PiPoCollection::init();
PiPoCollection::addToCollection("mypipo", new PiPoCreator<MyPiPo>);
PiPo *mychain = PiPoCollection::create("slice:mypipo");