XBGamerProfile Class Reference

#include <xbGamerProfile.h>

Inheritance diagram for XBGamerProfile:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 DECLARE_CONOBJECT (XBGamerProfile)
 XBGamerProfile ()
virtual ~XBGamerProfile ()
bool isProfileLoaded () const
virtual bool init (S32 userIndex)
virtual bool loadProfile ()
virtual bool saveProfile (const char *string)
bool isBusy () const

Static Public Member Functions

static void process ()
static void initPersistFields ()
 Register dynamic fields in a subclass of ConsoleObject.

Protected Member Functions

virtual void onProfileLoadedCallback (bool successful)
virtual void onProfileSavedCallback (bool successful)

Private Types

typedef SimObject Parent
 IntegerProfileSlots = 100
enum  { IntegerProfileSlots = 100 }

Private Attributes

bool mProfileLoaded
S32 mUserIndex
XOVERLAPPED mXOverlapped
XUSER_READ_PROFILE_SETTING_RESULT * mReadProfileSettingsResult
DWORD mSettingSize
bool mIsReadPending
bool mIsWritePending
U32 mIntegerProfileInfo [IntegerProfileSlots]

Static Private Attributes

static VectorPtr< XBGamerProfile * > smProfiles

Member Typedef Documentation

typedef SimObject XBGamerProfile::Parent [private]

Reimplemented from SimObject.


Member Enumeration Documentation

anonymous enum [private]

Enumerator:
IntegerProfileSlots 


Constructor & Destructor Documentation

XBGamerProfile::XBGamerProfile (  ) 

virtual XBGamerProfile::~XBGamerProfile (  )  [virtual]


Member Function Documentation

virtual void XBGamerProfile::onProfileLoadedCallback ( bool  successful  )  [protected, virtual]

virtual void XBGamerProfile::onProfileSavedCallback ( bool  successful  )  [protected, virtual]

XBGamerProfile::DECLARE_CONOBJECT ( XBGamerProfile   ) 

bool XBGamerProfile::isProfileLoaded (  )  const [inline]

virtual bool XBGamerProfile::init ( S32  userIndex  )  [virtual]

virtual bool XBGamerProfile::loadProfile (  )  [virtual]

virtual bool XBGamerProfile::saveProfile ( const char *  string  )  [virtual]

static void XBGamerProfile::process (  )  [static]

static void XBGamerProfile::initPersistFields (  )  [static]

Register dynamic fields in a subclass of ConsoleObject.

See also:
addField(), addFieldV(), addDeprecatedField(), addGroup(), endGroup()

Reimplemented from SimObject.

bool XBGamerProfile::isBusy (  )  const [inline]


Member Data Documentation

XOVERLAPPED XBGamerProfile::mXOverlapped [private]

XUSER_READ_PROFILE_SETTING_RESULT* XBGamerProfile::mReadProfileSettingsResult [private]

U32 XBGamerProfile::mIntegerProfileInfo[IntegerProfileSlots] [private]