BazisLib::Linux::BasicCharacterDevice::Initializer Class Reference

Initializes BasicCharacterDevice::m_FileOperations. More...

List of all members.

Public Member Functions

__bzslib_extern Initializer ()


Detailed Description

Initializes BasicCharacterDevice::m_FileOperations.

This class serves for one simple purpose. Its static instance inside BasicCharacterDevice initializes the static m_FileOperations field. This technique was used instead of simple static field initialization to simplify creation of child device classes. A typical generic subclass (subclass that presents some device type, like device with asynchronous IO support, rather than an exact device) should initialize its operations field by calling BasicCharacterDevice::InitializeFileOperations() and then adding its handlers to the structure.


Constructor & Destructor Documentation

__bzslib_extern BazisLib::Linux::BasicCharacterDevice::Initializer::Initializer (  )  [inline]

Here is the call graph for this function:


The documentation for this class was generated from the following file:
SourceForge.net Logo