00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef BON2Component_h
00023 #define BON2Component_h
00024
00025 #include "BON.h"
00026 #include "BONImpl.h"
00027 #include <ComponentConfig.h>
00028 #include "networkingBonX.h"
00029
00030 namespace BON
00031 {
00032
00033
00034
00035
00036
00037
00038
00039 class Component
00040 {
00041
00042
00043
00044 public:
00045 void Component::ProcessDiagram(Networking::NetDiagram& diagram);
00046 void Component::ProcessRouter(Networking::Router& router);
00047
00048
00049
00050
00051
00052 public :
00053 Project m_project;
00054 bool m_bIsInteractive;
00055
00056 public:
00057 Component();
00058 ~Component();
00059
00060 public:
00061 void initialize( Project& project );
00062 void finalize( Project& project );
00063 void invoke( Project& project, const std::set<FCO>& setModels, long lParam );
00064 void invokeEx( Project& project, FCO& currentFCO, const std::set<FCO>& setSelectedFCOs, long lParam );
00065 void objectInvokeEx( Project& project, Object& currentObject, const std::set<Object>& setSelectedObjects, long lParam );
00066 Util::Variant getParameter( const std::string& strName );
00067 void setParameter( const std::string& strName, const Util::Variant& varValue );
00068
00069 #ifdef GME_ADDON
00070 void globalEventPerformed( globalevent_enum event );
00071 void objectEventPerformed( Object& object, unsigned long event, VARIANT v );
00072 #endif
00073 };
00074
00075 };
00076
00077 #endif // Bon2Component_H