SockIt
Public Member Functions

PluginFactory Class Reference

List of all members.

Public Member Functions

FB::PluginCorePtr createPlugin (const string &mimetype)
void globalPluginInitialize ()
void globalPluginDeinitialize ()

Detailed Description

Definition at line 16 of file Factory.cpp.


Member Function Documentation

FB::PluginCorePtr PluginFactory::createPlugin ( const string &  mimetype) [inline]

Creates a plugin object matching the provided mimetype. If mimetype is empty, returns the default plugin.

Returns:
A plugin object matching the project's mimetype.

Definition at line 24 of file Factory.cpp.

        {
            return boost::make_shared<SockIt>();
        }
void PluginFactory::globalPluginDeinitialize ( ) [inline]

Performs global deinitialization, or destruction, of the plugin.

See also:
FB::FactoryBase::globalPluginDeinitialize

Definition at line 44 of file Factory.cpp.

References SockIt::StaticDeinitialize().

void PluginFactory::globalPluginInitialize ( ) [inline]

Performs one-time global initialization of the plugin.

See also:
FB::FactoryBase::globalPluginInitialize

Definition at line 34 of file Factory.cpp.

References SockIt::StaticInitialize().


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Friends Defines