GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> CMX / V2-13-7 > cmx_interface / rhel6-64
#include <CMX/CMX_interface_pub.h>
Classes | |
struct | _CMX_Symbol |
Node in single linked list of symbols. More... | |
struct | _CMX_Instance |
An instance in an interface description (a single 'block' in the file). More... | |
struct | _CMX_Hierarchy |
Node in the hierarchical representation of the instances. More... | |
struct | _CMX_Interface |
Complete interface description of a constituent. More... | |
Typedefs | |
typedef unsigned int(* | CMX_cb_InterfaceRecurse )(void *user, struct _CMX_Hierarchy *hier, unsigned int depth) |
Typedef for a CMX interface hierarchy recursion callback routine. | |
Functions | |
signed int | CMX_interfaceCollate (struct _CMX_Instance *inst, struct _CMX_Instance *jnst) |
Collate two instance names. | |
unsigned int | CMX_interfaceRecurse (CMX_cb_InterfaceRecurse call, void *user, struct _CMX_Hierarchy *hier) |
Traverse (depth first) a CMX interface definition tree. |
CVS $Id: CMX_interface_prv.h,v 1.5 2010/04/22 23:41:29 apw Exp $
unsigned int CMX_cb_InterfaceRecurse |
Typedef for a CMX interface hierarchy recursion callback routine.
user | User's parameter | |
hier | Node in the hierarchy tree | |
depth | Recursion depth |
signed int CMX_interfaceCollate | ( | struct _CMX_Instance * | inst, | |
struct _CMX_Instance * | jnst | |||
) |
Collate two instance names.
inst | First instance | |
jnst | Second instance |
-4 | inst < jnst (based on alpabetic ordering) | |
-3 | inst < jnst (based on major version ordering) | |
-2 | inst < jnst (based on minor version ordering) | |
-1 | inst < jnst (based on patch version ordering) | |
0 | inst = jnst | |
1 | inst > jnst (based on patch version ordering) | |
2 | inst > jnst (based on minor version ordering) | |
3 | inst > jnst (based on major version ordering) | |
4 | inst > jnst (based on alpabetic ordering) |
References _CMX_Instance::major, _CMX_Instance::minor, _CMX_Instance::name, and _CMX_Instance::patch.
Referenced by hierarchy(), and interfaceCompare().
unsigned int CMX_interfaceRecurse | ( | CMX_cb_InterfaceRecurse | call, | |
void * | user, | |||
struct _CMX_Hierarchy * | hier | |||
) |
Traverse (depth first) a CMX interface definition tree.
call | User's callback routine (called for each node) | |
user | User's callback parameter | |
hier | Starting node in the hierarchy tree |
0 | Hierarchy traversed successfully | |
x | Error return from the user callback routine |
References interfaceRecurse().
Referenced by CMX_interfaceShowInterface().