fw4spl
fwActivities::builder::ActivitySeries Class Reference

Defines the default builder for the data ActivitySeries. More...

#include <ActivitySeries.hpp>

+ Inheritance diagram for fwActivities::builder::ActivitySeries:
+ Collaboration diagram for fwActivities::builder::ActivitySeries:

Public Types

typedef std::string RegistryKeyType
 
- Public Types inherited from fwActivities::IBuilder
typedef ::fwActivities::builder::factory::Key Key
 
typedef ::fwMedData::ActivitySeries::ConfigIdType ConfigIdType
 

Public Member Functions

virtual bool isA (const std::string &type) const override
 
FWACTIVITIES_API ActivitySeries (::fwActivities::IBuilder::Key key)
 Constructor. Do nothing.
 
virtual FWACTIVITIES_API ~ActivitySeries ()
 Destructor. Do nothing.
 
virtual FWACTIVITIES_API::fwMedData::ActivitySeries::sptr buildData (const ::fwActivities::registry::ActivityInfo &activityInfo, const std::shared_ptr< const ::fwData::Vector > &currentSelection) const override
 Build an ActivitySeries with required data present in currentSelection and defined in configuration. returns specific data ActivitySeries for the specified Activity, or a null pointer if the builder canceled the activity creation. More...
 
- Public Member Functions inherited from fwActivities::IBuilder
- Public Member Functions inherited from fwCore::BaseObject

Static Public Member Functions

static bool isTypeOf (const std::string &type)
 
- Static Public Member Functions inherited from fwActivities::IBuilder
static bool isTypeOf (const std::string &type)
 
static const std::string & classname ()
 return full object's classname with its namespace, i.e. fwCore::BaseObject
 
- 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
 

Friends

template<class , class , class >
class ::fwTools::ClassFactory
 
class ::fwTools::Factory
 

Demangling methods

virtual const std::string & getLeafClassname () const override
 return object's classname without its namespace, i.e. BaseObject
 
virtual const std::string & getClassname () const override
 return full object's classname with its namespace, i.e. fwCore::BaseObject
 
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
 

Additional Inherited Members

- Protected Member Functions inherited from fwActivities::IBuilder
virtual FWACTIVITIES_API std::shared_ptr< ::fwData::VectorgetType (const std::shared_ptr< const ::fwData::Vector > &currentSelection, const std::string &type) const
 

Detailed Description

Defines the default builder for the data ActivitySeries.

Definition at line 24 of file fwActivities/include/fwActivities/builder/ActivitySeries.hpp.

Member Function Documentation

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

Build an ActivitySeries with required data present in currentSelection and defined in configuration. returns specific data ActivitySeries for the specified Activity, or a null pointer if the builder canceled the activity creation.

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

Implements fwActivities::IBuilder.

Reimplemented in fwActivities::builder::ActivitySeriesInitData.


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