HiveMind
BittyBuzzLibMemberRegister.h
Go to the documentation of this file.
1 #ifndef __BITTYBUZZLIBMEMBERREGISTER_H_
2 #define __BITTYBUZZLIBMEMBERREGISTER_H_
3 
4 #include <bbzvm.h>
5 #include <variant>
6 
8  public:
9  BittyBuzzLibMemberRegister(uint16_t strId, std::variant<bbzvm_funp, float, int16_t> value);
10  uint16_t getStringId() const;
11  std::variant<bbzvm_funp, float, int16_t> getValue() const;
12 
13  private:
14  uint16_t m_strId;
15  std::variant<bbzvm_funp, float, int16_t> m_value;
16 };
17 
18 #endif // __BITTYBUZZLIBMEMBERREGISTER_H_
BittyBuzzLibMemberRegister::m_strId
uint16_t m_strId
Definition: BittyBuzzLibMemberRegister.h:14
BittyBuzzLibMemberRegister::m_value
std::variant< bbzvm_funp, float, int16_t > m_value
Definition: BittyBuzzLibMemberRegister.h:15
BittyBuzzLibMemberRegister
Definition: BittyBuzzLibMemberRegister.h:7
BittyBuzzLibMemberRegister::BittyBuzzLibMemberRegister
BittyBuzzLibMemberRegister(uint16_t strId, std::variant< bbzvm_funp, float, int16_t > value)
Definition: BittyBuzzLibMemberRegister.cpp:3
BittyBuzzLibMemberRegister::getValue
std::variant< bbzvm_funp, float, int16_t > getValue() const
Definition: BittyBuzzLibMemberRegister.cpp:9
BittyBuzzLibMemberRegister::getStringId
uint16_t getStringId() const
Definition: BittyBuzzLibMemberRegister.cpp:7