agent_s Struct Reference

#include <agent.h>


Data Fields

u_long id
char * name
u_long connect_id
time_t arrival_time
char * owner
char * home
int home_port
int orphan
agent_datastate_p datastate
enum MC_AgentType_e agent_type
enum MC_AgentStatus_e agent_status
int return_data
ChInterp_t agent_interp
MUTEX_T * run_lock
int agent_thread_id
THREAD_T * agent_thread
agent_mailbox_p mailbox
int agent_pipe_active
int agent_ready_to_send
int agent_pipe_ready_to_read
int agent_script_ready
int agent_persistent
struct mc_platform_smc_platform
MUTEX_T * lock


Detailed Description

Definition at line 45 of file agent.h.


Field Documentation

u_long agent_s::id

Definition at line 48 of file agent.h.

Referenced by agent_Copy(), agent_Initialize(), agent_RunChScriptThread(), ams_Print(), MC_GetAgentID(), and MC_RegisterService().

char* agent_s::name

Definition at line 49 of file agent.h.

Referenced by acc_MessageHandlerThread(), agent_Copy(), agent_Destroy(), agent_RunChScriptThread(), agent_xml_compose__name(), agent_xml_parse__name(), MC_ComposeAgent(), MC_GetAgentName(), and MC_RegisterService().

u_long agent_s::connect_id

Definition at line 50 of file agent.h.

Referenced by ams_Print().

time_t agent_s::arrival_time

Definition at line 52 of file agent.h.

Referenced by agent_Copy(), agent_Initialize(), and MC_GetAgentArrivalTime().

char* agent_s::owner

Definition at line 56 of file agent.h.

Referenced by agent_Copy(), agent_Destroy(), agent_xml_compose__owner(), agent_xml_parse__owner(), and MC_ComposeAgent().

char* agent_s::home

Definition at line 57 of file agent.h.

Referenced by agent_Copy(), agent_Destroy(), agent_xml_compose__home(), agent_xml_parse__home(), MC_ComposeAgent(), and message_InitializeFromAgent().

int agent_s::home_port

Definition at line 58 of file agent.h.

Referenced by agent_Copy().

int agent_s::orphan

Definition at line 60 of file agent.h.

Referenced by agent_Copy(), agent_Initialize(), ams_ManageAgentList(), MC_ComposeAgent(), and MC_SetAgentStatus().

agent_datastate_p agent_s::datastate

Definition at line 64 of file agent.h.

Referenced by acc_MessageHandlerThread(), agent_Copy(), agent_Destroy(), agent_Initialize(), agent_return_data_InitializeFromAgent(), agent_return_xml_parse(), agent_RunChScriptThread(), agent_xml_compose__agent_code(), agent_xml_compose__data(), agent_xml_compose__row(), agent_xml_compose__task(), agent_xml_parse(), agent_xml_parse__agent_code(), agent_xml_parse__data(), agent_xml_parse__row(), agent_xml_parse__task(), MC_ComposeAgent(), MC_GetAgentNumTasks(), MC_GetAgentReturnData(), MC_GetAgentXMLString(), MC_PrintAgentCode(), MC_RetrieveAgentCode(), and message_InitializeFromAgent().

enum MC_AgentType_e agent_s::agent_type

Definition at line 65 of file agent.h.

Referenced by agent_Copy(), agent_Initialize(), agent_xml_compose__message(), MC_ComposeAgent(), and MC_GetAgentType().

enum MC_AgentStatus_e agent_s::agent_status

Definition at line 66 of file agent.h.

Referenced by acc_MessageHandlerThread(), agent_Copy(), agent_Destroy(), agent_Initialize(), agent_RunChScript(), ams_ManageAgentList(), ams_Print(), MC_ComposeAgent(), MC_GetAgentStatus(), MC_RetrieveAgent(), and MC_SetAgentStatus().

int agent_s::return_data

Definition at line 68 of file agent.h.

Referenced by agent_Copy().

ChInterp_t agent_s::agent_interp

Definition at line 71 of file agent.h.

Referenced by agent_Copy(), agent_Destroy(), agent_return_data_InitializeFromAgent(), agent_RunChScriptThread(), MC_CallAgentFunc(), MC_GetAgentExecEngine(), and MC_TerminateAgent().

MUTEX_T* agent_s::run_lock

Definition at line 74 of file agent.h.

Referenced by agent_Copy(), agent_Destroy(), agent_Initialize(), agent_New(), and MC_CallAgentFunc().

int agent_s::agent_thread_id

Definition at line 77 of file agent.h.

Referenced by agent_Initialize().

THREAD_T* agent_s::agent_thread

Definition at line 80 of file agent.h.

Referenced by agent_Copy(), agent_Destroy(), agent_Initialize(), and agent_RunChScript().

agent_mailbox_p agent_s::mailbox

Definition at line 83 of file agent.h.

Referenced by acc_Thread(), agent_Destroy(), agent_Initialize(), MC_AclPost(), MC_AclRetrieve(), and MC_AclWaitRetrieve().

int agent_s::agent_pipe_active

Definition at line 86 of file agent.h.

Referenced by agent_Initialize().

int agent_s::agent_ready_to_send

Definition at line 87 of file agent.h.

Referenced by agent_Initialize().

int agent_s::agent_pipe_ready_to_read

Definition at line 88 of file agent.h.

Referenced by agent_Initialize().

int agent_s::agent_script_ready

Definition at line 89 of file agent.h.

Referenced by agent_Initialize().

int agent_s::agent_persistent

Definition at line 90 of file agent.h.

Referenced by agent_Copy().

struct mc_platform_s* agent_s::mc_platform [read]

Definition at line 92 of file agent.h.

Referenced by agent_Initialize(), agent_RunChScript(), agent_RunChScriptThread(), MC_AddAgent(), and MC_SetAgentStatus().

MUTEX_T* agent_s::lock

Definition at line 94 of file agent.h.

Referenced by acc_MessageHandlerThread(), agent_Copy(), agent_Destroy(), agent_Initialize(), agent_New(), ams_ManageAgentList(), MC_GetAgentName(), MC_GetAgentStatus(), MC_PrintAgentCode(), MC_RetrieveAgentCode(), and MC_SetAgentStatus().


The documentation for this struct was generated from the following file:
Generated on Fri May 16 14:49:57 2008 for Mobile-C by  doxygen 1.5.4