VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
diGuyGestureController.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2017 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
7 
8 #pragma once
9 
12 #include "vrfutil/simClock.h"
13 
14 class DtSimMessage;
16 
21 {
22 public:
23 
27  DtVrfObject* owner,
28  DtSimManager* simManager,
29  DtComponentDescriptor* desc = 0,
30  DtReaderWriterRegistry* parentRegistry = 0);
31 
33  virtual ~DtDiGuyGestureController();
34 
37  virtual const char* type() const;
38 
41  virtual bool init();
42 
48  virtual bool createPSR();
49 
51  virtual void tick();
52 
53  static void gestureTaskCallback(DtSimMessage * msg, void * usrData);
54  virtual void processGestureTask(DtSimMessage * msg);
55 
57  virtual void taskComplete(bool success = true);
58 
62  static DtSimComponent * creator(const DtString& name,
63  DtVrfObject* owner,
64  DtSimManager* simManager,
65  DtComponentDescriptor* desc = 0,
66  DtReaderWriterRegistry* parentRegistry = 0);
67 
68 protected:
70  virtual void registerTaskMsgCallbacks();
71 
72 protected:
75  virtual double executeGesture(const DtString&);
76 
78  virtual void stopGesture(const DtString&);
79 
80 protected:
83 
86 
89  orig);
90 
91 protected:
95 };

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)