
/*
 * This file was generated by the SOM Compiler.
 * FileName: F:\BUILD\NT\ship\include\Arbitrat.xh.
 * Generated using:
 *     SOM Precompiler somipc: Development
 *     SOM Emitter emitxh.dll: Development
 */

#ifndef SOM_ODArbitrator_xh
#define SOM_ODArbitrator_xh

class ODArbitrator;

#define ODArbitrator_MajorVersion 1
#define ODArbitrator_MinorVersion 0

/* C++ SOM defs */
#include <somcls.xh>
#include <somcm.xh>

/* C++ parent defs */
#ifndef SOM_ODObject_xh
#include <ODObject.xh>
#endif

#ifndef ODArbitrator_API
#define ODArbitrator_API
/*
 * -- The Class API
 */

/*
 * Start of user-defined types:
 */
class SOMClass;
class SOMObject;
class ODFrame;
class ODFacet;
class ODPlatformCanvas;
class ODObject;
class ODExtension;
class ODArbitrator;
class ODFocusModule;
class ODFocusSet;
class ODFocusOwnerIterator;

/*
 * End of user-defined types.
 */

/* A procedure to create the ODArbitrator Class */
SOMEXTERN
#if (defined(SOM_Module_Arbitrat_Source) || defined(ODArbitrator_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODArbitrator))
WIN32_DLLEXPORT
#else
WIN32_DLLIMPORT
#endif
SOMClass * SOMLINK ODArbitratorNewClass(
		integer4,
		integer4 );

/* The API to the ODArbitrator class object, and the methods it introduces. */
SOMEXTERN struct ODArbitratorClassDataStructure {
	SOMClass *classObject;
	somMToken RequestFocusSet;
	somMToken RequestFocus;
	somMToken RelinquishFocusSet;
	somMToken RelinquishFocus;
	somMToken TransferFocus;
	somMToken TransferFocusSet;
	somMToken AcquireFocusOwner;
	somMToken CreateOwnerIterator;
	somMToken RegisterFocus;
	somMToken UnregisterFocus;
	somMToken IsFocusRegistered;
	somMToken IsFocusExclusive;
	somMToken GetFocusModule;
	somMToken CreateFocusSet;
	somMToken reserved1;
}
#if !(defined(SOM_Module_Arbitrat_Source) || defined(ODArbitrator_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODArbitrator))
WIN32_DLLIMPORT
#elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
WIN32_DLLEXPORT
#endif
SOMDLINK ODArbitratorClassData;
#define _ODArbitrator ODArbitratorClassData.classObject

/* The API to parentMtabs for ODArbitrator, and the instance data it introduces. */
SOMEXTERN struct ODArbitratorCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken              instanceDataToken;
}
#if !(defined(SOM_Module_Arbitrat_Source) || defined(ODArbitrator_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODArbitrator))
WIN32_DLLIMPORT
#elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
WIN32_DLLEXPORT
#endif
SOMDLINK ODArbitratorCClassData;

/*
 * -- Typedefs for ODArbitrator Method Procedures
 */
extern "C" {
typedef ODBoolean   SOMLINK somTP_ODArbitrator_RequestFocusSet(ODArbitrator *somSelf, Environment *ev,
		ODFocusSet* focusSet,
		ODFrame* requestingFrame);
typedef somTP_ODArbitrator_RequestFocusSet *somTD_ODArbitrator_RequestFocusSet;
typedef ODBoolean   SOMLINK somTP_ODArbitrator_RequestFocus(ODArbitrator *somSelf, Environment *ev,
		ODTypeToken focus,
		ODFrame* requestingFrame);
typedef somTP_ODArbitrator_RequestFocus *somTD_ODArbitrator_RequestFocus;
typedef void   SOMLINK somTP_ODArbitrator_RelinquishFocusSet(ODArbitrator *somSelf, Environment *ev,
		ODFocusSet* focusSet,
		ODFrame* relinquishingFrame);
typedef somTP_ODArbitrator_RelinquishFocusSet *somTD_ODArbitrator_RelinquishFocusSet;
typedef void   SOMLINK somTP_ODArbitrator_RelinquishFocus(ODArbitrator *somSelf, Environment *ev,
		ODTypeToken focus,
		ODFrame* relinquishingFrame);
typedef somTP_ODArbitrator_RelinquishFocus *somTD_ODArbitrator_RelinquishFocus;
typedef void   SOMLINK somTP_ODArbitrator_TransferFocus(ODArbitrator *somSelf, Environment *ev,
		ODTypeToken focus,
		ODFrame* transferringFrame,
		ODFrame* newOwner);
typedef somTP_ODArbitrator_TransferFocus *somTD_ODArbitrator_TransferFocus;
typedef void   SOMLINK somTP_ODArbitrator_TransferFocusSet(ODArbitrator *somSelf, Environment *ev,
		ODFocusSet* focusSet,
		ODFrame* transferringFrame,
		ODFrame* newOwner);
typedef somTP_ODArbitrator_TransferFocusSet *somTD_ODArbitrator_TransferFocusSet;
typedef ODFrame*   SOMLINK somTP_ODArbitrator_AcquireFocusOwner(ODArbitrator *somSelf, Environment *ev,
		ODTypeToken focus);
typedef somTP_ODArbitrator_AcquireFocusOwner *somTD_ODArbitrator_AcquireFocusOwner;
typedef ODFocusOwnerIterator*   SOMLINK somTP_ODArbitrator_CreateOwnerIterator(ODArbitrator *somSelf, Environment *ev,
		ODTypeToken focus);
typedef somTP_ODArbitrator_CreateOwnerIterator *somTD_ODArbitrator_CreateOwnerIterator;
typedef void   SOMLINK somTP_ODArbitrator_RegisterFocus(ODArbitrator *somSelf, Environment *ev,
		ODTypeToken focus,
		ODFocusModule* focusModule);
typedef somTP_ODArbitrator_RegisterFocus *somTD_ODArbitrator_RegisterFocus;
typedef void   SOMLINK somTP_ODArbitrator_UnregisterFocus(ODArbitrator *somSelf, Environment *ev,
		ODTypeToken focus);
typedef somTP_ODArbitrator_UnregisterFocus *somTD_ODArbitrator_UnregisterFocus;
typedef ODBoolean   SOMLINK somTP_ODArbitrator_IsFocusRegistered(ODArbitrator *somSelf, Environment *ev,
		ODTypeToken focus);
typedef somTP_ODArbitrator_IsFocusRegistered *somTD_ODArbitrator_IsFocusRegistered;
typedef ODBoolean   SOMLINK somTP_ODArbitrator_IsFocusExclusive(ODArbitrator *somSelf, Environment *ev,
		ODTypeToken focus);
typedef somTP_ODArbitrator_IsFocusExclusive *somTD_ODArbitrator_IsFocusExclusive;
typedef ODFocusModule*   SOMLINK somTP_ODArbitrator_GetFocusModule(ODArbitrator *somSelf, Environment *ev,
		ODTypeToken focus);
typedef somTP_ODArbitrator_GetFocusModule *somTD_ODArbitrator_GetFocusModule;
typedef ODFocusSet*   SOMLINK somTP_ODArbitrator_CreateFocusSet(ODArbitrator *somSelf, Environment *ev);
typedef somTP_ODArbitrator_CreateFocusSet *somTD_ODArbitrator_CreateFocusSet;

/*
 * -- Typedefs for Reintroduced Wrapper Methods
 */
typedef void   SOMLINK somTP_ODArbitrator_InitObject(ODArbitrator *somSelf, Environment *ev);
typedef somTP_ODArbitrator_InitObject *somTD_ODArbitrator_InitObject;
typedef ODBoolean   SOMLINK somTP_ODArbitrator_HasExtension(ODArbitrator *somSelf, Environment *ev,
		ODType extensionName);
typedef somTP_ODArbitrator_HasExtension *somTD_ODArbitrator_HasExtension;
typedef ODExtension*   SOMLINK somTP_ODArbitrator_AcquireExtension(ODArbitrator *somSelf, Environment *ev,
		ODType extensionName);
typedef somTP_ODArbitrator_AcquireExtension *somTD_ODArbitrator_AcquireExtension;
typedef void   SOMLINK somTP_ODArbitrator_ReleaseExtension(ODArbitrator *somSelf, Environment *ev,
		ODExtension* extension);
typedef somTP_ODArbitrator_ReleaseExtension *somTD_ODArbitrator_ReleaseExtension;
typedef ODSize   SOMLINK somTP_ODArbitrator_Purge(ODArbitrator *somSelf, Environment *ev,
		ODSize size);
typedef somTP_ODArbitrator_Purge *somTD_ODArbitrator_Purge;
typedef ODBoolean   SOMLINK somTP_ODArbitrator_IsEqualTo(ODArbitrator *somSelf, Environment *ev,
		ODObject* object);
typedef somTP_ODArbitrator_IsEqualTo *somTD_ODArbitrator_IsEqualTo;
typedef void   SOMLINK somTP_ODArbitrator_SubClassResponsibility(ODArbitrator *somSelf, Environment *ev);
typedef somTP_ODArbitrator_SubClassResponsibility *somTD_ODArbitrator_SubClassResponsibility;
typedef void   SOMLINK somTP_ODArbitrator_somInit(ODArbitrator *somSelf);
typedef somTP_ODArbitrator_somInit *somTD_ODArbitrator_somInit;
typedef void   SOMLINK somTP_ODArbitrator_somUninit(ODArbitrator *somSelf);
typedef somTP_ODArbitrator_somUninit *somTD_ODArbitrator_somUninit;
typedef void   SOMLINK somTP_ODArbitrator_somDefaultInit(ODArbitrator *somSelf,
		somInitCtrl* ctrl);
typedef somTP_ODArbitrator_somDefaultInit *somTD_ODArbitrator_somDefaultInit;
typedef void   SOMLINK somTP_ODArbitrator_somDestruct(ODArbitrator *somSelf,
		octet doFree,
		somDestructCtrl* ctrl);
typedef somTP_ODArbitrator_somDestruct *somTD_ODArbitrator_somDestruct;
typedef void   SOMLINK somTP_ODArbitrator_somDefaultCopyInit(ODArbitrator *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODArbitrator_somDefaultCopyInit *somTD_ODArbitrator_somDefaultCopyInit;
typedef ODArbitrator*   SOMLINK somTP_ODArbitrator_somDefaultAssign(ODArbitrator *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODArbitrator_somDefaultAssign *somTD_ODArbitrator_somDefaultAssign;
typedef void   SOMLINK somTP_ODArbitrator_somDefaultConstCopyInit(ODArbitrator *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODArbitrator_somDefaultConstCopyInit *somTD_ODArbitrator_somDefaultConstCopyInit;
typedef void   SOMLINK somTP_ODArbitrator_somDefaultVCopyInit(ODArbitrator *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODArbitrator_somDefaultVCopyInit *somTD_ODArbitrator_somDefaultVCopyInit;
typedef void   SOMLINK somTP_ODArbitrator_somDefaultConstVCopyInit(ODArbitrator *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODArbitrator_somDefaultConstVCopyInit *somTD_ODArbitrator_somDefaultConstVCopyInit;
typedef ODArbitrator*   SOMLINK somTP_ODArbitrator_somDefaultConstAssign(ODArbitrator *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODArbitrator_somDefaultConstAssign *somTD_ODArbitrator_somDefaultConstAssign;
typedef ODArbitrator*   SOMLINK somTP_ODArbitrator_somDefaultVAssign(ODArbitrator *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODArbitrator_somDefaultVAssign *somTD_ODArbitrator_somDefaultVAssign;
typedef ODArbitrator*   SOMLINK somTP_ODArbitrator_somDefaultConstVAssign(ODArbitrator *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODArbitrator_somDefaultConstVAssign *somTD_ODArbitrator_somDefaultConstVAssign;
typedef void   SOMLINK somTP_ODArbitrator_somFree(ODArbitrator *somSelf);
typedef somTP_ODArbitrator_somFree *somTD_ODArbitrator_somFree;
typedef SOMClass*   SOMLINK somTP_ODArbitrator_somGetClass(ODArbitrator *somSelf);
typedef somTP_ODArbitrator_somGetClass *somTD_ODArbitrator_somGetClass;
typedef string   SOMLINK somTP_ODArbitrator_somGetClassName(ODArbitrator *somSelf);
typedef somTP_ODArbitrator_somGetClassName *somTD_ODArbitrator_somGetClassName;
typedef long   SOMLINK somTP_ODArbitrator_somGetSize(ODArbitrator *somSelf);
typedef somTP_ODArbitrator_somGetSize *somTD_ODArbitrator_somGetSize;
typedef boolean   SOMLINK somTP_ODArbitrator_somIsA(ODArbitrator *somSelf,
		SOMClass* aClassObj);
typedef somTP_ODArbitrator_somIsA *somTD_ODArbitrator_somIsA;
typedef boolean   SOMLINK somTP_ODArbitrator_somIsInstanceOf(ODArbitrator *somSelf,
		SOMClass* aClassObj);
typedef somTP_ODArbitrator_somIsInstanceOf *somTD_ODArbitrator_somIsInstanceOf;
typedef boolean   SOMLINK somTP_ODArbitrator_somRespondsTo(ODArbitrator *somSelf,
		somId mId);
typedef somTP_ODArbitrator_somRespondsTo *somTD_ODArbitrator_somRespondsTo;
typedef boolean   SOMLINK somTP_ODArbitrator_somDispatch(ODArbitrator *somSelf,
		somToken* retValue,
		somId methodId,
		va_list ap);
typedef somTP_ODArbitrator_somDispatch *somTD_ODArbitrator_somDispatch;
typedef boolean   SOMLINK somTP_ODArbitrator_somClassDispatch(ODArbitrator *somSelf,
		SOMClass* clsObj,
		somToken* retValue,
		somId methodId,
		va_list ap);
typedef somTP_ODArbitrator_somClassDispatch *somTD_ODArbitrator_somClassDispatch;
typedef boolean   SOMLINK somTP_ODArbitrator_somCastObj(ODArbitrator *somSelf,
		SOMClass* cls);
typedef somTP_ODArbitrator_somCastObj *somTD_ODArbitrator_somCastObj;
typedef boolean   SOMLINK somTP_ODArbitrator_somResetObj(ODArbitrator *somSelf);
typedef somTP_ODArbitrator_somResetObj *somTD_ODArbitrator_somResetObj;
typedef SOMObject*   SOMLINK somTP_ODArbitrator_somPrintSelf(ODArbitrator *somSelf);
typedef somTP_ODArbitrator_somPrintSelf *somTD_ODArbitrator_somPrintSelf;
typedef void   SOMLINK somTP_ODArbitrator_somDumpSelf(ODArbitrator *somSelf,
		long level);
typedef somTP_ODArbitrator_somDumpSelf *somTD_ODArbitrator_somDumpSelf;
typedef void   SOMLINK somTP_ODArbitrator_somDumpSelfInt(ODArbitrator *somSelf,
		long level);
typedef somTP_ODArbitrator_somDumpSelfInt *somTD_ODArbitrator_somDumpSelfInt;
}

#endif /* ODArbitrator_API */


/*
 * -- This emitter believes that method thunks are unavailable,
 * -- so somResolve will be called.
 */
#undef somresolve_
#define somresolve_(obj,mToken) (somResolve(obj,mToken))

/*
 * -- The C++ Wrapper Class for ODArbitrator
 */
class ODArbitrator : public ODObject
{
public:

// ODArbitrator::new creates the class object if necessary, and then uses somNewNoInit
// to allocate memory and create the object. Initialization is in ctors.
void *operator new(size_t)
{
   if (!_ODArbitrator) ODArbitratorNewClass(ODArbitrator_MajorVersion,ODArbitrator_MinorVersion);
   return (void*)
      SOM_Resolve(_ODArbitrator,SOMClass,somNewNoInit)
         ((SOMClass *)((void*)_ODArbitrator));
}

// ODArbitrator::delete uses somDestruct.
void operator delete(void * obj)
{
   if (obj && *(void**)obj) {
      SOM_Resolve(obj,SOMObject,somDestruct)
         ((SOMObject*)obj, 1, 0);
   }
}

ODArbitrator()
{
   if (*(void**)this != 
       ((somParentMtabStructPtr)
        (ODArbitratorCClassData.parentMtab))->mtab)
      return;
   ((SOMObject*)((void*)this))->somDefaultInit(0);
}

ODArbitrator(ODArbitrator* fromObj)
{
   if (*(void**)this != 
       ((somParentMtabStructPtr)
        (ODArbitratorCClassData.parentMtab))->mtab)
      return;
   ((SOMObject*)((void*)this))->somDefaultCopyInit(0,((SOMObject*)((void*)fromObj)));
}

ODArbitrator(const ODArbitrator* fromObj)
{
   if (*(void**)this != 
       ((somParentMtabStructPtr)
        (ODArbitratorCClassData.parentMtab))->mtab)
      return;
   ((SOMObject*)((void*)this))->somDefaultConstCopyInit(0,((SOMObject*)((void*)fromObj)));
}


/* method: RequestFocusSet */
ODBoolean   RequestFocusSet(Environment *ev,
		ODFocusSet* focusSet,
		ODFrame* requestingFrame)
{
#ifdef SOMCHKEXCEPT
   ODBoolean __somResult = 
      SOM_ResolveD(this,ODArbitrator,ODArbitrator,RequestFocusSet)
	(this, ev,focusSet,requestingFrame);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODArbitrator,ODArbitrator,RequestFocusSet)
	(this, ev,focusSet,requestingFrame);
#endif
}


/* method: RequestFocus */
ODBoolean   RequestFocus(Environment *ev,
		ODTypeToken focus,
		ODFrame* requestingFrame)
{
#ifdef SOMCHKEXCEPT
   ODBoolean __somResult = 
      SOM_ResolveD(this,ODArbitrator,ODArbitrator,RequestFocus)
	(this, ev,focus,requestingFrame);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODArbitrator,ODArbitrator,RequestFocus)
	(this, ev,focus,requestingFrame);
#endif
}


/* method: RelinquishFocusSet */
void   RelinquishFocusSet(Environment *ev,
		ODFocusSet* focusSet,
		ODFrame* relinquishingFrame)
{
   SOM_ResolveD(this,ODArbitrator,ODArbitrator,RelinquishFocusSet)
	(this, ev,focusSet,relinquishingFrame);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: RelinquishFocus */
void   RelinquishFocus(Environment *ev,
		ODTypeToken focus,
		ODFrame* relinquishingFrame)
{
   SOM_ResolveD(this,ODArbitrator,ODArbitrator,RelinquishFocus)
	(this, ev,focus,relinquishingFrame);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: TransferFocus */
void   TransferFocus(Environment *ev,
		ODTypeToken focus,
		ODFrame* transferringFrame,
		ODFrame* newOwner)
{
   SOM_ResolveD(this,ODArbitrator,ODArbitrator,TransferFocus)
	(this, ev,focus,transferringFrame,newOwner);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: TransferFocusSet */
void   TransferFocusSet(Environment *ev,
		ODFocusSet* focusSet,
		ODFrame* transferringFrame,
		ODFrame* newOwner)
{
   SOM_ResolveD(this,ODArbitrator,ODArbitrator,TransferFocusSet)
	(this, ev,focusSet,transferringFrame,newOwner);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: AcquireFocusOwner */
ODFrame*   AcquireFocusOwner(Environment *ev,
		ODTypeToken focus)
{
#ifdef SOMCHKEXCEPT
   ODFrame* __somResult = 
      SOM_ResolveD(this,ODArbitrator,ODArbitrator,AcquireFocusOwner)
	(this, ev,focus);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODArbitrator,ODArbitrator,AcquireFocusOwner)
	(this, ev,focus);
#endif
}


/* method: CreateOwnerIterator */
ODFocusOwnerIterator*   CreateOwnerIterator(Environment *ev,
		ODTypeToken focus)
{
#ifdef SOMCHKEXCEPT
   ODFocusOwnerIterator* __somResult = 
      SOM_ResolveD(this,ODArbitrator,ODArbitrator,CreateOwnerIterator)
	(this, ev,focus);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODArbitrator,ODArbitrator,CreateOwnerIterator)
	(this, ev,focus);
#endif
}


/* method: RegisterFocus */
void   RegisterFocus(Environment *ev,
		ODTypeToken focus,
		ODFocusModule* focusModule)
{
   SOM_ResolveD(this,ODArbitrator,ODArbitrator,RegisterFocus)
	(this, ev,focus,focusModule);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: UnregisterFocus */
void   UnregisterFocus(Environment *ev,
		ODTypeToken focus)
{
   SOM_ResolveD(this,ODArbitrator,ODArbitrator,UnregisterFocus)
	(this, ev,focus);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: IsFocusRegistered */
ODBoolean   IsFocusRegistered(Environment *ev,
		ODTypeToken focus)
{
#ifdef SOMCHKEXCEPT
   ODBoolean __somResult = 
      SOM_ResolveD(this,ODArbitrator,ODArbitrator,IsFocusRegistered)
	(this, ev,focus);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODArbitrator,ODArbitrator,IsFocusRegistered)
	(this, ev,focus);
#endif
}


/* method: IsFocusExclusive */
ODBoolean   IsFocusExclusive(Environment *ev,
		ODTypeToken focus)
{
#ifdef SOMCHKEXCEPT
   ODBoolean __somResult = 
      SOM_ResolveD(this,ODArbitrator,ODArbitrator,IsFocusExclusive)
	(this, ev,focus);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODArbitrator,ODArbitrator,IsFocusExclusive)
	(this, ev,focus);
#endif
}


/* method: GetFocusModule */
ODFocusModule*   GetFocusModule(Environment *ev,
		ODTypeToken focus)
{
#ifdef SOMCHKEXCEPT
   ODFocusModule* __somResult = 
      SOM_ResolveD(this,ODArbitrator,ODArbitrator,GetFocusModule)
	(this, ev,focus);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODArbitrator,ODArbitrator,GetFocusModule)
	(this, ev,focus);
#endif
}


/* method: CreateFocusSet */
ODFocusSet*   CreateFocusSet(Environment *ev)
{
#ifdef SOMCHKEXCEPT
   ODFocusSet* __somResult = 
      SOM_ResolveD(this,ODArbitrator,ODArbitrator,CreateFocusSet)
	(this, ev);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODArbitrator,ODArbitrator,CreateFocusSet)
	(this, ev);
#endif
}


/*
 * Reintroduce inherited methods
 */

/* method: InitObject */
void   InitObject(Environment *ev)
{
   SOM_ResolveD(this,ODArbitrator,ODObject,InitObject)
	(this, ev);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: HasExtension */
ODBoolean   HasExtension(Environment *ev,
		ODType extensionName)
{
#ifdef SOMCHKEXCEPT
   ODBoolean __somResult = 
      SOM_ResolveD(this,ODArbitrator,ODObject,HasExtension)
	(this, ev,extensionName);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODArbitrator,ODObject,HasExtension)
	(this, ev,extensionName);
#endif
}


/* method: AcquireExtension */
ODExtension*   AcquireExtension(Environment *ev,
		ODType extensionName)
{
#ifdef SOMCHKEXCEPT
   ODExtension* __somResult = 
      SOM_ResolveD(this,ODArbitrator,ODObject,AcquireExtension)
	(this, ev,extensionName);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODArbitrator,ODObject,AcquireExtension)
	(this, ev,extensionName);
#endif
}


/* method: ReleaseExtension */
void   ReleaseExtension(Environment *ev,
		ODExtension* extension)
{
   SOM_ResolveD(this,ODArbitrator,ODObject,ReleaseExtension)
	(this, ev,extension);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: Purge */
ODSize   Purge(Environment *ev,
		ODSize size)
{
#ifdef SOMCHKEXCEPT
   ODSize __somResult = 
      SOM_ResolveD(this,ODArbitrator,ODObject,Purge)
	(this, ev,size);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODArbitrator,ODObject,Purge)
	(this, ev,size);
#endif
}


/* method: IsEqualTo */
ODBoolean   IsEqualTo(Environment *ev,
		ODObject* object)
{
#ifdef SOMCHKEXCEPT
   ODBoolean __somResult = 
      SOM_ResolveD(this,ODArbitrator,ODObject,IsEqualTo)
	(this, ev,object);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODArbitrator,ODObject,IsEqualTo)
	(this, ev,object);
#endif
}


/* method: SubClassResponsibility */
void   SubClassResponsibility(Environment *ev)
{
   SOM_ResolveD(this,ODArbitrator,ODObject,SubClassResponsibility)
	(this, ev);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: somInit */
void   somInit()
{
   SOM_ResolveD(this,ODArbitrator,SOMObject,somInit)
	(this);
}


/* method: somUninit */
void   somUninit()
{
   SOM_ResolveD(this,ODArbitrator,SOMObject,somUninit)
	(this);
}


/* initializer method: somDefaultInit */
void   somDefaultInit(somInitCtrl* ctrl)
{
   SOM_ResolveD(this,ODArbitrator,SOMObject,somDefaultInit)
	(this,ctrl);
}


/* method: somDestruct */
void   somDestruct(octet doFree,
		somDestructCtrl* ctrl)
{
   SOM_ResolveD(this,ODArbitrator,SOMObject,somDestruct)
	(this,doFree,ctrl);
}


/* initializer method: somDefaultCopyInit */
void   somDefaultCopyInit(somInitCtrl* ctrl,
		SOMObject* fromObj)
{
   SOM_ResolveD(this,ODArbitrator,SOMObject,somDefaultCopyInit)
	(this,ctrl,fromObj);
}


/* method: somDefaultAssign */
ODArbitrator*  somDefaultAssign(somAssignCtrl* ctrl,
		SOMObject* fromObj)
{
   return SOM_ResolveD(this,ODArbitrator,SOMObject,somDefaultAssign)
	(this,ctrl,fromObj);
}


/* initializer method: somDefaultConstCopyInit */
void   somDefaultConstCopyInit(somInitCtrl* ctrl,
		SOMObject* fromObj)
{
   SOM_ResolveD(this,ODArbitrator,SOMObject,somDefaultConstCopyInit)
	(this,ctrl,fromObj);
}


/* initializer method: somDefaultVCopyInit */
void   somDefaultVCopyInit(somInitCtrl* ctrl,
		SOMObject* fromObj)
{
   SOM_ResolveD(this,ODArbitrator,SOMObject,somDefaultVCopyInit)
	(this,ctrl,fromObj);
}


/* initializer method: somDefaultConstVCopyInit */
void   somDefaultConstVCopyInit(somInitCtrl* ctrl,
		SOMObject* fromObj)
{
   SOM_ResolveD(this,ODArbitrator,SOMObject,somDefaultConstVCopyInit)
	(this,ctrl,fromObj);
}


/* method: somDefaultConstAssign */
ODArbitrator*  somDefaultConstAssign(somAssignCtrl* ctrl,
		SOMObject* fromObj)
{
   return SOM_ResolveD(this,ODArbitrator,SOMObject,somDefaultConstAssign)
	(this,ctrl,fromObj);
}


/* method: somDefaultVAssign */
ODArbitrator*  somDefaultVAssign(somAssignCtrl* ctrl,
		SOMObject* fromObj)
{
   return SOM_ResolveD(this,ODArbitrator,SOMObject,somDefaultVAssign)
	(this,ctrl,fromObj);
}


/* method: somDefaultConstVAssign */
ODArbitrator*  somDefaultConstVAssign(somAssignCtrl* ctrl,
		SOMObject* fromObj)
{
   return SOM_ResolveD(this,ODArbitrator,SOMObject,somDefaultConstVAssign)
	(this,ctrl,fromObj);
}


/* method: somFree */
void   somFree()
{
   SOM_ResolveD(this,ODArbitrator,SOMObject,somFree)
	(this);
}


/* method: somGetClass */
SOMClass*   somGetClass()
{
   return SOM_ResolveD(this,ODArbitrator,SOMObject,somGetClass)
	(this);
}


/* method: somGetClassName */
string   somGetClassName()
{
   return SOM_ResolveD(this,ODArbitrator,SOMObject,somGetClassName)
	(this);
}


/* method: somGetSize */
long   somGetSize()
{
   return SOM_ResolveD(this,ODArbitrator,SOMObject,somGetSize)
	(this);
}


/* method: somIsA */
boolean   somIsA(SOMClass* aClassObj)
{
   return SOM_ResolveD(this,ODArbitrator,SOMObject,somIsA)
	(this,aClassObj);
}


/* method: somIsInstanceOf */
boolean   somIsInstanceOf(SOMClass* aClassObj)
{
   return SOM_ResolveD(this,ODArbitrator,SOMObject,somIsInstanceOf)
	(this,aClassObj);
}


/* method: somRespondsTo */
boolean   somRespondsTo(somId mId)
{
   return SOM_ResolveD(this,ODArbitrator,SOMObject,somRespondsTo)
	(this,mId);
}


/* va_list method: somDispatch */
/* the va_list invocation form */
boolean   ODArbitrator_somDispatch(somToken* retValue,
		somId methodId,
		va_list ap)
{
return SOM_ResolveD(this,ODArbitrator,SOMObject,somDispatch)
	(this,retValue,methodId,ap);
}

/* the varargs invocation form */
boolean   somDispatch(somToken* retValue,
		somId methodId,
		...)
{
   va_list ap;
   va_start(ap, methodId);
   boolean __somResult = 
      SOM_ResolveD(this,ODArbitrator,SOMObject,somDispatch)
	(this,retValue,methodId,ap);
   va_end(ap);
   return __somResult;
}


/* va_list method: somClassDispatch */
/* the va_list invocation form */
boolean   ODArbitrator_somClassDispatch(SOMClass* clsObj,
		somToken* retValue,
		somId methodId,
		va_list ap)
{
return SOM_ResolveD(this,ODArbitrator,SOMObject,somClassDispatch)
	(this,clsObj,retValue,methodId,ap);
}

/* the varargs invocation form */
boolean   somClassDispatch(SOMClass* clsObj,
		somToken* retValue,
		somId methodId,
		...)
{
   va_list ap;
   va_start(ap, methodId);
   boolean __somResult = 
      SOM_ResolveD(this,ODArbitrator,SOMObject,somClassDispatch)
	(this,clsObj,retValue,methodId,ap);
   va_end(ap);
   return __somResult;
}


/* method: somCastObj */
boolean   somCastObj(SOMClass* cls)
{
   return SOM_ResolveD(this,ODArbitrator,SOMObject,somCastObj)
	(this,cls);
}


/* method: somResetObj */
boolean   somResetObj()
{
   return SOM_ResolveD(this,ODArbitrator,SOMObject,somResetObj)
	(this);
}


/* method: somPrintSelf */
SOMObject*   somPrintSelf()
{
   return SOM_ResolveD(this,ODArbitrator,SOMObject,somPrintSelf)
	(this);
}


/* method: somDumpSelf */
void   somDumpSelf(long level)
{
   SOM_ResolveD(this,ODArbitrator,SOMObject,somDumpSelf)
	(this,level);
}


/* method: somDumpSelfInt */
void   somDumpSelfInt(long level)
{
   SOM_ResolveD(this,ODArbitrator,SOMObject,somDumpSelfInt)
	(this,level);
}



};   /* ODArbitrator */



#endif       /* SOM_ODArbitrator_xh */
