Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

basicdevicefactory.h File Reference

Base class to create device block used in a FreeConnectionSystem. More...

#include <string>
#include <iosfwd>
#include <map>
#include <simthetic/propertylist.h>

Go to the source code of this file.

Namespaces

namespace  simth

Functions

std::ostream & operator<< (std::ostream &os, const DeviceFactory::FactoryMap &fm)


Detailed Description

Base class to create device block used in a FreeConnectionSystem.

In this header the class BasicDeviceFactory is declared. In order to use device types as a dynamically loaded plugin, these classes operate as an indirection in the process of creating a Device. Each plugin module that defines a new device class, has to derive a new DeviceFactory that creates an instance of that device class. Hence, the function makedevicefactory() (that has to be defined also in a plugin module) will create an instance of that special device factory (that by itself will create by itself the special device defined in the module).


Function Documentation

std::ostream& operator<< std::ostream &  os,
const DeviceFactory::FactoryMap &  fm
 

For easy writing to output.


Generated on Mon Apr 24 21:19:19 2006 for simthetic by  doxygen 1.4.1