1#ifndef FUNCTION_GROUP_STATE_H 
    2#define FUNCTION_GROUP_STATE_H 
    5#include "./function_group.h" 
   16            std::string mStateMetaModel;
 
   20                std::string metaModelIdentifier);
 
   28                std::string metaModelIdentifier);
 
   43            const std::string &
GetState() 
const noexcept;
 
   48            void Serialize(std::vector<uint8_t> &serializedObject) 
const;
 
   52                return (mFunctionGroup == other.mFunctionGroup) &&
 
   53                       (mStateMetaModel == other.mStateMetaModel);
 
   58                return (mFunctionGroup != other.mFunctionGroup) ||
 
   59                       (mStateMetaModel != other.mStateMetaModel);
 
A wrapper around the callee's return value and its possible error.
Definition: result.h:16
Class that links a function group to a certain state.
Definition: function_group_state.h:13
void Serialize(std::vector< uint8_t > &serializedObject) const
Serialized the object.
Definition: function_group_state.cpp:51
const std::string & GetState() const noexcept
Get the state bound to the instance.
Definition: function_group_state.cpp:46
static core::Result< FunctionGroupState > Create(const FunctionGroup &functionGroup, std::string metaModelIdentifier)
FunctionGroupState factory.
Definition: function_group_state.cpp:16
const FunctionGroup & GetFunctionGroup() const noexcept
Get the function group bound to the instance.
Definition: function_group_state.cpp:41
A function group representative based on a manifest.
Definition: function_group.h:14