F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
FpySequencer_StoreRelConstOffsetDirectiveSerializableAc.hpp
Go to the documentation of this file.
1 // ======================================================================
2 // \title FpySequencer_StoreRelConstOffsetDirectiveSerializableAc.hpp
3 // \author Generated by fpp-to-cpp
4 // \brief hpp file for FpySequencer_StoreRelConstOffsetDirective struct
5 // ======================================================================
6 
7 #ifndef Svc_FpySequencer_StoreRelConstOffsetDirectiveSerializableAc_HPP
8 #define Svc_FpySequencer_StoreRelConstOffsetDirectiveSerializableAc_HPP
9 
10 #include "Fw/FPrimeBasicTypes.hpp"
13 #include "Fw/Types/String.hpp"
16 
17 namespace Svc {
18 
21  public Fw::Serializable
22  {
23 
24  public:
25 
26  // ----------------------------------------------------------------------
27  // Constants
28  // ----------------------------------------------------------------------
29 
30  enum {
35  };
36 
37  public:
38 
39  // ----------------------------------------------------------------------
40  // Constructors
41  // ----------------------------------------------------------------------
42 
45 
50  );
51 
55  );
56 
57  public:
58 
59  // ----------------------------------------------------------------------
60  // Operators
61  // ----------------------------------------------------------------------
62 
66  );
67 
69  bool operator==(
71  ) const;
72 
74  bool operator!=(
76  ) const;
77 
78 #ifdef BUILD_UT
79 
81  friend std::ostream& operator<<(
82  std::ostream& os,
84  );
85 
86 #endif
87 
88  public:
89 
90  // ----------------------------------------------------------------------
91  // Member functions
92  // ----------------------------------------------------------------------
93 
96  Fw::SerialBufferBase& buffer,
98  ) const;
99 
102  Fw::SerialBufferBase& buffer,
104  );
105 
107  FwSizeType serializedSize() const;
108 
109 #if FW_SERIALIZABLE_TO_STRING
110 
112  void toString(
113  Fw::StringBase& sb
114  ) const;
115 
116 #endif
117 
118  // ----------------------------------------------------------------------
119  // Getter functions
120  // ----------------------------------------------------------------------
121 
124  {
125  return this->m_lvarOffset;
126  }
127 
130  {
131  return this->m_size;
132  }
133 
134  // ----------------------------------------------------------------------
135  // Setter functions
136  // ----------------------------------------------------------------------
137 
139  void set(
142  );
143 
146 
149 
150  protected:
151 
152  // ----------------------------------------------------------------------
153  // Member variables
154  // ----------------------------------------------------------------------
155 
158 
159  };
160 
161 }
162 
163 #endif
PlatformSizeType FwSizeType
I32 SignedStackSizeType
signed version of StackSizeType, used for relative offsets that can be negative
stores a value to a local variable at a compile-time-known offset relative to the current stack frame...
FpySequencer_StoreRelConstOffsetDirective & operator=(const FpySequencer_StoreRelConstOffsetDirective &obj)
Copy assignment operator.
Fw::SerializeStatus serializeTo(Fw::SerialBufferBase &buffer, Fw::Endianness mode=Fw::Endianness::BIG) const
Serialization.
Svc::Fpy::SignedStackSizeType get_lvarOffset() const
Get member lvarOffset.
SerializeStatus
forward declaration for string
bool operator==(const FpySequencer_StoreRelConstOffsetDirective &obj) const
Equality operator.
bool operator!=(const FpySequencer_StoreRelConstOffsetDirective &obj) const
Inequality operator.
FwSizeType serializedSize() const
Get the dynamic serialized size of the struct.
RateGroupDivider component implementation.
Fw::SerializeStatus deserializeFrom(Fw::SerialBufferBase &buffer, Fw::Endianness mode=Fw::Endianness::BIG)
Deserialization.
void set_lvarOffset(Svc::Fpy::SignedStackSizeType lvarOffset)
Set member lvarOffset.
Endianness
Big endian serialization.
U32 StackSizeType
the type which everything referencing a size or offset on the stack is represented in ...