bbtk::AtomicBlackBoxDescriptor Class Reference

Structure containing the description of a AtomicBlackBox input (name, description, type, functor). More...

#include <bbtkAtomicBlackBoxDescriptor.h>

List of all members.

Protected Member Functions

 AtomicBlackBoxDescriptor ()
 Releases the descriptor.
virtual ~AtomicBlackBoxDescriptor ()
virtual
AtomicBlackBoxDescriptor::Pointer 
GetInstance () const =0


Detailed Description

Structure containing the description of a AtomicBlackBox input (name, description, type, functor).

Definition at line 52 of file bbtkAtomicBlackBoxDescriptor.h.


Constructor & Destructor Documentation

bbtk::AtomicBlackBoxDescriptor::AtomicBlackBoxDescriptor (  )  [protected]

Releases the descriptor.

Definition at line 37 of file bbtkAtomicBlackBoxDescriptor.cxx.

References bbtkDebugMessage.

00038   {  
00039     bbtkDebugMessage("object",3,"==> AtomicBlackBoxDescriptor::AtomicBlackBoxDescriptor()"<<std::endl);
00040     // Creates the input 'BoxProcessMode'
00041     AddInputDescriptor
00042       (new 
00043        bbtk::AtomicBlackBoxInputDescriptor
00044        (typeid(AtomicBlackBoxDescriptor),
00045         "BoxProcessMode",
00046         "Sets the processing mode of the box (Pipeline | Always | Reactive)",
00047         "",
00048         new bbtk::AtomicBlackBoxTGetFunctor<BlackBox,std::string,std::string>(&BlackBox::bbGetInputBoxProcessMode), 
00049         new bbtk::AtomicBlackBoxTSetFunctor<BlackBox,std::string,std::string>(&BlackBox::bbSetInputBoxProcessMode) ) );
00050     // Creates the input 'BoxExecute'
00051     AddInputDescriptor
00052       (new
00053        bbtk::AtomicBlackBoxInputDescriptor
00054        (typeid(AtomicBlackBoxDescriptor),
00055         "BoxExecute",
00056         "Any signal received by this input executes the box",
00057         "signal",
00058         new bbtk::AtomicBlackBoxTGetFunctor<BlackBox,Void,Void>(&BlackBox::bbGetInputBoxExecute), 
00059         new bbtk::AtomicBlackBoxTSetFunctor<BlackBox,Void,Void>(&BlackBox::bbSetInputBoxExecute) ) );
00060     // Creates the output 'BoxChange'      
00061     AddOutputDescriptor
00062       (new 
00063        bbtk::AtomicBlackBoxOutputDescriptor
00064        (typeid(AtomicBlackBoxDescriptor),
00065         "BoxChange",
00066         "Signals modifications of the box", 
00067         "signal",
00068         new bbtk::AtomicBlackBoxTGetFunctor<BlackBox,Void,Void>(&BlackBox::bbGetOutputBoxChange), 
00069         new bbtk::AtomicBlackBoxTSetFunctor<BlackBox,Void,Void>(&BlackBox::bbSetOutputBoxChange) ) );
00070     //
00071     AddToCategory("atomic box");
00072     bbtkDebugMessage("object",3,"<== AtomicBlackBoxDescriptor::AtomicBlackBoxDescriptor()"<<std::endl);
00073   }

bbtk::AtomicBlackBoxDescriptor::~AtomicBlackBoxDescriptor (  )  [protected, virtual]

Definition at line 76 of file bbtkAtomicBlackBoxDescriptor.cxx.

References bbtkDebugMessage.

00077   {  
00078     bbtkDebugMessage("object",3,"==> AtomicBlackBoxDescriptor::AtomicBlackBoxDescriptor()"<<std::endl);
00079     bbtkDebugMessage("object",3,"<== AtomicBlackBoxDescriptor::AtomicBlackBoxDescriptor()"<<std::endl);
00080   }


Member Function Documentation

virtual AtomicBlackBoxDescriptor::Pointer bbtk::AtomicBlackBoxDescriptor::GetInstance (  )  const [protected, pure virtual]


The documentation for this class was generated from the following files:

Generated on Wed Nov 12 11:38:27 2008 for BBTK by  doxygen 1.5.6