VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
environmentalActivationController.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
13 
14 class DtSimMessage;
16 
20 {
21 public:
24  DtSimManager * simManager, DtComponentDescriptor* desc = NULL,
25  DtReaderWriterRegistry * parentRegistry = 0);
26 
29 
30 private:
33 
36 
37 public:
38  virtual const char* type() const;
39 
41  static DtSimComponent* creator(const DtString & name, DtVrfObject* owner,
42  DtSimManager * simManager, DtComponentDescriptor* desc,
43  DtReaderWriterRegistry * parentRegistry);
44 
45  static void setActivationCallback(DtSimMessage *msg, void * usrData);
46  virtual void processSetActivationCallback(DtSimMessage *msg);
47 
48 protected:
50  virtual bool init();
51 
53  virtual void tick();
54 
56  virtual void updateBasedOnActivationState();
57 
59  virtual void preFirstTickInit();
60 
61 protected:
64 };
65 

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)