![]()  | 
  
    Wallaroo
    0.8
    
   | 
 
#include <dependency.h>
  
 Public Member Functions | |
| virtual | ~Dependency () | 
| virtual void | Link (const cxx0x::shared_ptr< Part > &part)=0 | 
| virtual bool | WiringOk () const =0 | 
This represents the base class for every Collaborator template. It can link itself with a Part object and check if the wiring satisfies its multiplicity constraints.
      
  | 
  inlinevirtual | 
      
  | 
  pure virtual | 
Link this Dependency with a Part.
| part | The Part you want to link with this Dependency. | 
| WrongType | If this Dependency could not be wire with Part part  | 
Implemented in wallaroo::Collaborator< T, bounded_collection< MIN, MAX, C >, Ownership >, wallaroo::Collaborator< T, P, Ownership >, and wallaroo::Collaborator< T, bounded_collection< 0, 0, C >, Ownership >.
      
  | 
  pure virtual | 
Check if this Dependency is correctly wired according to the constraints specified as template parameters in the derived class.
Implemented in wallaroo::Collaborator< T, bounded_collection< MIN, MAX, C >, Ownership >, wallaroo::Collaborator< T, P, Ownership >, and wallaroo::Collaborator< T, bounded_collection< 0, 0, C >, Ownership >.
 1.8.8