#include <freSessionInfo.h>

SessionInfo is used to store information needed within a session (e.g. component cache of the session, media related to the session, setup, statistic...).
Definition at line 41 of file freSessionInfo.h.
| typedef SessionInfo FREE::SessionInfo::Self |
Definition at line 44 of file freSessionInfo.h.
| typedef itk::LightObject FREE::SessionInfo::Superclass |
Definition at line 45 of file freSessionInfo.h.
| typedef itk::SmartPointer<Self> FREE::SessionInfo::Pointer |
Definition at line 46 of file freSessionInfo.h.
| typedef itk::SmartPointer<const Self> FREE::SessionInfo::ConstPointer |
Definition at line 47 of file freSessionInfo.h.
| typedef SessionComponentCache::ComponentCacheCollectionType FREE::SessionInfo::ComponentCacheCollectionType |
Definition at line 53 of file freSessionInfo.h.
| FREE::SessionInfo::SessionInfo | ( | Setup * | pSetup | ) | [protected] |
Constructor. The default section ID will be 0
| [in] | pSetup | Pointer to the associated setup |
Definition at line 93 of file freSessionInfo.cxx.
References m_pStatistic, m_smpRootCache, and SetSetup().
Referenced by New().

| FREE::SessionInfo::SessionInfo | ( | const SessionInfo & | rSessionInfo | ) | [private] |
suppress default copy constructor
| virtual const char* FREE::SessionInfo::GetNameOfClass | ( | ) | const [inline, virtual] |
Definition at line 49 of file freSessionInfo.h.
| SessionInfo::Pointer FREE::SessionInfo::New | ( | Setup * | pSetup | ) | [static] |
Definition at line 114 of file freSessionInfo.cxx.
References SessionInfo().
Referenced by FREE::SessionBuilder::BuildSession().

| Setup * FREE::SessionInfo::GetSetup | ( | ) | const |
Function to access the member variable m_pComponentSetup.
Definition at line 34 of file freSessionInfo.cxx.
References m_pSetup.
Referenced by operator=().
| void FREE::SessionInfo::SetSetup | ( | Setup * | pSetup | ) |
Definition at line 41 of file freSessionInfo.cxx.
References FREE::Setup::GetRootComponent(), m_pSetup, m_smpRootCache, and FREE::SessionComponentCache::New().
Referenced by SessionInfo().

| const SessionComponentCache * FREE::SessionInfo::GetSessionCache | ( | ) | const |
Function to access the member variable m_pRootCache.
Definition at line 49 of file freSessionInfo.cxx.
Referenced by FREE::MediaActualizer::ActualizeMediaByField(), FREE::MediaActualizer::ActualizeMediaByFunction(), operator=(), FREE::ImageDifferenceSOMetricThread< VImageDimension >::ProcessSetup(), FREE::ImageClassificationSOMetricThread< VImageDimension >::ProcessSetup(), and FREE::AccuracySOMetricThread< VImageDimension >::ProcessSetup().
| SessionComponentCache * FREE::SessionInfo::GetSessionCache | ( | ) |
| const SessionInfo::ComponentCacheCollectionType & FREE::SessionInfo::GetComponentCaches | ( | ) | const |
Function to access the collection of first level component caches.
Definition at line 64 of file freSessionInfo.cxx.
References m_smpRootCache, and throwExceptionMacro.
Referenced by FREE::SessionBuilder::ActualizeSession().
| SessionInfo::ComponentCacheCollectionType & FREE::SessionInfo::GetComponentCaches | ( | ) |
Definition at line 75 of file freSessionInfo.cxx.
References m_smpRootCache, and throwExceptionMacro.
| void FREE::SessionInfo::SetStatistic | ( | Statistics * | pStatistic | ) | [inline] |
Function to access the member variable m_pStatistic. m_pStatistic points to a Statistics object, where information for statistical evaluation is stored. The default value is Null, if he isn't changed no statistical information will be gathered.
| [in] | pStatistic | Pointer of Statistics |
Definition at line 76 of file freSessionInfo.h.
References m_pStatistic.
| const Statistics* FREE::SessionInfo::GetStatistic | ( | ) | const [inline] |
Function to access the member variable m_pStatistic. m_pStatistic points to a Statistics object, where information for statistical evaluation is stored.
Definition at line 81 of file freSessionInfo.h.
References m_pStatistic.
Referenced by FREE::ComponentControllerBase< TControlledComponent >::AddStatisticEntry(), FREE::RegistrationProcessEventHandler< TRegistrationProcessor >::OnNextIteration(), FREE::RegistrationProcessEventHandler< TRegistrationProcessor >::OnNextLevel(), and FREE::ComponentControllerBase< TControlledComponent >::SetStatisticEntry().
| Statistics* FREE::SessionInfo::GetStatistic | ( | ) | [inline] |
| SessionComponentCache * FREE::SessionInfo::GetCacheByIDPath | ( | const IDPath & | idPath | ) | const |
Retrieve a component cache via a given component ID path
| [in] | idPath | The component ID path addressing the wanted component. |
Definition at line 86 of file freSessionInfo.cxx.
References m_smpRootCache.
Referenced by FREE::SessionAccessor::GetMedia(), and FREE::SessionAccessor::SetMedia().
| SessionInfo & FREE::SessionInfo::operator= | ( | const SessionInfo & | rSessionInfo | ) | [virtual] |
Assignment operator.
Definition at line 102 of file freSessionInfo.cxx.
References GetSessionCache(), GetSetup(), m_pSetup, and m_smpRootCache.

Setup* FREE::SessionInfo::m_pSetup [protected] |
Pointer to the associated setup for this registration session.
Definition at line 99 of file freSessionInfo.h.
Referenced by GetSetup(), operator=(), and SetSetup().
Pointer to the root section cache (corresponding the root component in the setup).
Definition at line 102 of file freSessionInfo.h.
Referenced by GetCacheByIDPath(), GetComponentCaches(), GetSessionCache(), operator=(), SessionInfo(), and SetSetup().
Statistics* FREE::SessionInfo::m_pStatistic [protected] |
Pointer to the associated statistic object. If NULL, no statistical information will be gathered.
Definition at line 106 of file freSessionInfo.h.
Referenced by GetStatistic(), SessionInfo(), and SetStatistic().
1.5.3 written by Dimitri van Heesch,
© 1997-2000