VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
simTaskFactory.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
16 
17 class DtSimTask;
18 
22 class DT_DLL_vrftasks DtSimTaskFactory : public DtFactoryTemplate<DtSimTask, DtSimTaskMessageType>
23 {
24 public:
26  virtual ~DtSimTaskFactory();
27 
30 
31  virtual DtSimTask* createTask(const DtSimTaskMessageType& type);
33 
34  static DtSimTaskFactory* create();
35 
36 protected:
38  virtual DtString creationTypeName() const;
39 };
40 
Factory for DtSimTask instances used in messages. Overridden from the template class to specialize th...
Definition: simTaskFactory.h:22
static DtFactoryTemplate< T_CreationObject, T_Key > * create()
Template for factory classes that create an object (T_CreationObject) that is associated with a parti...
Definition: factoryTemplate.h:29
DtSimTaskFactory::DtCreatorFcn DtSimTaskCreatorFcn
Definition: simTaskFactory.h:41
Define constants for types of tasks, sets, admin messages, reports, and sim commands (all sent via ra...
#define DT_DLL_vrftasks
This file is used to determine how to build.
Definition: vrftasksDefines.h:26
DtSimTask *(* DtCreatorFcn)()
Definition: factoryTemplate.h:43
DtSimTask is an abstract base class from which real tasks can derive. It manages the read/write capab...
Definition: simTask.h:30

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)