A buzz library, can register on the global scope or on a table.
More...
#include <BittyBuzzLib.h>
template<typename Container>
class BittyBuzzLib< Container >
A buzz library, can register on the global scope or on a table.
- Template Parameters
-
◆ BittyBuzzLib() [1/2]
template<typename Container >
BittyBuzzLib constructor, will register on a table/namespace.
- Parameters
-
libTableId | the string id of the table |
container | a container of BittyBuzzLibMemberRegister, need to implement a forward iterator. std::array<BittyBuzzLibMemberRegister, XX> or std::vector<BittyBuzzLibMemberRegister> are probably the most common ones |
◆ BittyBuzzLib() [2/2]
template<typename Container >
BittyBuzzLib constructor, will register on the global scope.
- Parameters
-
◆ ~BittyBuzzLib()
template<typename Container >
◆ registerLib()
template<typename Container >
register the library in the vm, each lib will have it's own table, if the lib table id is 0, the data will be registered on the global scope
Implements IBittyBuzzLib.
◆ registerLibGlobal()
template<typename Container >
◆ registerLibTable()
template<typename Container >
◆ m_container
template<typename Container >
◆ m_libTableId
template<typename Container >
const std::optional<uint16_t> BittyBuzzLib< Container >::m_libTableId |
|
private |
The documentation for this class was generated from the following file: