#include <vector>
#include <cstddef>
#include <argos3/core/utility/logging/argos_log.h>
Go to the source code of this file.
|
| argos |
| The namespace containing all the ARGoS related code.
|
|
|
template<typename DERIVED , typename BASE > |
size_t | argos::GetTag () |
| Returns the value of the tag associated to DERIVED More...
|
|
template<typename CONTEXT , typename BASE , typename FUNCTION > |
CVTable< CONTEXT, BASE, FUNCTION > & | argos::GetVTable () |
| Function that returns a reference to the static vtable. More...
|
|
◆ ENABLE_VTABLE
#define ENABLE_VTABLE |
( |
| ) |
|
Value:
return GetTagHelper(this); \
}
size_t GetTag()
Returns the value of the tag associated to DERIVED
This macro enables the vtable for a specific class.
Definition at line 146 of file vtable.h.
◆ INIT_VTABLE_FOR
#define INIT_VTABLE_FOR |
( |
|
BASE | ) |
|
Value: struct SVTableInitializerFor ## BASE { \
SVTableInitializerFor ## BASE() { \
GetTag<BASE, BASE>(); \
} \
} sVTableInitializerFor ## BASE;
Definition at line 204 of file vtable.h.