PWLib  1.10.10
Classes | Defines
pfactory.h File Reference
#include <ptlib.h>
#include <string>
#include <map>
#include <vector>

Go to the source code of this file.

Classes

class  PFactoryBase
class  PFactoryBase::FactoryMap
class  PFactory< _Abstract_T, _Key_T >
class  PFactory< _Abstract_T, _Key_T >::WorkerBase
class  PFactory< _Abstract_T, _Key_T >::Worker< _Concrete_T >

Defines

#define PLOAD_FACTORY_DECLARE(AbstractType, KeyType)   namespace PWLibFactoryLoader { extern int AbstractType##_##KeyType; }
#define PLOAD_FACTORY(AbstractType, KeyType)   PWLibFactoryLoader::AbstractType##_##KeyType = 1;
#define PINSTANTIATE_FACTORY(AbstractType, KeyType)   namespace PWLibFactoryLoader { int AbstractType##_##KeyType; };

Define Documentation

#define PINSTANTIATE_FACTORY (   AbstractType,
  KeyType 
)    namespace PWLibFactoryLoader { int AbstractType##_##KeyType; };
#define PLOAD_FACTORY (   AbstractType,
  KeyType 
)    PWLibFactoryLoader::AbstractType##_##KeyType = 1;
#define PLOAD_FACTORY_DECLARE (   AbstractType,
  KeyType 
)    namespace PWLibFactoryLoader { extern int AbstractType##_##KeyType; }