VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ifAdminSyncMatrixAddObjectsRequest.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2021 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
13 #include "vrfmsgs/vrfmsgsDefines.h"
14 
15 #include <vrftasks/adminContent.h>
16 
20 {
21 
22 public:
23 
24  typedef std::vector<DtUUID> SyncMatrixObjects;
27 
30 
33 
35 
36  virtual const DtAdminContentMessageType& type() const;
37 
38  virtual DtAdminContent* clone() const;
39 
41 
42  virtual void addObject(const DtUUID& uuid);
43  virtual const SyncMatrixObjects& objects() const;
45 
46  virtual int netRepSize() const;
47  virtual bool setFromNet(const char* contentBuffer, unsigned contentSize);
48  virtual bool setToNet();
49  virtual DtString stringRep() const;
50 
51  static DtAdminContent* create();
52 
53 protected:
55 };
UUID is a unique ID wrapper class.
Definition: rwUUID.h:229
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
#define DT_DLL_vrfmsgs
This file is used to determine how to build.
Definition: vrfmsgsDefines.h:28
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 to request addition of objects to a synchronization matrix. A DtIfSyncMatrixObjectsList...
Definition: ifAdminSyncMatrixAddObjectsRequest.h:19
Definition: vrfObjectMessageTypeTemplate.h:24
std::vector< DtUUID > SyncMatrixObjects
Definition: ifAdminSyncMatrixAddObjectsRequest.h:24
const DtAdminContent & operator=(const DtAdminContent &orig)
assignment operator; same as copy costructor.
SyncMatrixObjects myObjects
Definition: ifAdminSyncMatrixAddObjectsRequest.h:54
DtAdminContent.
Definition: adminContent.h:23
virtual const DtAdminContentMessageType & type() const =0
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 Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)