Pioneer
Loading...
Searching...
No Matches
Classes | Macros
BodyComponent.h File Reference
#include "JsonFwd.h"
#include "core/TypeId.h"
#include <cassert>
#include <cstddef>
#include <map>
#include <vector>
Include dependency graph for BodyComponent.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  BodyComponentDB
 
struct  BodyComponentDB::SerializerBase
 
struct  BodyComponentDB::LuaInterfaceBase
 
struct  BodyComponentDB::PoolBase
 
struct  BodyComponentDB::Pool< T >
 
struct  BodyComponentDB::Serializer< T >
 

Macros

#define REGISTER_COMPONENT_TYPE(type)
 

Macro Definition Documentation

◆ REGISTER_COMPONENT_TYPE

#define REGISTER_COMPONENT_TYPE (   type)
Value:
namespace type##RegisterComponent \
{ \
void Register(); \
bool type##Registered = BodyComponentDB::AddComponentRegistrar(&Register); \
} \
void type##RegisterComponent::Register()
static bool AddComponentRegistrar(void(*registrar)())
Definition BodyComponent.cpp:33