bbtkPackage.h File Reference

Class bbtk::Package : registers black boxes descriptors and is able to create instances of the black boxes registered. More...

#include "bbtkBlackBox.h"
#include "bbtkDynamicLibraryHandling.h"

Include dependency graph for bbtkPackage.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  bbtk

Classes

class  bbtk::Package
 registers black boxes descriptors and is able to create instances of the black boxes registered. More...
class  bbtk::Package::AdaptorKey
 The type of key in the map of adaptor descriptors. More...

Defines

#define BBTK_PACKAGE_EXPORT
#define BBTK_GET_PACKAGE_FUNCTION_NAME   GetPackage
#define BBTK_DEL_PACKAGE_FUNCTION_NAME   DeletePackage
#define BBTK_GET_PACKAGE_BBTK_VERSION_FUNCTION_NAME   GetPackageBBTKVersion
#define BBTK_DECLARE_PACKAGE(NAME)
#define BBTK_IMPLEMENT_PACKAGE(NAME, AUTHOR, DESCRIPTION, VERSION)
#define BBTK_ADD_BLACK_BOX_TO_PACKAGE(NAME, CLASS)
#define BBTK_ADD_TEMPLATE_BLACK_BOX_TO_PACKAGE(NAME, CLASS, TEMPLATE_PARAM)
#define BBTK_ADD_TEMPLATE2_BLACK_BOX_TO_PACKAGE(NAME, CLASS, T1, T2)


Detailed Description

Class bbtk::Package : registers black boxes descriptors and is able to create instances of the black boxes registered.

Definition in file bbtkPackage.h.


Define Documentation

#define BBTK_ADD_BLACK_BOX_TO_PACKAGE ( NAME,
CLASS   ) 

Value:

bool bbDummy##NAME##CLASS = NAME ## GetPackage ()       \
    ->RegisterBlackBox(CLASS ## Descriptor::Instance());

Definition at line 370 of file bbtkPackage.h.

#define BBTK_ADD_TEMPLATE2_BLACK_BOX_TO_PACKAGE ( NAME,
CLASS,
T1,
T2   ) 

Value:

bool bbDummy##NAME##CLASS##T1##T2 = NAME ## GetPackage ()               \
    ->RegisterBlackBox(CLASS ## Descriptor <T1,T2>::Instance());

Definition at line 382 of file bbtkPackage.h.

#define BBTK_ADD_TEMPLATE_BLACK_BOX_TO_PACKAGE ( NAME,
CLASS,
TEMPLATE_PARAM   ) 

Value:

bool bbDummy##NAME##CLASS##TEMPLATE_PARAM = NAME ## GetPackage ()       \
    ->RegisterBlackBox(CLASS ## Descriptor <TEMPLATE_PARAM>::Instance());

Definition at line 376 of file bbtkPackage.h.

#define BBTK_DECLARE_PACKAGE ( NAME   ) 

Value:

extern "C"                                                              \
  {                                                                     \
    bbtk::Package::Pointer& NAME ## GetPackagePointer();                \
    BBTK_PACKAGE_EXPORT                                                 \
    void BBTK_CDECL NAME ## DeletePackage ();           \
    BBTK_PACKAGE_EXPORT bbtk::Package::Pointer                          \
    BBTK_CDECL NAME ## GetPackage ();           \
    BBTK_PACKAGE_EXPORT const std::string&                              \
    BBTK_CDECL NAME ## GetPackageBBTKVersion ();        \
  }

Definition at line 307 of file bbtkPackage.h.

#define BBTK_DEL_PACKAGE_FUNCTION_NAME   DeletePackage

Definition at line 301 of file bbtkPackage.h.

Referenced by bbtk::Package::OpenDynamicLibrary().

#define BBTK_GET_PACKAGE_BBTK_VERSION_FUNCTION_NAME   GetPackageBBTKVersion

Definition at line 302 of file bbtkPackage.h.

Referenced by bbtk::Package::OpenDynamicLibrary().

#define BBTK_GET_PACKAGE_FUNCTION_NAME   GetPackage

Definition at line 300 of file bbtkPackage.h.

Referenced by bbtk::Package::OpenDynamicLibrary().

#define BBTK_IMPLEMENT_PACKAGE ( NAME,
AUTHOR,
DESCRIPTION,
VERSION   ) 

Definition at line 321 of file bbtkPackage.h.

#define BBTK_PACKAGE_EXPORT

Definition at line 296 of file bbtkPackage.h.


Generated on Wed Nov 12 11:37:54 2008 for BBTK by  doxygen 1.5.6