VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
sendRadioMessageController.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 
10 
11 #pragma once
12 
15 
16 class DtSendTextTask;
17 class DtVrfObjectMessage;
20 class DtVrfRadio;
21 
29 {
30 public:
33  DtSimManager * simManager, DtComponentDescriptor* desc = NULL,
34  DtReaderWriterRegistry * parentRegistry = 0);
35 
38 
39 private:
42 
43 public:
45  virtual const char* type() const;
46 
48  virtual bool init();
49 
50  virtual void tick();
51 
53  static DtSimComponent* creator(const DtString & name, DtVrfObject* owner,
54  DtSimManager * simManager, DtComponentDescriptor* desc,
55  DtReaderWriterRegistry * parentRegistry);
56 
57 protected:
58  virtual void registerTaskMsgCallbacks();
59 
63  virtual DtVrfRadio* radioToUse();
64 
66 
67  static void sendTextTaskCallback(DtSimMessage* msg, void* usr);
68  virtual void processSendTextTask(DtSimMessage* msg);
70 
72 
73  static void sendTaskMessageTaskCallback(DtSimMessage* msg, void* usr);
74  virtual void processSendTaskMessageTask(DtSimMessage* msg);
76 
78 
79  static void sendSetMessageTaskCallback(DtSimMessage* msg, void* usr);
80  virtual void processSendSetMessageTask(DtSimMessage* msg);
82 
85 
86  static void textReportCallback(const DtVrfObjectMessage* msg, void* usr);
87  virtual void processTextReport(const DtVrfObjectMessage* msg);
89 
91  virtual void executeSendTextTask(const DtSendTextTask* task);
92 
94  virtual void executeSendTaskMessageTask(const DtSendTaskMessageTask* task);
95 
97  virtual void executeSendSetMessageTask(const DtSendSetMessageTask* task);
98 
99 protected:
100 };

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)