mi32/mnetfunc.h File Reference

<mi32/mnetfunc.h> More...

#include <rvc/objectname.h>
Include dependency graph for mnetfunc.h:

Go to the source code of this file.

Namespaces

namespace  RVC

Defines

#define NETWORK_ALLOCATION_In   0
#define NETWORK_ALLOCATION_Out   1
#define NETWORK_ANGLE_MAX   360
#define NETWORK_LINE_DIRECTION_Disable   0
#define NETWORK_LINE_DIRECTION_Enable   1
#define NETWORK_LINE_DIRECTION_FromTo   0
#define NETWORK_LINE_DIRECTION_ToFrom   1
#define NETWORK_NODE_BARRIER_Off   0
#define NETWORK_NODE_BARRIER_On   1
#define NETWORK_TABLE_Angle   3
#define NETWORK_TABLE_Barrier   2
#define NETWORK_TABLE_Count   4
#define NETWORK_TABLE_Line   0
#define NETWORK_TABLE_Turn   1

Typedefs

typedef void * MNETWORKALLOCATIONHANDLE
typedef void * MNETWORKCENTERHANDLE
typedef void * MNETWORKHANDLE
typedef int(* MnetworkLineNameCallbackFunc )(void *, INT32, MIUNICODE *, int)
typedef void * MNETWORKMULTIROUTEHANDLE
typedef void * MNETWORKROUTEHANDLE
typedef void * MNETWORKSTOPHANDLE

Functions

INT32 MnetworkAllocatedCenterGet (MNETWORKALLOCATIONHANDLE allocationHandle, int position)
int MnetworkAllocatedCenterGetAverageImpedance (MNETWORKALLOCATIONHANDLE allocationHandle, int position, DOUBLE *average)
int MnetworkAllocatedCenterGetCapacity (MNETWORKALLOCATIONHANDLE allocationHandle, int position, DOUBLE *capacity)
int MnetworkAllocatedCenterGetColor (MNETWORKALLOCATIONHANDLE allocationHandle, int position, COLOR *color)
int MnetworkAllocatedCenterGetDemand (MNETWORKALLOCATIONHANDLE allocationHandle, int position, DOUBLE *demand)
int MnetworkAllocatedCenterGetImpedanceDelay (MNETWORKALLOCATIONHANDLE allocationHandle, int position, DOUBLE *delay)
int MnetworkAllocatedCenterGetImpedanceLimit (MNETWORKALLOCATIONHANDLE allocationHandle, int position, DOUBLE *limit)
int MnetworkAllocatedCenterGetMaximumImpedance (MNETWORKALLOCATIONHANDLE allocationHandle, int position, DOUBLE *maximum)
INT32 MnetworkAllocatedCenterGetNumber (MNETWORKALLOCATIONHANDLE allocationHandle)
INT32 MnetworkAllocatedCenterGetNumberOfLines (MNETWORKALLOCATIONHANDLE allocationHandle, int position)
int MnetworkAllocatedCenterGetPosition (MNETWORKALLOCATIONHANDLE allocationHandle, INT32 node)
INT32 MnetworkAllocatedLineGetNumber (MNETWORKALLOCATIONHANDLE allocationHandle)
int MnetworkAllocatedLineGetPosition (MNETWORKALLOCATIONHANDLE allocationHandle, INT32 line)
int MnetworkAllocationFree (MNETWORKALLOCATIONHANDLE *allocationHandle)
int MnetworkAllocationGetReport (MNETWORKALLOCATIONHANDLE allocationHandle, MIUNICODE **report)
int MnetworkAllocationGetResultAsPositions (MNETWORKALLOCATIONHANDLE allocationHandle, INT32 **positions, INT32 *numPositions)
int MnetworkAllocationGetType (MNETWORKALLOCATIONHANDLE allocationHandle)
int MnetworkAllocationRestoreCenter (MNETWORKALLOCATIONHANDLE allocationHandle, MNETWORKCENTERHANDLE *centerHandle)
int MnetworkAngleApply (MNETWORKHANDLE handle)
int MnetworkAngleGetImpedance (MNETWORKHANDLE handle, int angle, DOUBLE *impedance)
int MnetworkAngleIsUpdated (MNETWORKHANDLE handle)
int MnetworkAngleSetImpedance (MNETWORKHANDLE handle, int angle, DOUBLE impedance)
int MnetworkBarrierIsUpdated (MNETWORKHANDLE handle)
int MnetworkCalculateMultiRoute (MNETWORKHANDLE handle, INT32 source, INT32 *destinations, INT32 numDestinations, MNETWORKROUTEHANDLE *multiRouteHandle)
int MnetworkCenterAdd (MNETWORKCENTERHANDLE centerHandle, INT32 node)
int MnetworkCenterCalculateAllocation (MNETWORKCENTERHANDLE centerHandle, int type, MNETWORKALLOCATIONHANDLE *allocationHandle)
int MnetworkCenterClone (MNETWORKCENTERHANDLE centerHandle, MNETWORKCENTERHANDLE *cloneCenterHandle)
int MnetworkCenterDelete (MNETWORKCENTERHANDLE centerHandle, int *positions, int numPositions)
int MnetworkCenterDeleteAll (MNETWORKCENTERHANDLE centerHandle)
int MnetworkCenterFree (MNETWORKCENTERHANDLE *centerHandle)
INT32 MnetworkCenterGet (MNETWORKCENTERHANDLE centerHandle, int position)
int MnetworkCenterGetAll (MNETWORKCENTERHANDLE centerHandle, INT32 **nodes, INT32 *numNodes)
int MnetworkCenterGetCapacity (MNETWORKCENTERHANDLE centerHandle, int position, DOUBLE *capacity)
int MnetworkCenterGetColor (MNETWORKCENTERHANDLE centerHandle, int position, COLOR *color)
int MnetworkCenterGetImpedanceDelay (MNETWORKCENTERHANDLE centerHandle, int position, DOUBLE *delay)
int MnetworkCenterGetImpedanceLimit (MNETWORKCENTERHANDLE centerHandle, int position, DOUBLE *limit)
int MnetworkCenterGetNumber (MNETWORKCENTERHANDLE centerHandle)
int MnetworkCenterGetPosition (MNETWORKCENTERHANDLE centerHandle, INT32 node)
int MnetworkCenterGetTableNames (MNETWORKCENTERHANDLE centerHandle, RVC::OBJECTNAME **tablename, INT32 *tablecount)
int MnetworkCenterIsTable (MNETWORKCENTERHANDLE centerHandle, const RVC::OBJECTNAME &tablename)
int MnetworkCenterIsUpdated (MNETWORKCENTERHANDLE centerHandle)
int MnetworkCenterOpenTable (MNETWORKCENTERHANDLE centerHandle, const RVC::OBJECTNAME &tablename)
int MnetworkCenterSaveTable (MNETWORKCENTERHANDLE centerHandle, RVC::OBJECTNAME &tablename)
int MnetworkCenterSetCapacity (MNETWORKCENTERHANDLE centerHandle, int position, DOUBLE capacity)
int MnetworkCenterSetColor (MNETWORKCENTERHANDLE centerHandle, int position, COLOR *color)
int MnetworkCenterSetImpedanceDelay (MNETWORKCENTERHANDLE centerHandle, int position, DOUBLE delay)
int MnetworkCenterSetImpedanceLimit (MNETWORKCENTERHANDLE centerHandle, int position, DOUBLE limit)
INT32 MnetworkLineGetClosest (MNETWORKHANDLE handle, DPOINT2D *point, DOUBLE radius)
int MnetworkLineGetDemand (MNETWORKHANDLE handle, INT32 line, DOUBLE *demand)
int MnetworkLineGetDirectionState (MNETWORKHANDLE handle, INT32 line, int direction, int *state)
int MnetworkLineGetImpedance (MNETWORKHANDLE handle, INT32 line, int direction, DOUBLE *impedance)
int MnetworkLineGetName (MNETWORKHANDLE handle, INT32 line, MIUNICODE *name, int size)
INT32 MnetworkLineGetNodeFrom (MNETWORKHANDLE handle, INT32 line)
INT32 MnetworkLineGetNodeTo (MNETWORKHANDLE handle, INT32 line)
INT32 MnetworkLineGetNumber (MNETWORKHANDLE handle)
int MnetworkLineIsUpdated (MNETWORKHANDLE handle)
int MnetworkLineSetDemand (MNETWORKHANDLE handle, INT32 line, DOUBLE demand)
int MnetworkLineSetDirectionState (MNETWORKHANDLE handle, INT32 line, int direction, int state)
int MnetworkLineSetImpedance (MNETWORKHANDLE handle, INT32 line, int direction, DOUBLE impedance)
int MnetworkMainCreateCenter (MNETWORKHANDLE handle, MNETWORKCENTERHANDLE *centerHandle)
int MnetworkMainCreateStop (MNETWORKHANDLE handle, MNETWORKSTOPHANDLE *stopHandle)
int MnetworkMainFree (MNETWORKHANDLE *handle)
int MnetworkMainGetTableNames (MNETWORKHANDLE handle, RVC::OBJECTNAME **tablename, INT32 *tablecount, UINT32 tabletype)
int MnetworkMainInit (MNETWORKHANDLE *handle, const RVC::OBJITEM &VectObjItem)
int MnetworkMainIsTable (MNETWORKHANDLE handle, const RVC::OBJECTNAME &tablename, UINT32 tabletype)
int MnetworkMainReadTable (MNETWORKHANDLE handle, const RVC::OBJECTNAME &tablename, UINT32 tabletype)
int MnetworkMainSetDefault (MNETWORKHANDLE handle)
int MnetworkMainSetLineNameAsCallback (MNETWORKHANDLE handle, MnetworkLineNameCallbackFunc cbfunc, void *cbdata)
int MnetworkMainSetLineNameAsTableAndField (MNETWORKHANDLE handle, RVC::OBJECTNAME &tablename, RVC::OBJECTNAME &fieldname)
int MnetworkMainWriteTable (MNETWORKHANDLE handle, RVC::OBJECTNAME &tablename, UINT32 tabletype)
int MnetworkMultiRouteFree (MNETWORKMULTIROUTEHANDLE *multiRouteHandle)
int MnetworkMultiRouteGetRoute (MNETWORKMULTIROUTEHANDLE multiRouteHandle, INT32 destination, MNETWORKROUTEHANDLE *routeHandle)
int MnetworkNodeGetBarrierState (MNETWORKHANDLE handle, INT32 node, int *state)
INT32 MnetworkNodeGetClosest (MNETWORKHANDLE handle, DPOINT2D *point, DOUBLE radius)
INT32 MnetworkNodeGetLine (MNETWORKHANDLE handle, INT32 node, int position)
int MnetworkNodeGetName (MNETWORKHANDLE handle, INT32 node, MIUNICODE *name, int size)
INT32 MnetworkNodeGetNumber (MNETWORKHANDLE handle)
int MnetworkNodeGetNumberOfLines (MNETWORKHANDLE handle, INT32 node)
int MnetworkNodeSetBarrierState (MNETWORKHANDLE handle, INT32 node, int state)
int MnetworkRouteFree (MNETWORKROUTEHANDLE *routeHandle)
INT32 MnetworkRouteGetLine (MNETWORKROUTEHANDLE routeHandle, int position)
int MnetworkRouteGetLineDirection (MNETWORKROUTEHANDLE routeHandle, int position)
INT32 MnetworkRouteGetNode (MNETWORKROUTEHANDLE routeHandle, int position)
INT32 MnetworkRouteGetNumberOfLines (MNETWORKROUTEHANDLE routeHandle)
INT32 MnetworkRouteGetNumberOfNodes (MNETWORKROUTEHANDLE routeHandle)
int MnetworkRouteGetReport (MNETWORKROUTEHANDLE routeHandle, MIUNICODE **report)
int MnetworkRouteGetResultAsLines (MNETWORKROUTEHANDLE routeHandle, INT32 **lines, INT32 *numLines)
int MnetworkRouteGetResultAsNodes (MNETWORKROUTEHANDLE routeHandle, INT32 **nodes, INT32 *numNodes)
int MnetworkRouteGetResultAsPoints (MNETWORKROUTEHANDLE routeHandle, DPOINT2D **points, INT32 *numPoints)
int MnetworkRouteIsNodeStop (MNETWORKROUTEHANDLE routeHandle, int position)
int MnetworkRouteIsNodeTurn (MNETWORKROUTEHANDLE routeHandle, int position)
int MnetworkRouteRestoreStop (MNETWORKROUTEHANDLE routeHandle, MNETWORKSTOPHANDLE *stopHandle)
int MnetworkStopAdd (MNETWORKSTOPHANDLE stopHandle, INT32 node, int position)
int MnetworkStopCalculateRoute (MNETWORKSTOPHANDLE stopHandle, MNETWORKROUTEHANDLE *routeHandle)
int MnetworkStopClone (MNETWORKSTOPHANDLE stopHandle, MNETWORKSTOPHANDLE *cloneStopHandle)
int MnetworkStopDelete (MNETWORKSTOPHANDLE stopHandle, int *positions, int numPositions)
int MnetworkStopDeleteAll (MNETWORKSTOPHANDLE stopHandle)
int MnetworkStopFree (MNETWORKSTOPHANDLE *stopHandle)
INT32 MnetworkStopGet (MNETWORKSTOPHANDLE stopHandle, int position)
int MnetworkStopGetAll (MNETWORKSTOPHANDLE stopHandle, INT32 **nodes, INT32 *numNodes)
int MnetworkStopGetDemand (MNETWORKSTOPHANDLE stopHandle, int position, DOUBLE *demand)
int MnetworkStopGetNumber (MNETWORKSTOPHANDLE stopHandle)
int MnetworkStopGetTableNames (MNETWORKSTOPHANDLE stopHandle, RVC::OBJECTNAME **tablename, INT32 *tablecount)
int MnetworkStopIsTable (MNETWORKSTOPHANDLE stopHandle, const RVC::OBJECTNAME &tablename)
int MnetworkStopIsUpdated (MNETWORKSTOPHANDLE stopHandle)
int MnetworkStopMove (MNETWORKSTOPHANDLE stopHandle, int oldPosition, int newPosition)
int MnetworkStopOpenTable (MNETWORKSTOPHANDLE stopHandle, const RVC::OBJECTNAME &tablename)
int MnetworkStopSaveTable (MNETWORKSTOPHANDLE stopHandle, RVC::OBJECTNAME &tablename)
int MnetworkStopSetDemand (MNETWORKSTOPHANDLE stopHandle, int position, DOUBLE demand)
int MnetworkTurnGetAngle (MNETWORKHANDLE handle, INT32 node, int in, int out, DOUBLE *angle)
int MnetworkTurnGetImpedance (MNETWORKHANDLE handle, INT32 node, int in, int out, DOUBLE *impedance)
int MnetworkTurnIsUpdated (MNETWORKHANDLE handle)
int MnetworkTurnSetImpedance (MNETWORKHANDLE handle, INT32 node, int in, int out, DOUBLE impedance)

Detailed Description

<mi32/mnetfunc.h>

Header file for network analysis library functions


Define Documentation

#define NETWORK_ALLOCATION_In   0
#define NETWORK_ALLOCATION_Out   1
#define NETWORK_ANGLE_MAX   360
#define NETWORK_LINE_DIRECTION_Disable   0
#define NETWORK_LINE_DIRECTION_Enable   1
#define NETWORK_LINE_DIRECTION_FromTo   0
#define NETWORK_LINE_DIRECTION_ToFrom   1
#define NETWORK_NODE_BARRIER_Off   0
#define NETWORK_NODE_BARRIER_On   1
#define NETWORK_TABLE_Angle   3
#define NETWORK_TABLE_Barrier   2
#define NETWORK_TABLE_Count   4
#define NETWORK_TABLE_Line   0
#define NETWORK_TABLE_Turn   1

Typedef Documentation

typedef void* MNETWORKALLOCATIONHANDLE
typedef void* MNETWORKCENTERHANDLE
typedef void* MNETWORKHANDLE
typedef int(* MnetworkLineNameCallbackFunc)(void *, INT32, MIUNICODE *, int)
typedef void* MNETWORKMULTIROUTEHANDLE
typedef void* MNETWORKROUTEHANDLE
typedef void* MNETWORKSTOPHANDLE

Generated on Sun Oct 7 21:27:30 2012 for TNTsdk 2012 by  doxygen 1.6.1