hpp-fcl 2.3.6
HPP fork of FCL -- The Flexible Collision Library
Loading...
Searching...
No Matches
memory.h
Go to the documentation of this file.
1//
2// Copyright (c) 2021 INRIA
3//
4
5#ifndef HPP_FCL_SERIALIZATION_MEMORY_H
6#define HPP_FCL_SERIALIZATION_MEMORY_H
7
8namespace hpp {
9namespace fcl {
10
11namespace internal {
12template <typename T>
14 static size_t run(const T &) { return sizeof(T); }
15};
16} // namespace internal
17
24template <typename T>
25size_t computeMemoryFootprint(const T &object) {
27}
28
29} // namespace fcl
30} // namespace hpp
31
32#endif // ifndef HPP_FCL_SERIALIZATION_MEMORY_H
size_t computeMemoryFootprint(const T &object)
Returns the memory footpring of the input object. For POD objects, this function returns the result o...
Definition: memory.h:25
Main namespace.
Definition: broadphase_bruteforce.h:44
static size_t run(const T &)
Definition: memory.h:14