Class for CORBA component instance. More...
#include <CORBAComponent.hxx>


Public Member Functions | |
| CORBAComponent (const std::string &name) | |
| CORBAComponent constructor.  More... | |
| CORBAComponent (const CORBAComponent &other) | |
| CORBAComponent copy constructor.  More... | |
| virtual | ~CORBAComponent () | 
| virtual void | load (Task *askingNode) | 
| Load the component.  More... | |
| virtual void | unload (Task *askingNode) | 
| Unload the component.  More... | |
| virtual bool | isLoaded (Task *askingNode) const | 
| Is the component instance already loaded ?  More... | |
| virtual ServiceNode * | createNode (const std::string &name) | 
| Create a ServiceNode with this component instance and no input or output port.  More... | |
| virtual ComponentInstance * | clone () const | 
| Clone the component instance.  More... | |
| virtual ComponentInstance * | cloneAlways () const | 
| virtual std::string | getFileRepr () const | 
| For dump in file.  More... | |
| virtual CORBA::Object_ptr | getCompoPtr () | 
| virtual std::string | getKind () const | 
| Return the component kind.  More... | |
| virtual std::string | getKindForNode () const | 
  Public Member Functions inherited from YACS::ENGINE::ComponentInstance | |
| ComponentInstance (const std::string &name) | |
| ComponentInstance (const ComponentInstance &other) | |
| const std::string & | getCompoName () const | 
| const std::string & | getInstanceName () const | 
| void | setName (const std::string &name) | 
| virtual void | setAnonymous (bool anon) | 
| virtual bool | isAnonymous () | 
| int | getNumId () const | 
| virtual bool | setContainer (Container *cont) | 
| Container * | getContainer () const | 
| virtual void | attachOnCloning () const | 
| virtual void | dettachOnCloning () const | 
| bool | isAttachedOnCloning () const | 
| virtual void | shutdown (int level) | 
  Public Member Functions inherited from YACS::ENGINE::PropertyInterface | |
| virtual | ~PropertyInterface () | 
| virtual void | setProperty (const std::string &name, const std::string &value) | 
| virtual std::string | getProperty (const std::string &name) | 
| Get a property value given its name.  More... | |
| std::map< std::string,  std::string >  | getProperties () const | 
| virtual void | setProperties (std::map< std::string, std::string > properties) | 
  Public Member Functions inherited from YACS::ENGINE::RefCounter | |
| unsigned int | getRefCnt () const | 
| void | incrRef () const | 
| bool | decrRef () | 
Static Public Attributes | |
| static const char | KIND [] ="CORBA" | 
  Static Public Attributes inherited from YACS::ENGINE::ComponentInstance | |
| static const char | KIND [] ="" | 
  Static Public Attributes inherited from YACS::ENGINE::RefCounter | |
| static unsigned int | _totalCnt =0 | 
Protected Attributes | |
| CORBA::Object_var | _objComponent | 
  Protected Attributes inherited from YACS::ENGINE::ComponentInstance | |
| std::string | _compoName | 
| WARNING : _compoName identify only the component type.  More... | |
| std::string | _instanceName | 
| WARNING : _InstanceName has a strong semantic. It discriminates ComponentInstance instances each other.  More... | |
| int | _numId | 
| Container * | _container | 
| bool | _isAttachedOnCloning | 
| bool | _anonymous | 
  Protected Attributes inherited from YACS::ENGINE::PropertyInterface | |
| std::map< std::string,  std::string >  | _propertyMap | 
  Protected Attributes inherited from YACS::ENGINE::RefCounter | |
| unsigned int | _cnt | 
Additional Inherited Members | |
  Protected Member Functions inherited from YACS::ENGINE::ComponentInstance | |
| virtual | ~ComponentInstance () | 
  Static Protected Attributes inherited from YACS::ENGINE::ComponentInstance | |
| static const char | NULL_FILE_REPR [] ="No repr specified for ComponentInstance" | 
| static int | _total = 0 | 
Class for CORBA component instance.
Definition at line 36 of file CORBAComponent.hxx.
| CORBAComponent::CORBAComponent | ( | const std::string & | name | ) | 
CORBAComponent constructor.
Definition at line 44 of file CORBAComponent.cxx.
References _objComponent.
Referenced by cloneAlways().
| CORBAComponent::CORBAComponent | ( | const CORBAComponent & | other | ) | 
CORBAComponent copy constructor.
Definition at line 50 of file CORBAComponent.cxx.
References _objComponent.
      
  | 
  virtual | 
Definition at line 55 of file CORBAComponent.cxx.
References _objComponent, and DEBTRACE.
      
  | 
  virtual | 
Clone the component instance.
Implements YACS::ENGINE::ComponentInstance.
Definition at line 182 of file CORBAComponent.cxx.
References YACS::ENGINE::RefCounter::incrRef().
      
  | 
  virtual | 
Implements YACS::ENGINE::ComponentInstance.
Definition at line 190 of file CORBAComponent.cxx.
References CORBAComponent().
      
  | 
  virtual | 
Create a ServiceNode with this component instance and no input or output port.
| name | : node name | 
Implements YACS::ENGINE::ComponentInstance.
Definition at line 174 of file CORBAComponent.cxx.
References YACS::ENGINE::ServiceNode::setComponent().
      
  | 
  virtual | 
Definition at line 83 of file CORBAComponent.cxx.
References _objComponent.
      
  | 
  virtual | 
For dump in file.
Reimplemented from YACS::ENGINE::ComponentInstance.
Definition at line 195 of file CORBAComponent.cxx.
References YACS::ENGINE::ComponentInstance::getCompoName().
      
  | 
  virtual | 
Return the component kind.
A runtime can provide several implementations of a component instance. Each implementation has a different kind. A ComponentInstance can be associated to a ServiceNode is they have the same kind.
Reimplemented from YACS::ENGINE::ComponentInstance.
Definition at line 66 of file CORBAComponent.cxx.
References KIND.
      
  | 
  virtual | 
Reimplemented from YACS::ENGINE::ComponentInstance.
Definition at line 71 of file CORBAComponent.cxx.
References KIND.
      
  | 
  virtual | 
Is the component instance already loaded ?
Implements YACS::ENGINE::ComponentInstance.
Definition at line 92 of file CORBAComponent.cxx.
References _objComponent.
      
  | 
  virtual | 
Load the component.
Implements YACS::ENGINE::ComponentInstance.
Definition at line 101 of file CORBAComponent.cxx.
References _objComponent, DEBTRACE, YACS::ENGINE::ComponentInstance::getCompoName(), YACS::ENGINE::RuntimeSALOME::getOrb(), YACS::ENGINE::getSALOMERuntime(), orb, and p.
      
  | 
  virtual | 
Unload the component.
Implements YACS::ENGINE::ComponentInstance.
Definition at line 77 of file CORBAComponent.cxx.
      
  | 
  protected | 
Definition at line 55 of file CORBAComponent.hxx.
Referenced by CORBAComponent(), getCompoPtr(), isLoaded(), load(), and ~CORBAComponent().
      
  | 
  static | 
Definition at line 51 of file CORBAComponent.hxx.
Referenced by getKind(), and getKindForNode().