BASE::RCDynamicHandler Class Reference

Handler of dynamic interfaces and pointers taking care of the linking. More...

Collaboration diagram for BASE::RCDynamicHandler:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RCDynamicHandler (const RCString &sKey)
void RemoveAll ()
void CreateViewWnds ()
TBool IsAllLinked () const
RCDynamicInterfaceGetInterface (const RCString &sKey) const
void AddInterface (RCDynamicInterface &Interface)
void AddPointer (RCDynamicPointer &Pointer)
void AddSingleView (RCDynamicInterfaceViewBase &View)
void TrackViewPopup ()
const RCStringGetKey () const
TInt GetInterfaceCount () const
TInt GetViewCount () const
const RCDynamicInterfaceGetInterface (TInt nIndex) const
RCDynamicInterfaceViewBaseGetView (const RCDynamicInterface &Interface) const
RCDynamicInterfaceViewBaseGetView (TInt nIndex) const

Static Public Attributes

static const RCString LOG_NAME

Protected Types

typedef set< RCDynamicPointer * > RCPointerList
typedef map< RCString, RCPointerList *,
RCNoCaseLess > 
RCPointerMap
typedef map< RCString, RCDynamicInterface *,
RCNoCaseLess > 
RCInterfaceMap
typedef map< const RCDynamicInterface *,
RCDynamicInterfaceViewBase * > 
RCViewMap
typedef vector< RCDynamicInterfaceViewBase * > RCSingleViewList

Protected Member Functions

void PointerKeyChanged (RCDynamicPointer &Pointer)
TBool LinkPointer (RCDynamicPointer &Pointer)
void LinkInterface (RCDynamicInterface &Interface)
TBool LinkPointerList (RCPointerList &PointerList, RCDynamicInterface &Interface)
void InsertPointer (RCPointerMap &Map, RCDynamicPointer &Pointer)
void RemovePointer (RCPointerMap &Map, RCDynamicPointer &Pointer)
void SetCurrentIndex (TInt nIndex) const

Protected Attributes

const RCString m_sKey
RCInterfaceMap m_InterfaceMap
RCPointerMap m_LinkedPointerMap
RCPointerMap m_UnlinkedPointerMap
RCViewMap m_ViewMap
RCSingleViewList m_SingleViewList
RCInterfaceMap::const_iterator m_CurrentIterator
TInt m_nCurrentIndex

Friends

class RCDynamicPointer

Detailed Description

Handler of dynamic interfaces and pointers taking care of the linking.

Author:
Patrik Stellmann
This classes handles dynamic interfaces and pointers. The handler tries to keep all registered interfaces and pointers linked to eachother while the first criteria is that their key matches and the second is that they use both the same interface.


Member Data Documentation

const RCString RCDynamicHandler::LOG_NAME [static]
 

Initial value:

 
    _T("Dynamic Interface Handling")


The documentation for this class was generated from the following files:
Generated on Thu Feb 16 12:46:45 2006 for Simulator Bob by  doxygen 1.4.6-NO