VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
rwSyncMatrixPhase.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2021 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include "vrfplan/vrfplanDefines.h"
13 #include <readerWriter/rwString.h>
14 #include <vrfplan/rwCondExpr.h>
16 
17 
22 
24 {
25 public:
26 
28  DtRwSyncMatrixPhase(const DtString & name = "phase", DtReaderWriterRegistry*
29  parentRegistry = 0);
30 
32  virtual ~DtRwSyncMatrixPhase() override;
33 
35  DtRwSyncMatrixPhase(const DtRwSyncMatrixPhase& orig, DtReaderWriterRegistry* parentRegistry = 0);
36 
39 
41  virtual DtRwSyncMatrixPhase* clone(const DtString& name,
42  DtReaderWriterRegistry * parentRegistry = 0) const;
43 
45  virtual void setPhaseName(const DtString& phaseName);
46  virtual const DtString& phaseName() const;
47 
49  virtual void setStarted(bool started);
50  virtual bool started() const;
51 
53  virtual void setCompleted(bool completed);
54  virtual bool completed() const;
55 
57  virtual void setEndCondition(const DtSimCondExpr* endCondition);
58  virtual const DtSimCondExpr* endCondition() const;
59 
60 protected:
65 
66 };
67 
69 DT_DLL_vrfplan char* encode(const DtRwSyncMatrixPhase& phase, char *buffer);
70 DT_DLL_vrfplan const char* decode(DtRwSyncMatrixPhase& phase, const char *buffer);
DtRwCondExpr myEndCondition
Definition: rwSyncMatrixPhase.h:64
DT_DLL_readerWriter int getSize(const DtString &val)
The number of bytes required to encode the value.
Definition: readerWriter.h:85
Description: Readable, Writable DtString Variable substitutions are done on this object when it is re...
Definition: rwString.h:20
DtRwString myPhaseName
Definition: rwSyncMatrixPhase.h:61
Definition: readerWriterRegistry.h:39
DT_DLL_readerWriter char * encode(const DtFilename &val, char *buffer)
Serializes the provided value val into buffer. buffer must have at least the number of bytes returned...
DtSimCondExpr is an abstract base class representing various Conditional Expressions used by the Plan...
Definition: simCondExpr.h:53
class DtRwSyncMatrixPhase:
Definition: rwSyncMatrixPhase.h:23
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
class DtRwCondExpr:
Definition: rwCondExpr.h:26
DtRwBoolean myCompleted
Definition: rwSyncMatrixPhase.h:63
#define DT_DLL_vrfplan
This file is used to determine how to build.
Definition: vrfplanDefines.h:28
const DtReaderWriter & operator=(const DtReaderWriter &orig)
assignment operator
DT_DLL_readerWriter const char * decode(DtString &val, const char *buffer)
Decodes a value from buffer and places the result in val of the type specified by val...
DtRwBoolean myStarted
Definition: rwSyncMatrixPhase.h:62

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)