@@ -98,9 +98,15 @@ class Parameters
9898 // / Type for the gbt mux map parameter
9999 using GbtMuxMapType = std::map<uint32_t , GbtMux::type>;
100100
101+ // / Type for the allow rejection parameter
102+ using AllowRejectionType = bool ;
103+
101104 // / Type for the clock parameter
102105 using ClockType = Clock::type;
103106
107+ // / Type for the CRU ID
108+ using CruIdType = Hex::type;
109+
104110 // / Type for the datapath mode parameter
105111 using DatapathModeType = DatapathMode::type;
106112
@@ -125,9 +131,6 @@ class Parameters
125131 // / Type for the STBRD enabled parameter
126132 using StbrdEnabledType = bool ;
127133
128- // / Type for the CRU ID
129- using CruIdType = Hex::type;
130-
131134 // Setters
132135
133136 // / Sets the CardId parameter
@@ -295,6 +298,14 @@ class Parameters
295298 // / \return Reference to this object for chaining calls
296299 auto setLinkMask (LinkMaskType value) -> Parameters&;
297300
301+ // / Sets the AllowRejection parameter
302+ // /
303+ // / If enabled the PON upstream is used.
304+ // /
305+ // / \param value The value to set
306+ // / \return Reference to this object for chaining calls
307+ auto setAllowRejection (AllowRejectionType value) -> Parameters&;
308+
298309 // / Sets the Clock Parameter
299310 // /
300311 // / The Clock parameter refers to the selection of the TTC or Local clock for the CRU configuration
@@ -303,6 +314,11 @@ class Parameters
303314 // / \return Reference to this object for chaining calls
304315 auto setClock (ClockType value) -> Parameters&;
305316
317+ // / Sets the CruId parameter
318+ // /
319+ // / \param value The value to set
320+ // / \return Reference to this object for chaining calls
321+ auto setCruId (CruIdType value) -> Parameters&;
306322
307323 // / Sets the DatapathMode Parameter
308324 // /
@@ -356,19 +372,20 @@ class Parameters
356372 // / \return Reference to this object for chaining calls
357373 auto setStbrdEnabled (StbrdEnabledType value) -> Parameters&;
358374
359- // / Sets the CruId parameter
360- // /
361- // / \param value The value to set
362- // / \return Reference to this object for chaining calls
363- auto setCruId (CruIdType value) -> Parameters&;
364-
365-
366375 // on-throwing getters
367376
377+ // / Gets the AllowRejection parameter
378+ // / \return The value wrapped in an optional if it is present, or an empty optional if it was not
379+ auto getAllowRejection () const -> boost::optional<AllowRejectionType>;
380+
368381 // / Gets the CardId parameter
369382 // / \return The value wrapped in an optional if it is present, or an empty optional if it was not
370383 auto getCardId () const -> boost::optional<CardIdType>;
371384
385+ // / Gets the CruId parameter
386+ // / \return The value wrapped in an optional if it is present, or an empty optional if it was not
387+ auto getCruId () const -> boost::optional<CruIdType>;
388+
372389 // / Gets the ChannelNumber parameter
373390 // / \return The value wrapped in an optional if it is present, or an empty optional if it was not
374391 auto getChannelNumber () const -> boost::optional<ChannelNumberType>;
@@ -449,12 +466,13 @@ class Parameters
449466 // / \return The value wrapped in an optional if it is present, or an empty optional if it was not
450467 auto getStbrdEnabled () const -> boost::optional<StbrdEnabledType>;
451468
452- // / Gets the CruId parameter
453- // / \return The value wrapped in an optional if it is present, or an empty optional if it was not
454- auto getCruId () const -> boost::optional<CruIdType>;
455-
456469 // Throwing getters
457470
471+ // / Gets the AllowRejection parameter
472+ // / \exception ParameterException The parameter was not present
473+ // / \return The value
474+ auto getAllowRejectionRequired () const -> AllowRejectionType;
475+
458476 // / Gets the CardId parameter
459477 // / \exception ParameterException The parameter was not present
460478 // / \return The value
@@ -530,6 +548,11 @@ class Parameters
530548 // / \return The value
531549 auto getClockRequired () const -> ClockType;
532550
551+ // / Gets the CruId parameter
552+ // / \exception ParameterException The parameter was not present
553+ // / \return The value
554+ auto getCruIdRequired () const -> CruIdType;
555+
533556 // / Gets the DatapathMode Parameter
534557 // / \exception ParameterException The parameter was not present
535558 // / \return The value
@@ -560,11 +583,6 @@ class Parameters
560583 // / \return The value
561584 auto getStbrdEnabledRequired () const -> StbrdEnabledType;
562585
563- // / Gets the CruId parameter
564- // / \exception ParameterException The parameter was not present
565- // / \return The value
566- auto getCruIdRequired () const -> CruIdType;
567-
568586 // Helper functions
569587
570588 // / Convenience function to make a Parameters object with card ID and channel number, since these are the most
0 commit comments