fw4spl
fwActivities::IBuilder Class Referenceabstract

Base class for all fwActivities builder's classes. More...

#include <IBuilder.hpp>

+ Inheritance diagram for fwActivities::IBuilder:
+ Collaboration diagram for fwActivities::IBuilder:

Classes

class  Registrar
 Class used to register a class factory in factory registry. This class defines also the object factory ( 'create' ) More...
 

Public Types

typedef ::fwActivities::builder::factory::Key Key
 
typedef ::fwMedData::ActivitySeries::ConfigIdType ConfigIdType
 

Public Member Functions

virtual bool isA (const std::string &type) const override
 
virtual FWACTIVITIES_API::fwMedData::ActivitySeries::sptr buildData (const ::fwActivities::registry::ActivityInfo &activityInfo, const std::shared_ptr< const ::fwData::Vector > &currentSelection) const =0
 Build an ActivitySeries with required data present in currentSelection and defined in configuration. More...
 
- Public Member Functions inherited from fwCore::BaseObject
virtual const std::string & getLeafClassname () const
 return object's classname without its namespace, i.e. BaseObject
 

Static Public Member Functions

static bool isTypeOf (const std::string &type)
 
- Static Public Member Functions inherited from fwCore::BaseObject
static bool isTypeOf (const std::string &type)
 
static const std::string & leafClassname ()
 return object's classname without its namespace, i.e. BaseObject
 
static const std::string & classname ()
 return object's classname without its namespace, i.e. BaseObject
 

Protected Member Functions

virtual FWACTIVITIES_API std::shared_ptr< ::fwData::VectorgetType (const std::shared_ptr< const ::fwData::Vector > &currentSelection, const std::string &type) const
 

Demangling methods

virtual const std::string & getClassname () const override
 return full object's classname with its namespace, i.e. fwCore::BaseObject
 
static const std::string & classname ()
 return full object's classname with its namespace, i.e. fwCore::BaseObject
 

Detailed Description

Base class for all fwActivities builder's classes.

Definition at line 29 of file IBuilder.hpp.

Member Function Documentation

virtual FWACTIVITIES_API ::fwMedData::ActivitySeries::sptr fwActivities::IBuilder::buildData ( const ::fwActivities::registry::ActivityInfo activityInfo,
const std::shared_ptr< const ::fwData::Vector > &  currentSelection 
) const
pure virtual

Build an ActivitySeries with required data present in currentSelection and defined in configuration.

Parameters
[in]activityInfoa structure which contains all the Activity configuration
[in]currentSelectiona vector which contains current selected data.
Returns
specific data ActivitySeries for the specified Activity.

Implemented in fwActivities::builder::ActivitySeries, and fwActivities::builder::ActivitySeriesInitData.


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