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 Member Functions

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


Private Member Functions

 LOW_portSerialFactory ()
 Constructor.

virtual ~LOW_portSerialFactory ()
 Destructor.


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 Tue Feb 3 11:31:06 2004 for OneWireLibrary++ by doxygen 1.3.2