Wallaroo  0.8
Public Member Functions | List of all members
wallaroo::Dependency Class Referenceabstract

#include <dependency.h>

Inheritance diagram for wallaroo::Dependency:
wallaroo::Collaborator< T, bounded_collection< 0, 0, C >, Ownership > wallaroo::Collaborator< T, P, Ownership > wallaroo::Collaborator< T, bounded_collection< MIN, MAX, C >, Ownership > wallaroo::Collaborator< T, collection< C >, Ownership >

Public Member Functions

virtual ~Dependency ()
 
virtual void Link (const cxx0x::shared_ptr< Part > &part)=0
 
virtual bool WiringOk () const =0
 

Detailed Description

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.

Constructor & Destructor Documentation

virtual wallaroo::Dependency::~Dependency ( )
inlinevirtual

Member Function Documentation

virtual void wallaroo::Dependency::Link ( const cxx0x::shared_ptr< Part > &  part)
pure virtual
virtual bool wallaroo::Dependency::WiringOk ( ) const
pure virtual

Check if this Dependency is correctly wired according to the constraints specified as template parameters in the derived class.

Returns
true If the check pass.

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 >.


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