bbtk Class Reference

#include <bbtkKWBlackBox.h>

List of all members.

Public Types

enum  {
  ID_Menu_Quit = 1, ID_Menu_About, ID_Menu_EditConfig, ID_Menu_CreatePackage,
  ID_Menu_CreateBlackBox, ID_Menu_ShowImageGraph, ID_Menu_ShowHTMLDoc, ID_Menu_CreateIndex,
  ID_Button_Run
}
enum  {
  bwd_id, fwd_id, home_id, reload_id,
  include_id, url_id, html_id = 10100
}
enum  {
  id_f1, id_f2, id_f3, id_f4,
  id_f5, id_f6, id_f7, id_f8,
  id_fc1, id_fc2, id_fc3
}
enum  {
  ID_Menu_Quit = 1, ID_Menu_About, ID_Menu_EditConfig, ID_Menu_CreatePackage,
  ID_Menu_CreateBlackBox, ID_Menu_ShowImageGraph, ID_Menu_RegeneratePackageDoc, ID_Menu_RegenerateBoxesLists,
  ID_Menu_RegenerateAll, ID_Menu_PlugPackage, ID_Menu_Windows_Files, ID_Menu_Windows_Help,
  ID_Menu_Windows_Messages, ID_Menu_Windows_Command, ID_Menu_Windows_Save, ID_Menu_Windows_PackageBrowser
}
typedef Package::Pointer PackagePointer
typedef
boost::shared_ptr
< BlackBox
BlackBoxPointer
typedef
boost::weak_ptr
< BlackBox
BlackBoxWeakPointer
typedef
boost::shared_ptr
< Package
PackagePointer
typedef
boost::weak_ptr
< Package
PackageWeakPointer
typedef
boost::shared_ptr
< BlackBox
BlackBoxPointer
typedef
boost::weak_ptr
< BlackBox
BlackBoxWeakPointer
typedef
boost::shared_ptr
< ComplexBlackBox
ComplexBlackBoxPointer
typedef
boost::shared_ptr
< Factory
FactoryPointer
typedef
boost::weak_ptr
< Factory
FactoryWeakPointer
typedef
boost::shared_ptr
< BlackBox
BlackBoxPointer
typedef
boost::weak_ptr
< BlackBox
BlackBoxWeakPointer
typedef unsigned char IOStatus
 The type of input / output status.
typedef any< thingData
 The generic type of "data" exchanged between black boxes.
typedef
boost::shared_ptr
< Executer
ExecuterPointer
typedef
boost::weak_ptr
< Executer
ExecuterWeakPointer
typedef
boost::shared_ptr
< Factory
FactoryPointer
typedef
boost::weak_ptr
< Factory
FactoryWeakPointer
typedef const
std::type_info & 
TypeInfo
 The bbtk::TypeInfo type is a const ref on std::type_info (which can only be manipulated as such (because typeid returns const std::type_info& and type_info has all constructors private)).
typedef
boost::shared_ptr
< Interpreter
InterpreterPointer
typedef
boost::weak_ptr
< Interpreter
InterpreterWeakPointer

Public Attributes

const std::string IOSTATUS_STRING [3]
const IOStatus UPTODATE = 0
 Up-to-date status value.
const IOStatus MODIFIED = 1
 Modified status value.
const IOStatus OUTOFDATE = 2
 Out-of-date status value.

Static Public Attributes

static bool bbmgSomeBoxExecuting = false
static bool bbmgFreezeExecution = false
static std::set
< BlackBox::WeakPointer
bbmgExecutionList
static bool bbmgGlobalProcessingExecutionList = false
static StaticInitTime i
static WxAppmgWxApp = 0
static wxWindow * mgTopWindow = 0
static int mgNbWindowsAlive = 0
static Wx::Signal_type mgWxSignal

Classes

class  any
class  anyholder
class  anyholder< ValueType * >
 specialization of anyholder for pointer types More...
class  anyplaceholder
 Abstract class used by the any class to store values. More...
class  AtomicBlackBox
 Ancestor of all user defined (concrete) black boxes which are atomic (vs. complex boxes which are made up of other (atomic or complex) boxes). More...
class  AtomicBlackBoxDescriptor
 Structure containing the description of a AtomicBlackBox input (name, description, type, functor). More...
class  AtomicBlackBoxGetFunctor
 Abstract functor of the Get accessors of the inputs and outputs of a AtomicBlackBox. More...
class  AtomicBlackBoxInputDescriptor
 Structure containing the description of a AtomicBlackBox input (name, description, type, functor). More...
class  AtomicBlackBoxOutputDescriptor
 Structure containing the description of a AtomicBlackBox output (name, description, type, functor). More...
class  AtomicBlackBoxSetFunctor
 Abstract functor of the Set accessors of the inputs and outputs of a AtomicBlackBox. More...
class  AtomicBlackBoxTGetFunctor
 Template for concrete functors of the Get accessors of the inputs and outputs of a AtomicBlackBox (inherits from bbtk::AtomicBlackBoxGetFunctor). More...
class  AtomicBlackBoxTSetFunctor
 Template for concrete functors of the Set accessors of the inputs and outputs of a AtomicBlackBox (inherits from bbtk::AtomicBlackBoxSetFunctor). More...
class  AtomicBlackBoxTSetFunctor< UBB, T *, TACCESS * >
 Template specialization of AtomicBlackBoxTSetFunctor for pointer types. More...
class  WxGUIEditorGraphicBBS
class  BlackBox
 Abstract black-box interface. More...
class  BlackBoxDescriptor
 (Abstract) Contains information on a BlackBox type (name, description, author, inputs, outputs) and is able to create an instance of it. More...
class  BlackBoxInputConnector
class  BlackBoxInputDescriptor
 Abstract descriptor of an input of a black box. More...
class  BlackBoxInputOutputDescriptor
 Abstract descriptor of an input or an output of a black box (has a name, description, type and nature). More...
class  BlackBoxOutputConnector
class  BlackBoxOutputDescriptor
 Abstract descriptor of an output of a black box (stores a name, a description and type). More...
class  ComplexBlackBox
 Abstract user defined black boxes. More...
class  ComplexBlackBoxDescriptor
 Describes a ComplexBlackBox (constituents, connections) and is able to create an instance of it. More...
class  ComplexBlackBoxInputDescriptor
 Structure containing the description of a ComplexBlackBox input (name, description, type, mapping). More...
class  ComplexBlackBoxOutputDescriptor
 Structure containing the description of a ComplexBlackBox output (name, description, type, mapping). More...
class  ConfigurationException
class  ConfigurationFile
 DDD. More...
class  Connection
 DDD. More...
class  DataInfo
 Object storing informations on a data type : includes C++ type info (std::type_info) and a string describing the "nature" of the data (what is the content of the structure). More...
struct  Dummy
class  Exception
 class Exception : generic class for throwing any exception More...
class  Executer
 class Executer: level 0 of script execution More...
class  Factory
 Can load and unload dynamic libraries containing black boxes packages and create instances of the black boxes registered in the packages loaded. More...
struct  floating_point
 The TypeTraits which validates all floating point number types. More...
struct  integer
 The TypeTraits which validates all integer types. More...
class  Interpreter
 The bbtk language interpreter. More...
class  InterpreterException
class  InterpreterUser
class  MessageManager
 Manages the messages displayed by bbtk. More...
struct  number
 The TypeTraits which validates all numerical types. More...
class  Object
class  Package
 registers black boxes descriptors and is able to create instances of the black boxes registered. More...
struct  Qt
class  StaticInitTime
struct  System
 System related stuff. More...
struct  thing
 The TypeTraits which validates any type. More...
class  Transcriptor
 class Transcriptor: level 0 of script C++ translation More...
class  TypeMapping
class  Utilities
 Holds various usefull methods. More...
class  VirtualExec
 class VirtualExec: level 0 of script execution More...
struct  Void
class  WidgetBlackBox
class  WidgetBlackBoxDescriptor
class  WidgetBlackBoxWindow
struct  Wx
class  WxApp
class  WxBlackBox
 Widget black boxes. More...
class  WxBlackBoxDescriptor
class  WxDialog
class  WxFrame
class  WxGUIBlackBoxInfo
class  WxGUIBlackBoxList
class  WxGUIBlackBoxListUser
class  WxGUICommand
 GUI Component which provides a command input zone. More...
class  WxGUICommandUser
 Abstract class which defines the callbacks invoked by WxGUICommand. More...
class  WxGUIConsole
 A console in which user can enter commands. More...
class  wxGUIEditorGraphicBBS
class  wxGUIEditorGraphicContainer
class  WxGUIHtmlBrowser
class  WxGUIHtmlBrowserUser
 Abstract class which defines the callbacks invoked by WxGUIHtmlBrowser. More...
class  WxGUIOutputMessages
 GUI Component which provides a command input zone. More...
class  WxGUIOutputMessagesUser
 Abstract class which defines the callbacks invoked by WxGUIOutputMessages. More...
class  WxGUIPackageBrowser2
 A package browser panel. More...
class  WxGUIPackageBrowser2User
 Abstract class which defines the callbacks invoked by WxGUIPackageBrowser2. More...
class  WxGUIPackageBrowser2Window
 Browser2 in a frame. More...
class  WxGUIScriptingInterface
 A scripting interface window. More...
class  WxGUITextEditor
 A text editor panel. More...
class  WxGUITextEditorPage
class  WxGUITextEditorUser
 Abstract class which defines the callbacks invoked by WxGUITextEditor. More...
class  WxGUITextEditorWindow
 Editor in a frame. More...
class  WxHtmlWindow
class  WxStreamRedirector
 Redirects std::cout to a wxTextCtrl and optionally to printf also. More...
class  WxTextCtrlGettingKeyEvents


Member Typedef Documentation

typedef Package::Pointer bbtk::PackagePointer

Definition at line 46 of file bbtkBlackBoxDescriptor.cxx.

typedef boost::shared_ptr< BlackBox > bbtk::BlackBoxPointer

Definition at line 54 of file bbtkBlackBoxDescriptor.h.

typedef boost::weak_ptr< BlackBox > bbtk::BlackBoxWeakPointer

Definition at line 55 of file bbtkBlackBoxDescriptor.h.

typedef boost::shared_ptr< Package > bbtk::PackagePointer

Definition at line 55 of file bbtkBlackBoxDescriptor.h.

typedef boost::weak_ptr< Package > bbtk::PackageWeakPointer

Definition at line 56 of file bbtkBlackBoxDescriptor.h.

typedef boost::shared_ptr< BlackBox > bbtk::BlackBoxPointer

Definition at line 51 of file bbtkBlackBoxInputConnector.h.

typedef boost::weak_ptr< BlackBox > bbtk::BlackBoxWeakPointer

Definition at line 52 of file bbtkBlackBoxInputConnector.h.

typedef boost::shared_ptr<ComplexBlackBox> bbtk::ComplexBlackBoxPointer

Definition at line 53 of file bbtkComplexBlackBoxDescriptor.h.

typedef boost::shared_ptr< Factory > bbtk::FactoryPointer

Definition at line 52 of file bbtkConnection.h.

typedef boost::weak_ptr< Factory > bbtk::FactoryWeakPointer

Definition at line 53 of file bbtkConnection.h.

typedef boost::shared_ptr< BlackBox > bbtk::BlackBoxPointer

Definition at line 54 of file bbtkConnection.h.

typedef boost::weak_ptr< BlackBox > bbtk::BlackBoxWeakPointer

Definition at line 55 of file bbtkConnection.h.

typedef unsigned char bbtk::IOStatus

The type of input / output status.

Definition at line 57 of file bbtkConnection.h.

typedef any<thing> bbtk::Data

The generic type of "data" exchanged between black boxes.

Definition at line 51 of file bbtkData.h.

typedef boost::shared_ptr< Executer > bbtk::ExecuterPointer

Definition at line 50 of file bbtkFactory.h.

typedef boost::weak_ptr< Executer > bbtk::ExecuterWeakPointer

Definition at line 51 of file bbtkFactory.h.

typedef boost::shared_ptr< Factory > bbtk::FactoryPointer

Definition at line 49 of file bbtkPackage.h.

typedef boost::weak_ptr< Factory > bbtk::FactoryWeakPointer

Definition at line 50 of file bbtkPackage.h.

typedef const std::type_info& bbtk::TypeInfo

The bbtk::TypeInfo type is a const ref on std::type_info (which can only be manipulated as such (because typeid returns const std::type_info& and type_info has all constructors private)).

Definition at line 182 of file bbtkRTTI.h.

typedef boost::shared_ptr< Interpreter > bbtk::InterpreterPointer

Definition at line 50 of file bbtkVirtualExec.h.

typedef boost::weak_ptr< Interpreter > bbtk::InterpreterWeakPointer

Definition at line 51 of file bbtkVirtualExec.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
ID_Menu_Quit 
ID_Menu_About 
ID_Menu_EditConfig 
ID_Menu_CreatePackage 
ID_Menu_CreateBlackBox 
ID_Menu_ShowImageGraph 
ID_Menu_ShowHTMLDoc 
ID_Menu_CreateIndex 
ID_Button_Run 

Definition at line 62 of file bbtkWxGUIConsole.cxx.

anonymous enum

Enumerator:
bwd_id 
fwd_id 
home_id 
reload_id 
include_id 
url_id 
html_id 

Definition at line 61 of file bbtkWxGUIHtmlBrowser.cxx.

00062     {
00063       bwd_id,
00064       fwd_id,
00065       home_id,
00066       reload_id,
00067       include_id,
00068       url_id  ,
00069       html_id = 10100
00070     };

anonymous enum

Enumerator:
id_f1 
id_f2 
id_f3 
id_f4 
id_f5 
id_f6 
id_f7 
id_f8 
id_fc1 
id_fc2 
id_fc3 

Definition at line 761 of file bbtkWxGUIPackageBrowser2.cxx.

00762     {
00763       id_f1,
00764       id_f2,
00765       id_f3,
00766       id_f4,
00767       id_f5,
00768       id_f6,
00769       id_f7,
00770       id_f8,
00771       id_fc1,
00772       id_fc2,
00773       id_fc3
00774     };

anonymous enum

Enumerator:
ID_Menu_Quit 
ID_Menu_About 
ID_Menu_EditConfig 
ID_Menu_CreatePackage 
ID_Menu_CreateBlackBox 
ID_Menu_ShowImageGraph 
ID_Menu_RegeneratePackageDoc 
ID_Menu_RegenerateBoxesLists 
ID_Menu_RegenerateAll 
ID_Menu_PlugPackage 
ID_Menu_Windows_Files 
ID_Menu_Windows_Help 
ID_Menu_Windows_Messages 
ID_Menu_Windows_Command 
ID_Menu_Windows_Save 
ID_Menu_Windows_PackageBrowser 

Definition at line 65 of file bbtkWxGUIScriptingInterface.cxx.


Member Data Documentation

bool bbtk::bbmgSomeBoxExecuting = false [static]

Definition at line 53 of file bbtkBlackBox.cxx.

Referenced by bbtk::BlackBox::bbGlobalGetSomeBoxExecuting(), and bbtk::BlackBox::bbGlobalSetSomeBoxExecuting().

bool bbtk::bbmgFreezeExecution = false [static]

Definition at line 54 of file bbtkBlackBox.cxx.

Referenced by bbtk::BlackBox::bbGlobalGetFreezeExecution(), and bbtk::BlackBox::bbGlobalSetFreezeExecution().

std::set<BlackBox::WeakPointer> bbtk::bbmgExecutionList [static]

Definition at line 55 of file bbtkBlackBox.cxx.

Referenced by bbtk::BlackBox::bbGlobalAddToExecutionList(), and bbtk::BlackBox::bbGlobalProcessExecutionList().

bool bbtk::bbmgGlobalProcessingExecutionList = false [static]

Definition at line 1369 of file bbtkBlackBox.cxx.

Referenced by bbtk::BlackBox::bbGlobalAddToExecutionList(), and bbtk::BlackBox::bbGlobalProcessExecutionList().

const std::string bbtk::IOSTATUS_STRING[3]

Initial value:

 
    {"Up-to-date","Modified","Out-of-date"}

Definition at line 49 of file bbtkConnection.cxx.

Referenced by GetIOStatusString().

const IOStatus bbtk::UPTODATE = 0

Up-to-date status value.

Definition at line 62 of file bbtkConnection.h.

Referenced by bbtk::BlackBox::bbComputePostProcessStatus(), bbtk::BlackBox::bbRecursiveExecute(), bbtk::BlackBox::bbSetStatusAndPropagate(), and bbtk::BlackBox::bbUpdateInputs().

const IOStatus bbtk::MODIFIED = 1

Modified status value.

Definition at line 64 of file bbtkConnection.h.

Referenced by bbtk::AtomicBlackBox::bbBruteForceSetInputPointer(), bbtk::BlackBox::bbComputePostProcessStatus(), bbtk::AtomicBlackBox::bbSetInput(), and bbtk::Connection::RecursiveExecute().

const IOStatus bbtk::OUTOFDATE = 2

Out-of-date status value.

Definition at line 66 of file bbtkConnection.h.

Referenced by bbtk::BlackBox::bbComputePostProcessStatus(), bbtk::BlackBox::bbConnectInput(), bbtk::BlackBox::bbSetStatusAndPropagate(), bbtk::Connection::RecursiveExecute(), bbtk::BlackBoxInputConnector::RecursiveExecute(), and bbtk::BlackBoxOutputConnector::SignalChange().

StaticInitTime bbtk::i [static]

Definition at line 303 of file bbtkObject.cxx.

Referenced by bbtk::ComplexBlackBox::bbAllocateConnectors(), bbtk::BlackBox::bbAllocateConnectors(), bbtk::BlackBox::bbComputePostProcessStatus(), bbtk::BlackBox::bbConnectInput(), bbtk::BlackBox::bbConnectOutput(), bbtk::BlackBox::bbCopyIOValues(), bbtk::BlackBox::bbDesallocateConnectors(), bbtk::BlackBox::bbDisconnectInput(), bbtk::BlackBox::bbDisconnectOutput(), bbtk::ComplexBlackBox::bbExecute(), bbtk::ComplexBlackBox::bbFindBlackBox(), bbtk::ComplexBlackBox::bbGetBlackBox(), bbtk::BlackBox::bbGlobalProcessExecutionList(), bbtk::ComplexBlackBox::bbPrintBlackBoxes(), bbtk::BlackBox::bbPrintHelp(), bbtk::ComplexBlackBox::bbRemoveBlackBox(), bbtk::WidgetBlackBox< W >::bbSetShown(), bbtk::BlackBox::bbSignalOutputModification(), bbtk::ComplexBlackBox::bbUnsafeGetBlackBox(), bbtk::BlackBox::bbUpdateInputs(), bbtk::ComplexBlackBox::bbWriteDotFileBlackBox(), bbtk::BlackBox::bbWriteDotFileBlackBox(), bbtk::Package::ChangeDescriptorName(), bbtk::Package::Check(), bbtk::Connection::Check(), bbtk::ComplexBlackBox::Check(), CleanString_0D(), bbtk::Factory::CloseAllPackages(), bbtk::ComplexBlackBox::ComplexBlackBox(), bbtk::Package::ContainsDescriptor(), bbtk::Package::CreateHtmlPage(), bbtk::Executer::DefineInput(), bbtk::Package::FindAdaptor(), bbtk::Interpreter::FindCommandsWithPrefix(), bbtk::Package::FindWidgetAdaptor(), bbtk::ConfigurationFile::GetHelp(), bbtk::ComplexBlackBoxDescriptor::GetHelp(), bbtk::BlackBoxDescriptor::GetHelp(), bbtk::BlackBoxDescriptor::GetInputDescriptor(), bbtk::MessageManager::GetMessageLevel(), bbtk::Transcriptor::GetObjectInfo(), bbtk::Package::GetObjectInfo(), bbtk::Executer::GetObjectInfo(), bbtk::Connection::GetObjectInfo(), bbtk::ComplexBlackBoxDescriptor::GetObjectInfo(), bbtk::ComplexBlackBox::GetObjectInfo(), bbtk::AtomicBlackBox::GetObjectInfo(), bbtk::Package::GetObjectRecursiveSize(), bbtk::ComplexBlackBox::GetObjectRecursiveSize(), bbtk::BlackBoxDescriptor::GetOutputDescriptor(), bbtk::Interpreter::HelpCommands(), bbtk::Factory::LoadPackage(), bbtk::Utilities::loosematch(), bbtk::Package::NewAdaptor(), bbtk::Package::NewBlackBox(), bbtk::Package::NewWidgetAdaptor(), bbtk::Executer::Print(), bbtk::Package::PrintHelpDescriptor(), bbtk::Factory::PrintHelpDescriptor(), bbtk::Package::PrintHelpListAdaptors(), bbtk::Package::PrintHelpListDescriptors(), bbtk::Factory::PrintHelpListPackages(), bbtk::Factory::PrintHelpPackage(), bbtk::MessageManager::PrintInfo(), bbtk::Object::PrintObjectListInfo(), bbtk::ConfigurationFile::Read(), bbtk::WxGUIPackageBrowser2::RebuildList(), bbtk::Package::Register(), bbtk::Package::Release(), bbtk::Object::ReleasePackages(), bbtk::MessageManager::SetMessageLevel(), bbtk::Interpreter::SplitLine(), bbtk::Interpreter::SwitchToFile(), bbtk::Factory::UnLoadPackage(), bbtk::Package::UnLoadReleasedDynamicallyLoadedPackages(), bbtk::BlackBoxOutputConnector::UnsetConnection(), and bbtk::BlackBoxDescriptor::~BlackBoxDescriptor().

WxApp* bbtk::mgWxApp = 0 [static]

Definition at line 42 of file bbtkWx.cxx.

Referenced by bbtk::Wx::CreateWxAppIfNeeded(), and bbtk::Wx::DestroyWxAppIfNeeded().

wxWindow* bbtk::mgTopWindow = 0 [static]

Definition at line 43 of file bbtkWx.cxx.

Referenced by bbtk::Wx::GetTopWindow(), and bbtk::Wx::SetTopWindow().

int bbtk::mgNbWindowsAlive = 0 [static]

Definition at line 44 of file bbtkWx.cxx.

Referenced by bbtk::Wx::DecNbWindowsAlive(), bbtk::Wx::GetNbWindowsAlive(), bbtk::Wx::IncNbWindowsAlive(), and bbtk::Wx::IsSomeWindowAlive().

Wx::Signal_type bbtk::mgWxSignal [static]

Definition at line 49 of file bbtkWx.cxx.

Referenced by bbtk::Wx::AddSignalObserver(), bbtk::Wx::DecNbWindowsAlive(), and bbtk::Wx::IncNbWindowsAlive().


The documentation for this class was generated from the following files:
Generated on Mon Jul 27 15:00:06 2009 for BBTK by  doxygen 1.5.3