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)
#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(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 345 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 325 of file bbtkAtomicBlackBoxMacros.h.

#define BBTK_BEGIN_BLACK_BOX_CONSTRUCTOR ( CLASS,
ALLOC   ) 

Value:

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

Definition at line 179 of file bbtkAtomicBlackBoxMacros.h.

#define BBTK_BEGIN_BLACK_BOX_COPY_CONSTRUCTOR ( CLASS,
FROM,
ALLOC   ) 

Value:

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

Definition at line 196 of file bbtkAtomicBlackBoxMacros.h.

#define BBTK_BEGIN_BLACK_BOX_DESTRUCTOR ( CLASS   ) 

Value:

bbtkDebugMessage("object",2,"==> "<<#CLASS <<"::~"<< #CLASS             \
                   <<"() ["<<this->bbGetFullName()<<"]"<<std::endl);

Definition at line 216 of file bbtkAtomicBlackBoxMacros.h.

#define BBTK_BEGIN_DESCRIBE_BLACK_BOX ( CLASS,
PARENT   ) 

Begins the AtomicBlackBox description block.

Definition at line 262 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 558 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 429 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::bbUserConstructor();                                         \
    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::bbUserCopyConstructor();                                     \
    BBTK_END_BLACK_BOX_COPY_CONSTRUCTOR(CLASS,from);                    \
  }                                                                     \
  CLASS::~CLASS()                                                       \
  {                                                                     \
    BBTK_BEGIN_BLACK_BOX_DESTRUCTOR(CLASS);                             \
    CLASS::bbUserDestructor();                                          \
    BBTK_END_BLACK_BOX_DESTRUCTOR(CLASS);                               \
  }                                                                     \
  void CLASS::bbLockDescriptor()                                        \
  {                                                                     \
    bbmDescriptorPointer = CLASS ## Descriptor::Instance();             \
  }
AtomicBlackBox std implementation of ctor and dtor.

Definition at line 231 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 103 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 65 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();                                      \
  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 109 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>::bbUserConstructor();                                  \
    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>::bbUserCopyConstructor();                              \
    BBTK_END_BLACK_BOX_COPY_CONSTRUCTOR(CLASS,from);                    \
  }                                                                     \
  template <class T1, class T2>                                         \
  CLASS<T1,T2>::~CLASS()                                                \
  {                                                                     \
    BBTK_BEGIN_BLACK_BOX_DESTRUCTOR(CLASS);                             \
    CLASS<T1,T2>::bbUserDestructor();                                   \
    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 687 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>::bbUserConstructor();                                      \
    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>::bbUserCopyConstructor();                                  \
    BBTK_END_BLACK_BOX_COPY_CONSTRUCTOR(CLASS,from);                    \
  }                                                                     \
  template <class T>                                                    \
  CLASS<T>::~CLASS()                                                    \
  {                                                                     \
    BBTK_BEGIN_BLACK_BOX_DESTRUCTOR(CLASS);                             \
    CLASS<T>::bbUserDestructor();                                       \
    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 512 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 330 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 156 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 168 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 131 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 144 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 352 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 335 of file bbtkAtomicBlackBoxMacros.h.

#define BBTK_END_BLACK_BOX_CONSTRUCTOR ( CLASS   ) 

Value:

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

Definition at line 190 of file bbtkAtomicBlackBoxMacros.h.

#define BBTK_END_BLACK_BOX_COPY_CONSTRUCTOR ( CLASS,
FROM   ) 

Value:

bbtkDebugMessage("object",2,"<== "<<#CLASS<<"::"<<#CLASS                \
                   <<"("<<FROM.bbGetFullName()<<",\""                   \
                   <<bbGetName()<<"\")"<<std::endl);

Definition at line 209 of file bbtkAtomicBlackBoxMacros.h.

#define BBTK_END_BLACK_BOX_DESTRUCTOR ( CLASS   ) 

Value:

bbtkDebugMessage("object",2,"<== "<<#CLASS <<"::~"<< #CLASS             \
                   <<"() ["<<this->bbGetFullName()<<"]"<<std::endl);

Definition at line 222 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 309 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 609 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 479 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 360 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 384 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 320 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 372 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 396 of file bbtkAtomicBlackBoxMacros.h.

#define BBTK_PROCESS ( CALLBACK   ) 

Value:

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

Definition at line 116 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 551 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 665 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 676 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 422 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 490 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 501 of file bbtkAtomicBlackBoxMacros.h.


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