The C++ framework for developing highly scalable, high performance servers on Windows platforms.

COpaqueUserData Class Reference
[Opaque user data]

Collaboration diagram for COpaqueUserData:

List of all members.

Detailed Description

A class that provides a single instance of 'opaque user data' (that is data that is stored as either a void * or an unsigned long and that is basically anything that the user wants to store). This represents a single storage location so a call to GetUserPointer() and GetUserData() will return the same data, just viewed in different ways.

Public Member Functions

 COpaqueUserData (const COpaqueUserData &rhs)
COpaqueUserDataoperator= (const COpaqueUserData &rhs)
void * GetUserPointer () const
void SetUserPointer (void *pData)
ULONG_PTR GetUserData () const
void SetUserData (ULONG_PTR data)

Protected Member Functions

 COpaqueUserData ()
 ~COpaqueUserData ()

Constructor & Destructor Documentation

COpaqueUserData ( const COpaqueUserData rhs  ) 

COpaqueUserData (  )  [protected]

~COpaqueUserData (  )  [protected]

Member Function Documentation

COpaqueUserData& operator= ( const COpaqueUserData rhs  ) 

void * GetUserPointer (  )  const

void SetUserPointer ( void *  pData  ) 

ULONG_PTR GetUserData (  )  const

void SetUserData ( ULONG_PTR  data  ) 

Generated on Sun Sep 12 19:08:46 2021 for The Server Framework - v7.4 by doxygen 1.5.3