VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
requestBehaviorGraphAdminContent.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2021 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
14 #include "vrftasks/adminContent.h"
15 #include <vlutil/vlString.h>
18 
25 {
26 public:
27 
29  {
31  DtGenerateGraphRequest
32  };
33 
36 
39 
43 
46 
48  static DtAdminContent* create();
49 
51  virtual bool init();
52 
54  virtual const DtAdminContentMessageType& type() const;
55 
59  virtual GraphRequestType graphRequestType() const;
60  virtual void setGraphRequestType(const GraphRequestType requestType);
62 
67  //{@
68  virtual bool graphOutputEnabled() const;
69  virtual void setGraphOutputEnabled(bool b);
71 
74  virtual DtSimTaskMessageType taskType() const;
75  virtual void setTaskType(DtSimTaskMessageType taskType);
76 
79  virtual DtAdminContent * clone() const;
80 
82  virtual DtString stringRep() const;
83 
85  virtual int netRepSize() const;
86 
88  virtual bool setFromNet(const char* contentBuffer,
89  unsigned contentSize);
90 
92  virtual bool setToNet();
93 
94 protected:
98 };
99 
100 
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
Sets the contents of this set request based on the network buffer. Base class does nothing and return...
virtual int netRepSize() const
DtSimTaskMessageType myTaskType
Definition: requestBehaviorGraphAdminContent.h:96
bool myGraphOutputEnabled
Definition: requestBehaviorGraphAdminContent.h:97
GraphRequestType myRequestType
Definition: requestBehaviorGraphAdminContent.h:95
virtual DtAdminContent * clone() const =0
Make a copy of this content. Returns a pointer to a newly created copy of this class. Derived classes must override this function to create and return an instance of the derived type.
Admin content that is used to ask a behavior to start producing graphical output and sending it back ...
Definition: requestBehaviorGraphAdminContent.h:24
Definition: requestBehaviorGraphAdminContent.h:30
Definition: vrfObjectMessageTypeTemplate.h:24
const DtAdminContent & operator=(const DtAdminContent &orig)
assignment operator; same as copy costructor.
#define DT_DLL_vrftasks
This file is used to determine how to build.
Definition: vrftasksDefines.h:26
virtual bool init()
Base class init does nothing, but this will be called by create, in case any other deriving class nee...
DtAdminContent.
Definition: adminContent.h:23
virtual const DtAdminContentMessageType & type() const =0
GraphRequestType
Definition: requestBehaviorGraphAdminContent.h:28
virtual bool setToNet()
Sets netRep buffer to the contents of this set request. Base class does nothing and returns true...
virtual DtString stringRep() const =0
Get a readable string representation of this content. Derived classes must implement this function...

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)