10using namespace ::
Binc;
14IOFactory::IOFactory(
void)
19IOFactory::~IOFactory(
void)
40 IOFactory::getInstance().devices[dev->
service()] = dev;
48 IOFactory &ioFactory = IOFactory::getInstance();
50 if (ioFactory.devices.find(
"client") != ioFactory.devices.end())
51 return *ioFactory.devices[
"client"];
61 IOFactory &ioFactory = IOFactory::getInstance();
63 if (ioFactory.devices.find(
"log") != ioFactory.devices.end())
64 return *ioFactory.devices[
"log"];
The IODevice class provides a framework for reading and writing to device.
virtual std::string service(void) const
Declaration of the IODevice class.
Declaration of the IOFactory class.