#include <bbtkAtomicBlackBoxInputDescriptor.h>
Public Member Functions | |
AtomicBlackBoxInputDescriptor (TypeInfo creator_type_info, const std::string &name, const std::string &description, const std::string &nature, AtomicBlackBoxGetFunctor *getfunctor, AtomicBlackBoxSetFunctor *setfunctor, bool copy_construct=true) | |
~AtomicBlackBoxInputDescriptor () | |
TypeInfo | GetTypeInfo () const |
Returns the type of the input. | |
std::string | GetTypeName () const |
Returns the name of the type of the input. | |
std::string | GetHumanTypeName () const |
Returns the name of the type of the input. | |
virtual bool | IsPointerType () const |
Returns true iff the type is a pointer to class. | |
AtomicBlackBoxGetFunctor * | GetGetFunctor () |
Returns the functor on the Get method. | |
AtomicBlackBoxSetFunctor * | GetSetFunctor () |
Returns the functor on the Set method. | |
Private Member Functions | |
AtomicBlackBoxInputDescriptor () | |
Default ctor is private. | |
Private Attributes | |
AtomicBlackBoxGetFunctor * | mGetFunctor |
The functor on the Get method. | |
AtomicBlackBoxSetFunctor * | mSetFunctor |
The functor on the Set method. |
Definition at line 52 of file bbtkAtomicBlackBoxInputDescriptor.h.
bbtk::AtomicBlackBoxInputDescriptor::AtomicBlackBoxInputDescriptor | ( | TypeInfo | creator_type_info, | |
const std::string & | name, | |||
const std::string & | description, | |||
const std::string & | nature, | |||
AtomicBlackBoxGetFunctor * | getfunctor, | |||
AtomicBlackBoxSetFunctor * | setfunctor, | |||
bool | copy_construct = true | |||
) |
Definition at line 42 of file bbtkAtomicBlackBoxInputDescriptor.cxx.
References bbtkDebugMessage.
00049 : 00050 BlackBoxInputDescriptor(creator_type_info, 00051 name,description, 00052 nature, 00053 copy_construct, 00054 MANDATORY), 00055 mGetFunctor(getfunctor), 00056 mSetFunctor(setfunctor) 00057 { 00058 bbtkDebugMessage("Kernel",9, 00059 "AtomicBlackBoxInputDescriptor::" 00060 <<"AtomicBlackBoxInputDescriptor(\"" 00061 <<name<<"\",\""<<description<<"\",\"" 00062 <<nature<<"\"," 00063 <<getfunctor<<","<<setfunctor<<"," 00064 <<copy_construct<<")"<<std::endl); 00065 }
bbtk::AtomicBlackBoxInputDescriptor::~AtomicBlackBoxInputDescriptor | ( | ) |
Definition at line 69 of file bbtkAtomicBlackBoxInputDescriptor.cxx.
References bbtkDebugMessage, mGetFunctor, and mSetFunctor.
00070 { 00071 bbtkDebugMessage("Kernel",9, 00072 "AtomicBlackBoxInputDescriptor::" 00073 <<"~AtomicBlackBoxInputDescriptor(\"" 00074 <<GetName()<<"\",\""<<GetDescription()<<"\"," 00075 <<mGetFunctor<<","<<mSetFunctor<<")"<<std::endl); 00076 }
bbtk::AtomicBlackBoxInputDescriptor::AtomicBlackBoxInputDescriptor | ( | ) | [inline, private] |
TypeInfo bbtk::AtomicBlackBoxInputDescriptor::GetTypeInfo | ( | ) | const [inline] |
Returns the type of the input.
Definition at line 72 of file bbtkAtomicBlackBoxInputDescriptor.h.
00072 { return mGetFunctor->GetTypeInfo(); }
std::string bbtk::AtomicBlackBoxInputDescriptor::GetTypeName | ( | ) | const [inline] |
Returns the name of the type of the input.
Definition at line 74 of file bbtkAtomicBlackBoxInputDescriptor.h.
00074 { return mGetFunctor->GetTypeName(); }
std::string bbtk::AtomicBlackBoxInputDescriptor::GetHumanTypeName | ( | ) | const [inline] |
Returns the name of the type of the input.
Definition at line 76 of file bbtkAtomicBlackBoxInputDescriptor.h.
00076 { return mGetFunctor->GetHumanTypeName(); }
virtual bool bbtk::AtomicBlackBoxInputDescriptor::IsPointerType | ( | ) | const [inline, virtual] |
Returns true iff the type is a pointer to class.
Definition at line 78 of file bbtkAtomicBlackBoxInputDescriptor.h.
00078 { return mGetFunctor->IsPointerType(); }
AtomicBlackBoxGetFunctor* bbtk::AtomicBlackBoxInputDescriptor::GetGetFunctor | ( | ) | [inline] |
Returns the functor on the Get method.
Definition at line 80 of file bbtkAtomicBlackBoxInputDescriptor.h.
00080 { return mGetFunctor; }
AtomicBlackBoxSetFunctor* bbtk::AtomicBlackBoxInputDescriptor::GetSetFunctor | ( | ) | [inline] |
Returns the functor on the Set method.
Definition at line 82 of file bbtkAtomicBlackBoxInputDescriptor.h.
00082 { return mSetFunctor; }
AtomicBlackBoxGetFunctor* bbtk::AtomicBlackBoxInputDescriptor::mGetFunctor [private] |
The functor on the Get method.
Definition at line 90 of file bbtkAtomicBlackBoxInputDescriptor.h.
Referenced by ~AtomicBlackBoxInputDescriptor().
AtomicBlackBoxSetFunctor* bbtk::AtomicBlackBoxInputDescriptor::mSetFunctor [private] |
The functor on the Set method.
Definition at line 92 of file bbtkAtomicBlackBoxInputDescriptor.h.
Referenced by ~AtomicBlackBoxInputDescriptor().