bbtk::AtomicBlackBoxOutputDescriptor Class Reference

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

#include <bbtkAtomicBlackBoxOutputDescriptor.h>

List of all members.

Public Member Functions

 AtomicBlackBoxOutputDescriptor (TypeInfo creator_type_info, const std::string &name, const std::string &description, const std::string &nature, AtomicBlackBoxGetFunctor *getfunctor, AtomicBlackBoxSetFunctor *setfunctor, bool copy_construct=true)
 ~AtomicBlackBoxOutputDescriptor ()
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.
AtomicBlackBoxGetFunctorGetGetFunctor ()
 Returns the functor on the Get method.
AtomicBlackBoxSetFunctorGetSetFunctor ()
 Returns the functor on the Set method.

Private Member Functions

 AtomicBlackBoxOutputDescriptor ()
 Default ctor is private.

Private Attributes

AtomicBlackBoxGetFunctormGetFunctor
 The functor on the Get method.
AtomicBlackBoxSetFunctormSetFunctor
 The functor on the Set method.


Detailed Description

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

Definition at line 52 of file bbtkAtomicBlackBoxOutputDescriptor.h.


Constructor & Destructor Documentation

bbtk::AtomicBlackBoxOutputDescriptor::AtomicBlackBoxOutputDescriptor ( 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 44 of file bbtkAtomicBlackBoxOutputDescriptor.cxx.

References bbtkDebugMessage.

00051     : 
00052     BlackBoxOutputDescriptor(creator_type_info,
00053                              name,description,nature,
00054                              copy_construct),
00055     mGetFunctor(getfunctor),
00056     mSetFunctor(setfunctor)
00057   {    
00058     
00059     bbtkDebugMessage("Kernel",9,
00060                      "AtomicBlackBoxOutputDescriptor::AtomicBlackBoxOutputDescriptor(\""
00061                      <<name<<"\",\""<<description
00062                      <<"\",\""<<nature<<"\","
00063                      <<getfunctor<<","<<setfunctor
00064                      <<","<<copy_construct<<")"<<std::endl);
00065   }

bbtk::AtomicBlackBoxOutputDescriptor::~AtomicBlackBoxOutputDescriptor (  ) 

Definition at line 68 of file bbtkAtomicBlackBoxOutputDescriptor.cxx.

References bbtkDebugMessage, mGetFunctor, and mSetFunctor.

00069   {
00070     bbtkDebugMessage("Kernel",9,"AtomicBlackBoxOutputDescriptor::~AtomicBlackBoxOutputDescriptor(\""<<GetName()<<"\",\""<<GetDescription()<<"\""<<mGetFunctor<<","<<mSetFunctor<<")"<<std::endl);
00071   }

bbtk::AtomicBlackBoxOutputDescriptor::AtomicBlackBoxOutputDescriptor (  )  [inline, private]

Default ctor is private.

Definition at line 81 of file bbtkAtomicBlackBoxOutputDescriptor.h.

00081                                      : 
00082       BlackBoxOutputDescriptor(typeid(void),"","","") {}


Member Function Documentation

TypeInfo bbtk::AtomicBlackBoxOutputDescriptor::GetTypeInfo (  )  const [inline]

Returns the type of the input.

Definition at line 67 of file bbtkAtomicBlackBoxOutputDescriptor.h.

00067 { return mGetFunctor->GetTypeInfo(); }

std::string bbtk::AtomicBlackBoxOutputDescriptor::GetTypeName (  )  const [inline]

Returns the name of the type of the input.

Definition at line 69 of file bbtkAtomicBlackBoxOutputDescriptor.h.

00069 { return mGetFunctor->GetTypeName(); }

std::string bbtk::AtomicBlackBoxOutputDescriptor::GetHumanTypeName (  )  const [inline]

Returns the name of the type of the input.

Definition at line 71 of file bbtkAtomicBlackBoxOutputDescriptor.h.

00071 { return mGetFunctor->GetHumanTypeName(); }

virtual bool bbtk::AtomicBlackBoxOutputDescriptor::IsPointerType (  )  const [inline, virtual]

Returns true iff the type is a pointer to class.

Definition at line 73 of file bbtkAtomicBlackBoxOutputDescriptor.h.

00073 { return mGetFunctor->IsPointerType(); }   

AtomicBlackBoxGetFunctor* bbtk::AtomicBlackBoxOutputDescriptor::GetGetFunctor (  )  [inline]

Returns the functor on the Get method.

Definition at line 74 of file bbtkAtomicBlackBoxOutputDescriptor.h.

00074 { return mGetFunctor; }

AtomicBlackBoxSetFunctor* bbtk::AtomicBlackBoxOutputDescriptor::GetSetFunctor (  )  [inline]

Returns the functor on the Set method.

Definition at line 76 of file bbtkAtomicBlackBoxOutputDescriptor.h.

00076 { return mSetFunctor; }


Member Data Documentation

AtomicBlackBoxGetFunctor* bbtk::AtomicBlackBoxOutputDescriptor::mGetFunctor [private]

The functor on the Get method.

Definition at line 84 of file bbtkAtomicBlackBoxOutputDescriptor.h.

Referenced by ~AtomicBlackBoxOutputDescriptor().

AtomicBlackBoxSetFunctor* bbtk::AtomicBlackBoxOutputDescriptor::mSetFunctor [private]

The functor on the Set method.

Definition at line 86 of file bbtkAtomicBlackBoxOutputDescriptor.h.

Referenced by ~AtomicBlackBoxOutputDescriptor().


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

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