$darkmode
Classes | |
| struct | sol::is_automagical< Eigen::Vector2d > |
| struct | sol::is_automagical< Eigen::Vector3d > |
| struct | sol::is_automagical< Eigen::Vector4d > |
| struct | cloe::utility::MatrixTypeTraitsDetail< T > |
| struct | cloe::utility::MatrixTypeTraitsDetail< Eigen::Matrix< Scalar_, Rows_, Cols_, Options_, MaxRows_, MaxCols_ > > |
| struct | cloe::utility::MatrixCtors< T, Rows, Cols > |
| struct | cloe::utility::MatrixCtors< T, 2, 1 > |
| Derives the SOL constructors-type from the given typename T. More... | |
| struct | cloe::utility::MatrixCtors< T, 3, 1 > |
| Derives the SOL constructors-type from the given typename T. More... | |
| struct | cloe::utility::MatrixCtors< T, 4, 1 > |
| Derives the SOL constructors-type from the given typename T. More... | |
| struct | cloe::utility::MatrixTypeTraits< T > |
| struct | cloe::utility::MatrixAccessor< Row, Col > |
| struct | cloe::utility::MatrixAccessor< Row, 0 > |
Functions | |
| void | cloe::utility::traverse_namespace_impl (sol::state_view view, const std::vector< const char * > &ns, std::function< void(sol::table &)> table_fn) |
| Traverses the global namespace-prefix as well as the given namespace. More... | |
| template<typename T > | |
| void | cloe::utility::traverse_namespace (DataBroker &db, const std::vector< const char * > &ns, std::function< void(sol::table &)> table_fn) |
| Traverses the given namespace as a preparation for the registration of a type. More... | |
| template<typename T , typename CtorType > | |
| sol::usertype< T > | cloe::utility::register_usertype (DataBroker &db, const std::vector< const char * > &ns, const char *type_name) |
| Registers a class under a given namespace. More... | |
| template<typename T , typename... Args> | |
| void | cloe::utility::register_enum (DataBroker &db, const std::vector< const char * > &ns, const char *type_name, Args &&... args) |
| Registers an enum under a given namespace. More... | |
| template<typename T , std::size_t... ints> | |
| void | cloe::utility::register_vector (DataBroker &db, const std::vector< const char * > &ns, const char *type_name, const char *member_names[], std::index_sequence< ints... >) |
| Registers a vector-type under a given namespace. More... | |
| template<typename T > | |
| void | cloe::utility::register_vector (DataBroker &db, const std::vector< const char * > &ns, const char *class_name, const char *member_names[]) |
| void | cloe::utility::register_gaspedal_sensor (DataBroker &db, const std::string &vehicle, std::function< const double &()> gaspedal_getter) |
| void | cloe::utility::register_wheel_sensor (DataBroker &db, const std::string &vehicle, const std::string &wheel_name, std::function< const ::cloe::Wheel &()> wheel_getter) |
| void | cloe::utility::register_lua_types (cloe::DataBroker &db) |
| void cloe::utility::register_enum | ( | DataBroker & | db, |
| const std::vector< const char * > & | ns, | ||
| const char * | type_name, | ||
| Args &&... | args | ||
| ) |
Registers an enum under a given namespace.
| T | Type of the enum to be registered |
| Args | Types of parameter 'args' |
| db | Instance of the DataBroker |
| ns | std::vector of ASCIIZ strings describing the namespace of the enum-type |
| type_name | ASCIIZ string describing the name of the enum to be registered |
| args | Pairs of ASCIIZ-String of one enum-value & the enum-value itself |
| sol::usertype<T> cloe::utility::register_usertype | ( | DataBroker & | db, |
| const std::vector< const char * > & | ns, | ||
| const char * | type_name | ||
| ) |
Registers a class under a given namespace.
| T | Type of the class to be registered |
| Type | of the SOL constructor-class |
| ns_size | Size of the namespace array |
| db | Instance of the DataBroker |
| ns | Array of ASCIIZ strings describing the namespace of the enum-type |
| type_name | ASCIIZ string describing the name of the class to be registered |
| void cloe::utility::register_vector | ( | DataBroker & | db, |
| const std::vector< const char * > & | ns, | ||
| const char * | type_name, | ||
| const char * | member_names[], | ||
| std::index_sequence< ints... > | |||
| ) |
Registers a vector-type under a given namespace.
| T | Vector-type to be registered |
| ns_size | Size of the namespace array |
| ints | Index-sequence into the parameter member_names |
| ns | Array of ASCIIZ strings describing the namespace of the type |
| type_name | ASCIIZ string describing the name of the class to be registered |
| member_names | ASCIIZ string array describing the names of the vector properties |
| void cloe::utility::traverse_namespace | ( | DataBroker & | db, |
| const std::vector< const char * > & | ns, | ||
| std::function< void(sol::table &)> | table_fn | ||
| ) |
Traverses the given namespace as a preparation for the registration of a type.
| T | Type of the class/enum to be registered |
| ns_size | Size of the namespace array |
| db | Instance of the DataBroker |
| ns | Array of ASCIIZ strings describing the namespace of the enum-type |
| table_fn | Callback accepting a SOL-table which reflects the given namespace |
| void cloe::utility::traverse_namespace_impl | ( | sol::state_view | view, |
| const std::vector< const char * > & | ns, | ||
| std::function< void(sol::table &)> | table_fn | ||
| ) |
Traverses the global namespace-prefix as well as the given namespace.
| view | Lua state_view |
| ns_iter | Iterator pointing to the beginning of the namspace-array |
| ns_end | Iterator pointing to the end of the namspace-array |
| table_fn | Callback accepting a SOL-table which reflects the given namespace |