#include <bbtkAtomicBlackBoxDescriptor.h>
Protected Member Functions | |
AtomicBlackBoxDescriptor () | |
Releases the descriptor. | |
virtual | ~AtomicBlackBoxDescriptor () |
virtual AtomicBlackBoxDescriptor::Pointer | GetInstance () const =0 |
Definition at line 52 of file bbtkAtomicBlackBoxDescriptor.h.
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 }
virtual AtomicBlackBoxDescriptor::Pointer bbtk::AtomicBlackBoxDescriptor::GetInstance | ( | ) | const [protected, pure virtual] |