Hermes
|
The implementation of Trajectory. More...
#include "../../h/SpatioTemporal/Trajectory/Constructors.h"
#include <utils/array.h>
#include <utils/lsyscache.h>
#include <utils/memutils.h>
Variables | |
MemoryContext | TrajCache_MemoryContext = NULL |
int32 | TrajCache_NrCaches = 0 |
PointST ** | TrajCache = NULL |
int32 * | TrajCache_Length = NULL |
int32 * | TrajCache_Index = NULL |
The implementation of Trajectory.
These functions are documented in the Trajectory/Constructors.h
PGDLLEXPORT Datum constructorEmptyTrajectory | ( | PG_FUNCTION_ARGS | ) |
PGDLLEXPORT Datum constructorPointArrayTrajectory | ( | PG_FUNCTION_ARGS | ) |
References allocateTrajectory(), i(), Trajectory::points, PointST::t, and updateMetadataTrajectory().
Trajectory* constructorPointTrajectory | ( | const PointST * | point | ) |
References allocateTrajectory(), and Trajectory::points.
Referenced by atPeriodTrajectory(), and constructorPointTrajectoryV1().
PGDLLEXPORT Datum constructorPointTrajectoryV1 | ( | PG_FUNCTION_ARGS | ) |
References constructorPointTrajectory(), and updateMetadataTrajectory().
PG_FUNCTION_INFO_V1 | ( | constructorEmptyTrajectory | ) |
PG_FUNCTION_INFO_V1 | ( | constructorPointTrajectoryV1 | ) |
PG_FUNCTION_INFO_V1 | ( | constructorPointArrayTrajectory | ) |
PG_FUNCTION_INFO_V1 | ( | TrajCache_Allocate | ) |
PG_FUNCTION_INFO_V1 | ( | TrajCache_Free | ) |
PG_FUNCTION_INFO_V1 | ( | TrajCache_Clean | ) |
PG_FUNCTION_INFO_V1 | ( | TrajCache_ResetIndex | ) |
PG_FUNCTION_INFO_V1 | ( | TrajCache_Rewind | ) |
PG_FUNCTION_INFO_V1 | ( | TrajCache_Append | ) |
PG_FUNCTION_INFO_V1 | ( | TrajCache_getIndex | ) |
PG_FUNCTION_INFO_V1 | ( | TrajCache_Point | ) |
PG_FUNCTION_INFO_V1 | ( | TrajCache2Trajectory | ) |
PGDLLEXPORT Datum TrajCache2Trajectory | ( | PG_FUNCTION_ARGS | ) |
References allocateTrajectory(), Trajectory::points, TrajCache_Index, TrajCache_NrCaches, and updateMetadataTrajectory().
PGDLLEXPORT Datum TrajCache_Allocate | ( | PG_FUNCTION_ARGS | ) |
References i(), length(), TrajCache_Index, TrajCache_Length, TrajCache_MemoryContext, and TrajCache_NrCaches.
PGDLLEXPORT Datum TrajCache_Append | ( | PG_FUNCTION_ARGS | ) |
References PointST::t, TrajCache_Index, TrajCache_Length, and TrajCache_NrCaches.
PGDLLEXPORT Datum TrajCache_Clean | ( | PG_FUNCTION_ARGS | ) |
References TrajCache_Index, TrajCache_Length, TrajCache_MemoryContext, and TrajCache_NrCaches.
PGDLLEXPORT Datum TrajCache_Free | ( | PG_FUNCTION_ARGS | ) |
References TrajCache_Index, TrajCache_Length, and TrajCache_NrCaches.
PGDLLEXPORT Datum TrajCache_getIndex | ( | PG_FUNCTION_ARGS | ) |
References TrajCache_Index, and TrajCache_NrCaches.
PGDLLEXPORT Datum TrajCache_Point | ( | PG_FUNCTION_ARGS | ) |
PGDLLEXPORT Datum TrajCache_ResetIndex | ( | PG_FUNCTION_ARGS | ) |
References TrajCache_Index, and TrajCache_NrCaches.
PGDLLEXPORT Datum TrajCache_Rewind | ( | PG_FUNCTION_ARGS | ) |
References TrajCache_Index, and TrajCache_NrCaches.
PointST** TrajCache = NULL |
int32* TrajCache_Index = NULL |
int32* TrajCache_Length = NULL |
Referenced by TrajCache_Allocate(), TrajCache_Append(), TrajCache_Clean(), and TrajCache_Free().
MemoryContext TrajCache_MemoryContext = NULL |
Referenced by TrajCache_Allocate(), and TrajCache_Clean().
int32 TrajCache_NrCaches = 0 |