38 #ifndef AMINO_CT_TRAJ_INTERNAL_HPP
39 #define AMINO_CT_TRAJ_INTERNAL_HPP
77 struct aa_ct_pt_list {
80 amino::RegionList<struct aa_ct_pt *>::type list;
82 aa_ct_pt_list(
struct aa_mem_region *_reg) : alloc(_reg), list(alloc) {
86 ~aa_ct_pt_list(
void) {
92 struct aa_ct_seg_list {
95 amino::RegionList<struct aa_ct_seg *>::type list;
96 amino::RegionList<struct aa_ct_seg *>::iterator it;
99 aa_ct_seg_list(
struct aa_mem_region *_reg) : alloc(_reg), list(alloc) {
104 ~aa_ct_seg_list(
void) {
State description of a robot.
AA_API void aa_mem_region_init(aa_mem_region_t *region, size_t size)
Initialize memory region with an initial chunk of size bytes.
Data Structure for Region-Based memory allocation.
int(* eval)(struct aa_ct_seg *seg, struct aa_ct_state *state, double t)
Evaluate function.
int type
Type label for disambiguation.
void aa_ct_seg_list_add(struct aa_ct_seg_list *list, struct aa_ct_seg *seg)
Add a reference to a segment to a segment list.
AA_API void aa_mem_region_destroy(aa_mem_region_t *region)
Destroy memory region freeing all chunks.
An STL allocator that allocates out of a memory region.
void * cx
Segment context.
struct aa_ct_seg * next
Links to next and previous segments.