VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
genericSetRwRequestAdmin.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2019 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
13 #include "vrftasks/adminContent.h"
14 
16 {
20 };
21 class DtReaderWriter;
26 {
27 public:
28 
31 
34 
37 
39  virtual ~DtGenericSetRwRequestAdmin() override;
40 
42  static DtAdminContent* create();
43 
45  virtual bool init() override;
46 
48  virtual const DtAdminContentMessageType& type() const override;
49 
52  virtual DtAdminContent * clone() const override;
53 
55  virtual DtString stringRep() const override;
56 
58  virtual int netRepSize() const override;
59 
61  virtual bool setFromNet(const char* contentBuffer, unsigned contentSize) override;
62 
64  virtual bool setToNet() override;
65 
66 
68 
69  virtual void setSubscribe(DtGenericSetRwRequestSubscriptionType sub);
70  virtual const DtGenericSetRwRequestSubscriptionType subscribe() const;
72 
74 
75  virtual void setSetMessageType(const DtSetMessageType& name);
76  virtual const DtSetMessageType& setMessageType() const;
78 
79 
80 protected:
81  DtU32 mySubscribe;
83 };
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
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.
DtU32 mySubscribe
Definition: genericSetRwRequestAdmin.h:81
Definition: readerWriter.h:85
Definition: genericSetRwRequestAdmin.h:19
Definition: vrfObjectMessageTypeTemplate.h:24
Admin content for a message that requests the available system lists for an entity The expected respo...
Definition: genericSetRwRequestAdmin.h:25
DtGenericSetRwRequestSubscriptionType
Definition: genericSetRwRequestAdmin.h:15
const DtAdminContent & operator=(const DtAdminContent &orig)
assignment operator; same as copy costructor.
Definition: genericSetRwRequestAdmin.h:17
DtSetMessageType mySetMessageType
Definition: genericSetRwRequestAdmin.h:82
#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
Definition: genericSetRwRequestAdmin.h:18
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 Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)