bbtkAtomicBlackBoxMacros.h File Reference

Defines macros for the creation of new user black boxes. More...

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

Go to the source code of this file.

Defines

#define BBTK_BLACK_BOX_INTERFACE_INTERNAL_WITHOUT_NEW(CLASS, PARENT)
#define BBTK_BLACK_BOX_INTERFACE_INTERNAL(CLASS, PARENT)
#define BBTK_BLACK_BOX_INTERFACE(CLASS, PARENT)
#define BBTK_BLACK_BOX_INTERFACE_WITHOUT_NEW(CLASS, PARENT)
#define BBTK_PROCESS(CALLBACK)
 Defines the bbUserProcess method.
#define BBTK_DECLARE_INPUT(NAME, TYPE)
 Declares a new AtomicBlackBox input (to be put in the class interface).
#define BBTK_DECLARE_OUTPUT(NAME, TYPE)
 Declares a new AtomicBlackBox output (to be put in the class interface).
#define BBTK_DECLARE_INHERITED_INPUT(NAME, TYPE, GETMETHOD, SETMETHOD)
 Declares an inherited AtomicBlackBox input (to be put in the class interface).
#define BBTK_DECLARE_INHERITED_OUTPUT(NAME, TYPE, GETMETHOD, SETMETHOD)
 Declares an inherited AtomicBlackBox output (to be put in the class interface).
#define BBTK_BEGIN_BLACK_BOX_CONSTRUCTOR(CLASS, ALLOC)
#define BBTK_END_BLACK_BOX_CONSTRUCTOR(CLASS)
#define BBTK_BEGIN_BLACK_BOX_COPY_CONSTRUCTOR(CLASS, FROM, ALLOC)
#define BBTK_END_BLACK_BOX_COPY_CONSTRUCTOR(CLASS, FROM, ALLOC)
#define BBTK_BEGIN_BLACK_BOX_DESTRUCTOR(CLASS)
#define BBTK_END_BLACK_BOX_DESTRUCTOR(CLASS)
#define BBTK_BLACK_BOX_IMPLEMENTATION(CLASS, PARENT)
 AtomicBlackBox std implementation of ctor and dtor.
#define BBTK_BEGIN_DESCRIBE_BLACK_BOX_BODY(CLASS)
 Begins the AtomicBlackBox description block.
#define BBTK_BEGIN_DESCRIBE_BLACK_BOX(CLASS, PARENT)
 Begins the AtomicBlackBox description block.
#define BBTK_END_DESCRIBE_BLACK_BOX(CLASS)
 Ends the AtomicBlackBox description block.
#define BBTK_NAME(NAME)   SetTypeName(NAME)
 Declares the name of a AtomicBlackBox (to be put inside the UBB description block).
#define BBTK_AUTHOR(AUTHOR)   AddToAuthor(AUTHOR)
 Declares the author of a AtomicBlackBox (to be put inside the UBB description block).
#define BBTK_CATEGORY(CATEGORY)   AddToCategory(CATEGORY)
 Declares the categories of a AtomicBlackBox (to be put inside the UBB description block).
#define BBTK_DESCRIPTION(DESCR)   AddToDescription(DESCR)
 Declares the description of a AtomicBlackBox (to be put inside the UBB description block).
#define BBTK_ADAPTOR()
 Declares the kind of a AtomicBlackBox (to be put inside the UBB description block).
#define BBTK_DEFAULT_ADAPTOR()
 Declares that the AtomicBlackBox is the default adaptor of the package (to be put inside the UBB description block).
#define BBTK_INPUT(CLASS, NAME, DESCR, TYPE, NATURE)
 Describes a AtomicBlackBox input (to be put inside the UBB description block).
#define BBTK_OUTPUT(CLASS, NAME, DESCR, TYPE, NATURE)
 Describes a AtomicBlackBox output (to be put inside the UBB description block).
#define BBTK_INPUT_NOCOPY(CLASS, NAME, DESCR, TYPE, NATURE)
 Describes a AtomicBlackBox input (to be put inside the UBB description block).
#define BBTK_OUTPUT_NOCOPY(CLASS, NAME, DESCR, TYPE, NATURE)
 Describes a AtomicBlackBox output (to be put inside the UBB description block).
#define BBTK_TEMPLATE_BLACK_BOX_INTERFACE(CLASS, PARENT, T)
#define BBTK_BEGIN_DESCRIBE_TEMPLATE_BLACK_BOX(CLASS, PARENT)
 Begins a template AtomicBlackBox of template param T description block.
#define BBTK_END_DESCRIBE_TEMPLATE_BLACK_BOX(CLASS)
 Ends a template AtomicBlackBox of template param T description block.
#define BBTK_TEMPLATE_INPUT(CLASS, NAME, DESCR, TYPE)
 Describes a template AtomicBlackBox input (to be put inside the template UBB description block).
#define BBTK_TEMPLATE_OUTPUT(CLASS, NAME, DESCR, TYPE)
 Describes a template AtomicBlackBox output (to be put inside the template UBB description block).
#define BBTK_BLACK_BOX_TEMPLATE_IMPLEMENTATION(CLASS, PARENT)
 Template AtomicBlackBox std implementation of ctor and dtor.
#define BBTK_TEMPLATE2_BLACK_BOX_INTERFACE(CLASS, PARENT, T1, T2)
#define BBTK_BEGIN_DESCRIBE_TEMPLATE2_BLACK_BOX(CLASS, PARENT)
 Begins a template AtomicBlackBox description block of template param T1 and T2.
#define BBTK_END_DESCRIBE_TEMPLATE2_BLACK_BOX(CLASS)
 Ends a template AtomicBlackBox description block of template param T1 and T2.
#define BBTK_TEMPLATE2_INPUT(CLASS, NAME, DESCR, TYPE)
 Describes a 2 template params AtomicBlackBox input (to be put inside the UBB description block).
#define BBTK_TEMPLATE2_OUTPUT(CLASS, NAME, DESCR, TYPE)
 Describes a 2 template params AtomicBlackBox output (to be put inside the UBB description block).
#define BBTK_BLACK_BOX_TEMPLATE2_IMPLEMENTATION(CLASS, PARENT)
 Template AtomicBlackBox std implementation of ctor and dtor.


Detailed Description

Defines macros for the creation of new user black boxes.

Definition in file bbtkAtomicBlackBoxMacros.h.


Define Documentation

 
#define BBTK_ADAPTOR (  ) 

Value:

SetKind(bbtk::BlackBoxDescriptor::ADAPTOR); \
  AddToCategory("adaptor")
Declares the kind of a AtomicBlackBox (to be put inside the UBB description block).

Declares that the AtomicBlackBox is an adaptor (to be put inside the UBB description block)

Definition at line 382 of file bbtkAtomicBlackBoxMacros.h.

#define BBTK_AUTHOR ( AUTHOR   )     AddToAuthor(AUTHOR)

Declares the author of a AtomicBlackBox (to be put inside the UBB description block).

Definition at line 362 of file bbtkAtomicBlackBoxMacros.h.

#define BBTK_BEGIN_BLACK_BOX_CONSTRUCTOR ( CLASS,
ALLOC   ) 

Value:

bbtkBlackBoxDebugMessage("object",2,"==> "<<#CLASS<<"::"<<#CLASS        \
                           <<"()"<<std::endl);                          \
  if (ALLOC)                                                            \
    {                                                                   \
      bbLockDescriptor();                                               \
      bbAllocateConnectors();                                           \
    }

Definition at line 205 of file bbtkAtomicBlackBoxMacros.h.

#define BBTK_BEGIN_BLACK_BOX_COPY_CONSTRUCTOR ( CLASS,
FROM,
ALLOC   ) 

Value:

bbtkBlackBoxDebugMessage("object",2,"==> "<<#CLASS<<"::"<<#CLASS        \
                           <<"("<<FROM.bbGetFullName()                  \
                           <<")"<<std::endl);                           \
  if (ALLOC)                                                            \
    {                                                                   \
      bbLockDescriptor();                                               \
      bbAllocateConnectors();                                           \
    }

Definition at line 223 of file bbtkAtomicBlackBoxMacros.h.

#define BBTK_BEGIN_BLACK_BOX_DESTRUCTOR ( CLASS   ) 

Value:

bbtkBlackBoxDebugMessage("object",2,"==> "<<#CLASS <<"::~"<< #CLASS     \
                           <<"()"<<std::endl); \
  bbFinalizeProcessing();

Definition at line 246 of file bbtkAtomicBlackBoxMacros.h.

#define BBTK_BEGIN_DESCRIBE_BLACK_BOX ( CLASS,
PARENT   ) 

Value:

class /*BBTK_EXPORT*/ CLASS ## Descriptor : public PARENT ## Descriptor \
  BBTK_BEGIN_DESCRIBE_BLACK_BOX_BODY(CLASS);
Begins the AtomicBlackBox description block.

Definition at line 340 of file bbtkAtomicBlackBoxMacros.h.

#define BBTK_BEGIN_DESCRIBE_BLACK_BOX_BODY ( CLASS   ) 

Begins the AtomicBlackBox description block.

Definition at line 294 of file bbtkAtomicBlackBoxMacros.h.

#define BBTK_BEGIN_DESCRIBE_TEMPLATE2_BLACK_BOX ( CLASS,
PARENT   ) 

Begins a template AtomicBlackBox description block of template param T1 and T2.

Definition at line 597 of file bbtkAtomicBlackBoxMacros.h.

#define BBTK_BEGIN_DESCRIBE_TEMPLATE_BLACK_BOX ( CLASS,
PARENT   ) 

Begins a template AtomicBlackBox of template param T description block.

Definition at line 466 of file bbtkAtomicBlackBoxMacros.h.

#define BBTK_BLACK_BOX_IMPLEMENTATION ( CLASS,
PARENT   ) 

Value:

CLASS::CLASS(const std::string& name, bool allocate_connectors) \
    : PARENT(name,false)                                                \
  {                                                                     \
    BBTK_BEGIN_BLACK_BOX_CONSTRUCTOR(CLASS,allocate_connectors);        \
    CLASS::bbUserSetDefaultValues();                                            \
    BBTK_END_BLACK_BOX_CONSTRUCTOR(CLASS);                              \
  }                                                                     \
  CLASS::CLASS(CLASS& from,                                             \
               const std::string& name, bool allocate_connectors)       \
    : PARENT(from,name,false)                                           \
  {                                                                     \
    BBTK_BEGIN_BLACK_BOX_COPY_CONSTRUCTOR(CLASS,from,allocate_connectors); \
    CLASS::bbUserSetDefaultValues();                                            \
    BBTK_END_BLACK_BOX_COPY_CONSTRUCTOR(CLASS,from,allocate_connectors);                        \
  }                                                                     \
  CLASS::~CLASS()                                                       \
  {                                                                     \
    BBTK_BEGIN_BLACK_BOX_DESTRUCTOR(CLASS);                             \
    BBTK_END_BLACK_BOX_DESTRUCTOR(CLASS);                               \
  }                                                                     \
  void CLASS::bbLockDescriptor()                                        \
  {                                                                     \
    bbmDescriptorPointer = CLASS ## Descriptor::Instance();             \
  }
AtomicBlackBox std implementation of ctor and dtor.

Definition at line 264 of file bbtkAtomicBlackBoxMacros.h.

#define BBTK_BLACK_BOX_INTERFACE ( CLASS,
PARENT   ) 

Value:

public : typedef CLASS Self;                            \
  BBTK_BLACK_BOX_INTERFACE_INTERNAL(CLASS,PARENT);

Definition at line 129 of file bbtkAtomicBlackBoxMacros.h.

#define BBTK_BLACK_BOX_INTERFACE_INTERNAL ( CLASS,
PARENT   ) 

Declares the standard interface of a AtomicBlackBox (ctor, New, descriptor related methods)

Definition at line 78 of file bbtkAtomicBlackBoxMacros.h.

#define BBTK_BLACK_BOX_INTERFACE_INTERNAL_WITHOUT_NEW ( CLASS,
PARENT   ) 

Value:

BBTK_OBJECT_MINIMAL_INTERFACE;                                  \
  private:                                                              \
  protected:                                                            \
  CLASS(const std::string& name, bool allocate_connectors = true);      \
  CLASS(Self& from, const std::string& name,                            \
        bool allocate_connectors = true);                               \
  ~CLASS();                                                             \
  public:                                                               \
  std::string GetObjectName() const                                     \
  { return std::string(#CLASS)+std::string(" '")                        \
      +bbGetNameWithParent()+std::string("'"); }                        \
  virtual void bbLockDescriptor();                                      \
  virtual void bbUserSetDefaultValues();                                \
  virtual void bbUserInitializeProcessing();                            \
  virtual void bbUserFinalizeProcessing();                              \
  virtual void bbRecursiveInitializeProcessing()                        \
  {                                                                     \
    PARENT::bbRecursiveInitializeProcessing();                          \
    CLASS::bbUserInitializeProcessing();                                \
  }                                                                     \
  virtual void bbRecursiveFinalizeProcessing()                          \
  {                                                                     \
    CLASS::bbUserFinalizeProcessing();                                  \
    PARENT::bbRecursiveFinalizeProcessing();                            \
  }                                                                     \
  private:                                                              \
  CLASS() : PARENT("") {}                                               \
  CLASS(const CLASS&) : PARENT("") {}
Declares the standard interface of a AtomicBlackBox (ctor, New, descriptor related methods)

Definition at line 43 of file bbtkAtomicBlackBoxMacros.h.

#define BBTK_BLACK_BOX_INTERFACE_WITHOUT_NEW ( CLASS,
PARENT   ) 

Value:

public : typedef CLASS Self;                            \
  BBTK_BLACK_BOX_INTERFACE_INTERNAL_WITHOUT_NEW(CLASS,PARENT);

Definition at line 135 of file bbtkAtomicBlackBoxMacros.h.

#define BBTK_BLACK_BOX_TEMPLATE2_IMPLEMENTATION ( CLASS,
PARENT   ) 

Value:

template <class T1, class T2>                                           \
  CLASS<T1,T2>::CLASS(const std::string& name, bool alloc)              \
    : PARENT(name,false)                                                \
  {                                                                     \
    BBTK_BEGIN_BLACK_BOX_CONSTRUCTOR(CLASS,alloc);                      \
    CLASS<T1,T2>::bbUserSetDefaultValues();                             \
    BBTK_END_BLACK_BOX_CONSTRUCTOR(CLASS);                              \
  }                                                                     \
  template <class T1, class T2>                                         \
  CLASS<T1,T2>::CLASS(CLASS<T1,T2>& from,                               \
                      const std::string& name, bool allocate_connectors) \
    : PARENT(from,name,false)                                           \
  {                                                                     \
    BBTK_BEGIN_BLACK_BOX_COPY_CONSTRUCTOR(CLASS,from,allocate_connectors); \
    CLASS<T1,T2>::bbUserSetDefaultValues();                             \
    BBTK_END_BLACK_BOX_COPY_CONSTRUCTOR(CLASS,from,allocate_connectors);                        \
  }                                                                     \
  template <class T1, class T2>                                         \
  CLASS<T1,T2>::~CLASS()                                                \
  {                                                                     \
    BBTK_BEGIN_BLACK_BOX_DESTRUCTOR(CLASS);                             \
    BBTK_END_BLACK_BOX_DESTRUCTOR(CLASS);                               \
  }                                                                     \
  template <class T1, class T2>                                         \
  void CLASS<T1,T2>::bbLockDescriptor()                                 \
  {                                                                     \
    bbmDescriptorPointer = CLASS ## Descriptor<T1,T2>::Instance();      \
  }
Template AtomicBlackBox std implementation of ctor and dtor.

Definition at line 726 of file bbtkAtomicBlackBoxMacros.h.

#define BBTK_BLACK_BOX_TEMPLATE_IMPLEMENTATION ( CLASS,
PARENT   ) 

Value:

template <class T>                                                      \
  CLASS<T>::CLASS(const std::string& name, bool alloc)                  \
    : PARENT(name,false)                                                \
  {                                                                     \
    BBTK_BEGIN_BLACK_BOX_CONSTRUCTOR(CLASS,alloc);                      \
    CLASS<T>::bbUserSetDefaultValues();                                 \
    BBTK_END_BLACK_BOX_CONSTRUCTOR(CLASS);                              \
  }                                                                     \
  template <class T>                                                    \
  CLASS<T>::CLASS(CLASS<T>& from,                                       \
                  const std::string& name, bool allocate_connectors)    \
    : PARENT(from,name,false)                                           \
  {                                                                     \
    BBTK_BEGIN_BLACK_BOX_COPY_CONSTRUCTOR(CLASS,from,allocate_connectors); \
    CLASS<T>::bbUserSetDefaultValues();                                 \
    BBTK_END_BLACK_BOX_COPY_CONSTRUCTOR(CLASS,from,allocate_connectors);                        \
  }                                                                     \
  template <class T>                                                    \
  CLASS<T>::~CLASS()                                                    \
  {                                                                     \
    BBTK_BEGIN_BLACK_BOX_DESTRUCTOR(CLASS);                             \
    BBTK_END_BLACK_BOX_DESTRUCTOR(CLASS);                               \
  }                                                                     \
  template <class T>                                                    \
  void CLASS<T>::bbLockDescriptor()                                     \
  {                                                                     \
    bbmDescriptorPointer = CLASS ## Descriptor<T>::Instance();          \
  }
Template AtomicBlackBox std implementation of ctor and dtor.

Definition at line 552 of file bbtkAtomicBlackBoxMacros.h.

#define BBTK_CATEGORY ( CATEGORY   )     AddToCategory(CATEGORY)

Declares the categories of a AtomicBlackBox (to be put inside the UBB description block).

Definition at line 367 of file bbtkAtomicBlackBoxMacros.h.

#define BBTK_DECLARE_INHERITED_INPUT ( NAME,
TYPE,
GETMETHOD,
SETMETHOD   ) 

Value:

public:                                                         \
  TYPE bbGetInput##NAME ()                                              \
  { return GETMETHOD(); }                                               \
  void bbSetInput##NAME (TYPE d)                                        \
  { SETMETHOD(d);                                                       \
    /*bbSetModifiedStatus();*/ }
Declares an inherited AtomicBlackBox input (to be put in the class interface).

Definition at line 182 of file bbtkAtomicBlackBoxMacros.h.

#define BBTK_DECLARE_INHERITED_OUTPUT ( NAME,
TYPE,
GETMETHOD,
SETMETHOD   ) 

Value:

public:                                                         \
  TYPE bbGetOutput##NAME () const                                       \
  { return GETMETHOD(); }                                               \
  void bbSetOutput##NAME (TYPE d)                                       \
  { SETMETHOD(d); }
Declares an inherited AtomicBlackBox output (to be put in the class interface).

Definition at line 194 of file bbtkAtomicBlackBoxMacros.h.

#define BBTK_DECLARE_INPUT ( NAME,
TYPE   ) 

Value:

protected:                                                              \
  TYPE bbmInput##NAME;                                                  \
  public:                                                               \
  TYPE bbGetInput##NAME ()                                              \
  { return bbmInput##NAME; }                                            \
  void bbSetInput##NAME (TYPE d)                                        \
  { bbmInput##NAME = d;                                                 \
    /*bbSetModifiedStatus();*/ }
Declares a new AtomicBlackBox input (to be put in the class interface).

Definition at line 157 of file bbtkAtomicBlackBoxMacros.h.

#define BBTK_DECLARE_OUTPUT ( NAME,
TYPE   ) 

Value:

protected:                                                              \
  TYPE bbmOutput##NAME;                                                 \
  public:                                                               \
  TYPE bbGetOutput##NAME ()                                             \
  { return bbmOutput##NAME; }                                           \
  void  bbSetOutput##NAME (TYPE d)                                      \
  { bbmOutput##NAME = d; }
Declares a new AtomicBlackBox output (to be put in the class interface).

Definition at line 170 of file bbtkAtomicBlackBoxMacros.h.

 
#define BBTK_DEFAULT_ADAPTOR (  ) 

Value:

SetKind(bbtk::BlackBoxDescriptor::DEFAULT_ADAPTOR);     \
  AddToCategory("adaptor")
Declares that the AtomicBlackBox is the default adaptor of the package (to be put inside the UBB description block).

Definition at line 389 of file bbtkAtomicBlackBoxMacros.h.

#define BBTK_DESCRIPTION ( DESCR   )     AddToDescription(DESCR)

Declares the description of a AtomicBlackBox (to be put inside the UBB description block).

Definition at line 372 of file bbtkAtomicBlackBoxMacros.h.

#define BBTK_END_BLACK_BOX_CONSTRUCTOR ( CLASS   ) 

Value:

bbtkBlackBoxDebugMessage("object",2,"<== "<<#CLASS<<"::"<<#CLASS        \
                           <<"()"<<std::endl);

Definition at line 217 of file bbtkAtomicBlackBoxMacros.h.

#define BBTK_END_BLACK_BOX_COPY_CONSTRUCTOR ( CLASS,
FROM,
ALLOC   ) 

Value:

bbtkBlackBoxDebugMessage("object",2,"<== "<<#CLASS<<"::"<<#CLASS        \
                           <<"("<<FROM.bbGetFullName()                  \
                           <<")"<<std::endl);                           \
  if (ALLOC)                                                            \
    {                                                                   \
      bbCopyIOValues(FROM);                                             \
    }

Definition at line 235 of file bbtkAtomicBlackBoxMacros.h.

#define BBTK_END_BLACK_BOX_DESTRUCTOR ( CLASS   ) 

Value:

bbtkBlackBoxDebugMessage("object",2,"<== "<<#CLASS <<"::~"<< #CLASS     \
                           <<"()"<<std::endl);

Definition at line 255 of file bbtkAtomicBlackBoxMacros.h.

#define BBTK_END_DESCRIBE_BLACK_BOX ( CLASS   ) 

Value:

bbtkDebugMessage("object",2,"<== "<<#CLASS<<"Descriptor::"              \
                   <<#CLASS<<"Descriptor()"<<std::endl);                \
  }                                                                     \
  };                                                                    \
Ends the AtomicBlackBox description block.

Definition at line 346 of file bbtkAtomicBlackBoxMacros.h.

#define BBTK_END_DESCRIBE_TEMPLATE2_BLACK_BOX ( CLASS   ) 

Value:

bbtkDebugMessage("object",2,"<== "<<#CLASS<<"Descriptor<"               \
                   <<bbtk::TypeName<T1>()<<","                          \
                   <<bbtk::TypeName<T2>()<<">::"                        \
                   <<#CLASS<<"Descriptor()"<<std::endl);                \
  }                                                                     \
  };
Ends a template AtomicBlackBox description block of template param T1 and T2.

Definition at line 648 of file bbtkAtomicBlackBoxMacros.h.

#define BBTK_END_DESCRIBE_TEMPLATE_BLACK_BOX ( CLASS   ) 

Value:

bbtkDebugMessage("object",2,"<== "<<#CLASS<<"Descriptor<"               \
                   <<bbtk::TypeName<T>()<<">::"                         \
                   <<#CLASS<<"Descriptor()"<<std::endl);                \
  }                                                                     \
  };
Ends a template AtomicBlackBox of template param T description block.

Definition at line 516 of file bbtkAtomicBlackBoxMacros.h.

#define BBTK_INPUT ( CLASS,
NAME,
DESCR,
TYPE,
NATURE   ) 

Value:

AddInputDescriptor(new bbtk::AtomicBlackBoxInputDescriptor              \
                     (typeid(CLASS ## Descriptor),                      \
                      #NAME,DESCR,NATURE,                               \
                      new bbtk::AtomicBlackBoxTGetFunctor<CLASS,TYPE,TYPE > \
                      (&CLASS::bbGetInput##NAME),                       \
                      new bbtk::AtomicBlackBoxTSetFunctor<CLASS,TYPE,TYPE > \
                      (&CLASS::bbSetInput##NAME) ) )
Describes a AtomicBlackBox input (to be put inside the UBB description block).

Definition at line 397 of file bbtkAtomicBlackBoxMacros.h.

#define BBTK_INPUT_NOCOPY ( CLASS,
NAME,
DESCR,
TYPE,
NATURE   ) 

Value:

AddInputDescriptor(new bbtk::AtomicBlackBoxInputDescriptor              \
                     (typeid(CLASS ## Descriptor),#NAME,DESCR,NATURE,   \
                      new bbtk::AtomicBlackBoxTGetFunctor<CLASS,TYPE,TYPE > \
                      (&CLASS::bbGetInput##NAME),                       \
                      new bbtk::AtomicBlackBoxTSetFunctor<CLASS,TYPE,TYPE > \
                      (&CLASS::bbSetInput##NAME),                       \
                      false) )
Describes a AtomicBlackBox input (to be put inside the UBB description block).

Definition at line 421 of file bbtkAtomicBlackBoxMacros.h.

#define BBTK_NAME ( NAME   )     SetTypeName(NAME)

Declares the name of a AtomicBlackBox (to be put inside the UBB description block).

Definition at line 357 of file bbtkAtomicBlackBoxMacros.h.

#define BBTK_OUTPUT ( CLASS,
NAME,
DESCR,
TYPE,
NATURE   ) 

Value:

AddOutputDescriptor(new bbtk::AtomicBlackBoxOutputDescriptor            \
                      (typeid(CLASS ## Descriptor),#NAME,DESCR,NATURE,  \
                       new bbtk::AtomicBlackBoxTGetFunctor<CLASS,TYPE,TYPE > \
                       (&CLASS::bbGetOutput##NAME),                     \
                       new bbtk::AtomicBlackBoxTSetFunctor<CLASS,TYPE,TYPE > \
                       (&CLASS::bbSetOutput##NAME) ) )
Describes a AtomicBlackBox output (to be put inside the UBB description block).

Definition at line 409 of file bbtkAtomicBlackBoxMacros.h.

#define BBTK_OUTPUT_NOCOPY ( CLASS,
NAME,
DESCR,
TYPE,
NATURE   ) 

Value:

AddOutputDescriptor(new bbtk::AtomicBlackBoxOutputDescriptor            \
                      (typeid(CLASS ## Descriptor),#NAME,DESCR,NATURE,  \
                       new bbtk::AtomicBlackBoxTGetFunctor<CLASS,TYPE,TYPE > \
                       (&CLASS::bbGetOutput##NAME),                     \
                       new bbtk::AtomicBlackBoxTSetFunctor<CLASS,TYPE,TYPE > \
                       (&CLASS::bbSetOutput##NAME),\
                       false) )
Describes a AtomicBlackBox output (to be put inside the UBB description block).

Definition at line 433 of file bbtkAtomicBlackBoxMacros.h.

#define BBTK_PROCESS ( CALLBACK   ) 

Value:

public:                                                         \
  inline void bbUserProcess()                                           \
  {                                                                     \
    bbtkBlackBoxDebugMessage("process",1,"**> Processing..."            \
                             <<std::endl);                              \
    CALLBACK();                                                         \
    bbtkBlackBoxDebugMessage("process",1,"<** Processing"               \
                             <<std::endl);                              \
  }
Defines the bbUserProcess method.

Definition at line 142 of file bbtkAtomicBlackBoxMacros.h.

#define BBTK_TEMPLATE2_BLACK_BOX_INTERFACE ( CLASS,
PARENT,
T1,
T2   ) 

Value:

public : typedef CLASS<T1,T2> Self;                                     \
  BBTK_BLACK_BOX_INTERFACE_INTERNAL(CLASS,PARENT);

Definition at line 590 of file bbtkAtomicBlackBoxMacros.h.

#define BBTK_TEMPLATE2_INPUT ( CLASS,
NAME,
DESCR,
TYPE   ) 

Value:

AddInputDescriptor(new bbtk::AtomicBlackBoxInputDescriptor              \
                     (typeid(CLASS ## Descriptor),#NAME,DESCR,"",       \
                      new bbtk::AtomicBlackBoxTGetFunctor<CLASS<T1,T2>,TYPE,TYPE >      \
                      (&CLASS<T1,T2>::bbGetInput##NAME),                \
                      new bbtk::AtomicBlackBoxTSetFunctor<CLASS<T1,T2>,TYPE,TYPE >      \
                      (&CLASS<T1,T2>::bbSetInput##NAME) ) )
Describes a 2 template params AtomicBlackBox input (to be put inside the UBB description block).

Definition at line 704 of file bbtkAtomicBlackBoxMacros.h.

#define BBTK_TEMPLATE2_OUTPUT ( CLASS,
NAME,
DESCR,
TYPE   ) 

Value:

AddOutputDescriptor(new bbtk::AtomicBlackBoxOutputDescriptor            \
                      (typeid(CLASS ## Descriptor),#NAME,DESCR,"",      \
                       new bbtk::AtomicBlackBoxTGetFunctor<CLASS<T1,T2>,TYPE,TYPE > \
                       (&CLASS<T1,T2>::bbGetOutput##NAME),              \
                       new bbtk::AtomicBlackBoxTSetFunctor<CLASS<T1,T2>,TYPE,TYPE > \
                       (&CLASS<T1,T2>::bbSetOutput##NAME) ) )
Describes a 2 template params AtomicBlackBox output (to be put inside the UBB description block).

Definition at line 715 of file bbtkAtomicBlackBoxMacros.h.

#define BBTK_TEMPLATE_BLACK_BOX_INTERFACE ( CLASS,
PARENT,
 ) 

Value:

public : typedef CLASS<T> Self;                         \
  BBTK_BLACK_BOX_INTERFACE_INTERNAL(CLASS,PARENT);

Definition at line 459 of file bbtkAtomicBlackBoxMacros.h.

#define BBTK_TEMPLATE_INPUT ( CLASS,
NAME,
DESCR,
TYPE   ) 

Value:

AddInputDescriptor(new bbtk::AtomicBlackBoxInputDescriptor              \
                     (typeid(CLASS ## Descriptor),#NAME,DESCR,"",       \
                      new bbtk::AtomicBlackBoxTGetFunctor<CLASS<T>,TYPE,TYPE > \
                      (&CLASS<T>::bbGetInput##NAME),                    \
                      new bbtk::AtomicBlackBoxTSetFunctor<CLASS<T>,TYPE,TYPE > \
                      (&CLASS<T>::bbSetInput##NAME) ) )
Describes a template AtomicBlackBox input (to be put inside the template UBB description block).

Definition at line 527 of file bbtkAtomicBlackBoxMacros.h.

#define BBTK_TEMPLATE_OUTPUT ( CLASS,
NAME,
DESCR,
TYPE   ) 

Value:

AddOutputDescriptor(new bbtk::AtomicBlackBoxOutputDescriptor            \
                      (typeid(CLASS ## Descriptor),#NAME,DESCR,"",      \
                       new bbtk::AtomicBlackBoxTGetFunctor<CLASS<T>,TYPE,TYPE > \
                       (&CLASS<T>::bbGetOutput##NAME),                  \
                       new bbtk::AtomicBlackBoxTSetFunctor<CLASS<T>,TYPE,TYPE > \
                       (&CLASS<T>::bbSetOutput##NAME) ) )
Describes a template AtomicBlackBox output (to be put inside the template UBB description block).

Definition at line 538 of file bbtkAtomicBlackBoxMacros.h.


Generated on Thu May 31 14:12:13 2012 for BBTK by  doxygen 1.5.7.1