Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

LOW_portSerialFactory Class Reference

Factory class for platform specific objects of LOW_portSerial. More...

#include <LOW_portSerialFactory.h>

List of all members.

Static Public Methods

LOW_portSerialnew_portSerial (const portSpecifier_t inPortSpec)
 Platform aware replacement for creating dynamic instances of LOW_portSerial. More...


Private Methods

 LOW_portSerialFactory ()
 Constructor. More...

virtual ~LOW_portSerialFactory ()
 Destructor. More...


Detailed Description

Factory class for platform specific objects of LOW_portSerial.

This class also contains platform specific type definitions.

This class is thread-safe.

See also:
LOW_portSerial
Author:
Harald Roelle

Definition at line 38 of file LOW_portSerialFactory.h.


Constructor & Destructor Documentation

LOW_portSerialFactory::LOW_portSerialFactory   [private]
 

Constructor.

Private to prevent instaciation as this is a static factory.

Definition at line 28 of file LOW_portSerialFactory.cpp.

LOW_portSerialFactory::~LOW_portSerialFactory   [private, virtual]
 

Destructor.

Private to prevent instaciation as this is a static factory.

Definition at line 33 of file LOW_portSerialFactory.cpp.


Member Function Documentation

LOW_portSerial * LOW_portSerialFactory::new_portSerial const portSpecifier_t    inPortSpec [static]
 

Platform aware replacement for creating dynamic instances of LOW_portSerial.

Parameters:
inPortSpec  Unique identifier for new serial port instance.
Returns:
Pointer to new instance of LOW_portSerial.

Definition at line 43 of file LOW_portSerialFactory.cpp.

Referenced by LOW_linkDS2480B::LOW_linkDS2480B(), and LOW_linkPassiveSerial::LOW_linkPassiveSerial().


The documentation for this class was generated from the following files:
Generated on Mon Nov 10 10:32:51 2003 by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001