Public Types | List of all members
ibase::TCommandsProviderCompWrap< Base > Class Template Reference

Generic macro for ICommandsProvider implementation. More...

#include <TCommandsProviderCompWrap.h>

Inheritance diagram for ibase::TCommandsProviderCompWrap< Base >:
imod::TModelWrap< ibase::ICommandsProvider > iser::TCopySerializedWrap< ibase::ICommandsProvider > imod::CModelBase ibase::ICommandsProvider imod::IModel istd::IChangeable istd::IPolymorphic istd::IPolymorphic

Public Types

typedef Base BaseClass
 
- Public Types inherited from imod::TModelWrap< ibase::ICommandsProvider >
typedef
iser::TCopySerializedWrap
< ibase::ICommandsProvider
BaseClass
 
typedef imod::CModelBase BaseClass2
 
- Public Types inherited from iser::TCopySerializedWrap< ibase::ICommandsProvider >
typedef ibase::ICommandsProvider BaseClass
 
- Public Types inherited from ibase::ICommandsProvider
enum  ChangeFlags { CF_COMMANDS = 0x62b7e8 }
 
- Public Types inherited from istd::IChangeable
enum  ChangeFlags {
  CF_ACF_INTERNAL = 0, CF_ALL_DATA, CF_ANY, CF_DESTROYING,
  CF_DELEGATED, CF_NO_UNDO
}
 Data model change notification flags. More...
 
enum  SupportedOperations {
  SO_NONE = 0, SO_OBSERVE = 1 << 0, SO_COPY = 1 << 1, SO_CLONE = 1 << 2,
  SO_COMPARE = 1 << 3, SO_RESET = 1 << 4
}
 Flags for supported operations. More...
 
enum  CompatibilityMode { CM_STRICT, CM_WITHOUT_REFS, CM_WITH_REFS, CM_CONVERT }
 Control how relationship betweeen objects are interpreted. More...
 
- Public Types inherited from imod::CModelBase
typedef QSet< IObserver * > Observers
 

Additional Inherited Members

- Public Member Functions inherited from imod::TModelWrap< ibase::ICommandsProvider >
 TModelWrap ()
 
void SetBaseObject (const ibase::ICommandsProvider &baseObject)
 
virtual int GetSupportedOperations () const
 
virtual istd::IChangeableCloneMe (istd::IChangeable::CompatibilityMode mode=istd::IChangeable::CM_WITHOUT_REFS) const
 
virtual void BeginChanges (const istd::IChangeable::ChangeSet &changeSet)
 
virtual void EndChanges (const istd::IChangeable::ChangeSet &changeSet)
 
virtual void BeginChangeGroup (const istd::IChangeable::ChangeSet &changeSet)
 
virtual void EndChangeGroup (const istd::IChangeable::ChangeSet &changeSet)
 
- Public Member Functions inherited from iser::TCopySerializedWrap< ibase::ICommandsProvider >
virtual bool CopyFrom (const istd::IChangeable &object, istd::IChangeable::CompatibilityMode mode=istd::IChangeable::CM_WITHOUT_REFS)
 
virtual bool IsEqual (const istd::IChangeable &object) const
 
- Public Member Functions inherited from ibase::ICommandsProvider
virtual const
IHierarchicalCommand
GetCommands () const
 Get list of menu commands. More...
 
- Public Member Functions inherited from istd::IChangeable
virtual bool ResetData (CompatibilityMode mode=CM_WITHOUT_REFS)
 Reset data to its default state. More...
 
- Public Member Functions inherited from istd::IPolymorphic
virtual ~IPolymorphic ()
 
- Public Member Functions inherited from imod::CModelBase
 CModelBase ()
 
virtual ~CModelBase ()
 
virtual int GetObserverCount () const
 Returns count of connected observers. More...
 
virtual Observers GetObservers () const
 Returns set of all observers. More...
 
const
istd::IChangeable::ChangeSet
GetCumulatedChanges () const
 
virtual bool AttachObserver (imod::IObserver *observerPtr)
 Attaches model object to observer observerPtr. More...
 
virtual void DetachObserver (imod::IObserver *observerPtr)
 Detaches model object from observer observerPtr. More...
 
virtual void DetachAllObservers ()
 Detaches all attached observers. More...
 
virtual bool IsAttached (const imod::IObserver *observerPtr) const
 Returns true if observer observer is attached to this model object. More...
 
- Static Public Member Functions inherited from istd::IChangeable
static const ChangeSetGetNoChanges ()
 Get empty set of changes. More...
 
static const ChangeSetGetAnyChange ()
 Get anonymous change set. More...
 
static const ChangeSetGetAllChanges ()
 Get anonymous change set. More...
 
static const ChangeSetGetDelegatedChanges ()
 Get delegated change set. More...
 
- Protected Member Functions inherited from imod::TModelWrap< ibase::ICommandsProvider >
virtual void OnBeginGlobalChanges ()
 Called before global changes will be started. More...
 
virtual void OnEndGlobalChanges (const istd::IChangeable::ChangeSet &changeSet)
 Called after global changes are finished. More...
 
- Protected Member Functions inherited from istd::IChangeable
virtual void OnBeginChanges ()
 Callback function for begin change event. More...
 
virtual void OnEndChanges (const ChangeSet &changeSet)
 Callback function for end change event. More...
 
- Protected Member Functions inherited from imod::CModelBase
void NotifyBeforeChange (const istd::IChangeable::ChangeSet &changeSet, bool isGroup)
 Called before each change. More...
 
void NotifyAfterChange (const istd::IChangeable::ChangeSet &changeSet)
 Called after each change. More...
 

Detailed Description

template<class Base>
class ibase::TCommandsProviderCompWrap< Base >

Generic macro for ICommandsProvider implementation.

Definition at line 19 of file TCommandsProviderCompWrap.h.

Member Typedef Documentation

template<class Base >
typedef Base ibase::TCommandsProviderCompWrap< Base >::BaseClass

Definition at line 24 of file TCommandsProviderCompWrap.h.


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

© 2007-2017 Witold Gantzke and Kirill Lepskiy