HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GOP_AdhocGroup.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  */
7 #ifndef __GOP_AdhocGroup_h__
8 #define __GOP_AdhocGroup_h__
9 
10 #include "GOP_API.h"
11 #include <SYS/SYS_Types.h>
12 
13 class GA_Group;
14 
16 {
17 public:
19 
20  GOP_AdhocGroup(GA_Group *group, bool ownedbyme)
21  : myGroup(group)
22  , myOwnedByMe(ownedbyme)
23  {}
24 
25  bool operator==(const GOP_AdhocGroup &g) const
26  {
27  return (myGroup == g.myGroup &&
28  myOwnedByMe == g.myOwnedByMe);
29  }
30 
31  // This method will destroy the adhoc group from the gdp.
32  // It should return true if it actually removes a group
33  // from the gdp, or false otherwise.
34  bool destroyAdhocGroup();
35 
36  int64 getMemoryUsage(bool inclusive) const;
37 
38 public:
41 };
42 
43 #endif
bool operator==(const GOP_AdhocGroup &g) const
GLboolean GLboolean g
Definition: glcorearb.h:1222
#define GOP_API
Definition: GOP_API.h:10
GOP_AdhocGroup(GA_Group *group, bool ownedbyme)
long long int64
Definition: SYS_Types.h:116
GA_Group * myGroup