WebLVC 1.7d API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
modObjectMgr.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2015 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include "pFruit.h"
13 
15 
20 {
21 public:
22 
26 
28  virtual ~DtModObjectViewComponent();
29 
30 protected:
31 
34 
37  virtual void registerCallbacks();
38 
41  virtual void removeCallbacks();
42 
43  static void discoverFruitCb( const DtPortalReflectedFruit& obj, void* usrData );
44  static void updateFruitCb( const DtPortalReflectedFruit& obj, void* usrData );
45  static void deleteFruitCb( const DtPortalReflectedFruit& obj, void* usrData );
46 
47 private:
48 
51 
54 
55 protected:
56 
58 
59 };
This file subclasses the DtObjectViewComponent to display new object types in the portal GUI...
Definition: modObjectMgr.h:19
static void deleteFruitCb(const DtPortalReflectedFruit &obj, void *usrData)
Manages collections of ReflectedObjects of Type T_ReflectedObject.
Definition: pReflectedObjectManager.h:38
static void updateFruitCb(const DtPortalReflectedFruit &obj, void *usrData)
DtPortalReflectedFruitManager * myRefFruitMgr
Definition: modObjectMgr.h:57
static DtObjectViewComponent * create(MAKVrExchange::DtPortalConnection *pConn, QWidget *parent)
Static creation method we can register with our DtPortalAppGui class.
Contains the DtObjectViewComponent class declaration.
Responsible for the display of an object's discovery, update, and removal recevied from the portal on...
Definition: pObjectViewComponent.h:51
DtModObjectViewComponent & operator=(const DtModObjectViewComponent &orig)
Assignment Operator - Not Implemented.
DtModObjectViewComponent(MAKVrExchange::DtPortalConnection *pconn, QWidget *parent)
Protected CTOR (Use create method).
A template to create reflected object types for each type of object message.
Definition: pReflectedObject.h:58
Contains the DtPortalFruit class declaration.
static void discoverFruitCb(const DtPortalReflectedFruit &obj, void *usrData)
Connects a broker to the Portal Data Exchange.
Definition: pConnection.h:49
DtObjectViewComponent(DtPortalConnection *pConn, QWidget *parent)
Protected CTOR (Use create method).
virtual void removeCallbacks()
Delete reflected object lists (unregisters callbacks).
virtual void registerCallbacks()
Instantiate reflected object lists and register callbacks.
virtual ~DtModObjectViewComponent()
Destructor.

Document ID: Generated on Wed Jun 21 15:05:44 EDT 2023 from SVN revision 256253
Copyright © 2005-2023 MAK Technologies. All Rights Reserved (www.mak.com)