ClassLibrary.h File Reference

#include "Poco/Foundation.h"
#include "Poco/Manifest.h"
#include <typeinfo>
Include dependency graph for ClassLibrary.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define POCO_BEGIN_MANIFEST(base)   POCO_BEGIN_MANIFEST_IMPL(pocoBuildManifest, base)
#define POCO_BEGIN_MANIFEST_IMPL(fnName, base)
#define POCO_BEGIN_NAMED_MANIFEST(name, base)
#define POCO_DECLARE_NAMED_MANIFEST(name)
#define POCO_END_MANIFEST
#define POCO_EXPORT_CLASS(cls)   pManifest->insert(new Poco::MetaObject<cls, _Base>(#cls));
#define POCO_EXPORT_SINGLETON(cls)   pManifest->insert(new Poco::MetaSingleton<cls, _Base>(#cls));
#define POCO_LIBRARY_API

Functions

bool POCO_LIBRARY_API pocoBuildManifest (Poco::ManifestBase *pManifest)
void POCO_LIBRARY_API pocoInitializeLibrary ()
void POCO_LIBRARY_API pocoUninitializeLibrary ()

Define Documentation

#define POCO_BEGIN_MANIFEST ( base   )     POCO_BEGIN_MANIFEST_IMPL(pocoBuildManifest, base)

Definition at line 99 of file ClassLibrary.h.

#define POCO_BEGIN_MANIFEST_IMPL ( fnName,
base   ) 
Value:
bool fnName(Poco::ManifestBase* pManifest_)                                                                             \
        {                                                                                                                                                               \
                typedef base _Base;                                                                                                                     \
                typedef Poco::Manifest<_Base> _Manifest;                                                                        \
                std::string requiredType(typeid(_Manifest).name());                                                     \
                std::string actualType(pManifest_->className());                                                        \
                if (requiredType == actualType)                                                                                         \
                {                                                                                                                                                       \
                        Poco::Manifest<_Base>* pManifest = static_cast<_Manifest*>(pManifest_);

Definition at line 87 of file ClassLibrary.h.

#define POCO_BEGIN_NAMED_MANIFEST ( name,
base   ) 
Value:

Definition at line 103 of file ClassLibrary.h.

#define POCO_DECLARE_NAMED_MANIFEST ( name   ) 
Value:
extern "C"      \
{                       \
        bool POCO_LIBRARY_API POCO_JOIN(pocoBuildManifest, name)(Poco::ManifestBase* pManifest); \
}

Definition at line 69 of file ClassLibrary.h.

#define POCO_END_MANIFEST
Value:
return true;    \
                }                                       \
                else return false;      \
        }

Definition at line 108 of file ClassLibrary.h.

#define POCO_EXPORT_CLASS ( cls   )     pManifest->insert(new Poco::MetaObject<cls, _Base>(#cls));

Definition at line 115 of file ClassLibrary.h.

#define POCO_EXPORT_SINGLETON ( cls   )     pManifest->insert(new Poco::MetaSingleton<cls, _Base>(#cls));

Definition at line 119 of file ClassLibrary.h.

#define POCO_LIBRARY_API

Definition at line 51 of file ClassLibrary.h.


Function Documentation

bool POCO_LIBRARY_API pocoBuildManifest ( Poco::ManifestBase pManifest  ) 
void POCO_LIBRARY_API pocoInitializeLibrary (  ) 
void POCO_LIBRARY_API pocoUninitializeLibrary (  ) 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


pluginlib
Author(s): Tully Foote and Eitan Marder-Eppstein
autogenerated on Fri Jan 11 11:38:46 2013