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gent.GetAgentXMLString (  ) 

Gets the agent's XML string.

Returns the full XML string associated with the agent.

Returns:
The return value of the underlying MC_GetAgentXMLString function call.

Definition at line 335 of file MCAgent.cs.

int LibMC.MCAgent.PrintAgentCode (  ) 

Gets the agent's C code string.

Prints the C code associated with the agent to stdout.

Returns:
The return value of the underlying MC_PrintAgentCode function call.

Definition at line 348 of file MCAgent.cs.

String LibMC.MCAgent.RetrieveAgentCode (  ) 

Gets the agent's C code string.

Returns the C code associated with the agent.

Returns:
A string containing the agent's C code.

Definition at line 360 of file MCAgent.cs.

int LibMC.MCAgent.TerminateAgent (  ) 

Terminates an agent.

Terminates an agent regardless of the agent's state.

Returns:
The return value of the underlying MC_TerminateAgent function call.

Definition at line 373 of file MCAgent.cs.

int LibMC.MCAgent.AclPost ( MCAclMessage  message  ) 

Posts an ACL message to the agent.

Delivers an ACL message to the agent.

Parameters:
message The ACL message object to deliver.
Returns:
The return value of the underlying MC_AclPost function call.
Note:
The message must be a valid message or this function call will fail.

Definition at line 398 of file MCAgent.cs.

References LibMC.MCAclMessage.AclMsg.

MCAclMessage LibMC.MCAgent.AclRetrieve (  ) 

Retrieve an ACL message from the agent.

Retrieves an ACL message from the agent if one is available.

Returns:
The ACL message or a blank ACL message if one was not available.
Note:
The message must be a valid message or this function call will fail.

Definition at line 414 of file MCAgent.cs.

MCAclMessage LibMC.MCAgent.AclWaitRetrieve (  ) 

Wait for and retrieve an ACL message from the agent.

Retrieves an ACL message from the agent when one becomes available.

Returns:
The ACL message or a blank ACL message if the call fails.
Note:
This function call blocks.

Definition at line 433 of file MCAgent.cs.

int LibMC.MCAgent.CallAgentFunc ( String  funcName,
IntPtr  retval,
IntPtr  varg 
)

Calls a function in an agent script.

Calls a function in an agent's script file. This function requires manual marshaling by the user.

Parameters:
funcName The name of the function to call
retval A pointer to memory for the return value
varg A pointer to the argument for the function
Returns:
The return value of the underlying MC_CallAgentFunc function call.
Note:
BE VERY CAREFUL! You must marshal your arguments! If possible, use the other CallAgentFunc that handles marshaling automatically.
See also:
Overloaded CallAgentFunc, LibMCConsole example

Definition at line 459 of file MCAgent.cs.

Referenced by LibMC.MCAgent.CallAgentFunc().

int LibMC.MCAgent.CallAgentFunc ( String  funcName,
ref object  retval,
ref object  varg 
)

Calls a function in an agent script.

Calls a function in an agent's script file. This function requires boxing of parameters, but no marshaling.

Parameters:
funcName The name of the function to call
retval A boxed object to hold the return value
varg The boxed argument to the agent function
Returns:
The return value of the underlying MC_CallAgentFunc function call.
Note:
This function handles marshaling of the argument and return value. The memory provided to the agent function for both retval and varg is not preserved after this function call! If the memory is to be kept by the agent, use the manually marshaled version of this function. Also note that even though structures can be marshaled automatically, in this function, the type of the structure is unknown and therefore it must be handled manually, even though the marshaling is transparent to the user.
See also:
Overloaded CallAgentFunc, LibMCConsole example

Definition at line 489 of file MCAgent.cs.

References LibMC.MCAgent.CallAgentFunc().

IntPtr LibMC.MCAgent.GetAgentExecEngine (  ) 

Gets an agent's Ch interpreter.

Gets a pointer to the agent's Ch interpreter. Will be improved shortly.

Returns:
A pointer to the Ch interpreter.
Note:
Nothing in the LibMC.NET library can make use of the Ch interpreter yet.
Todo:
Wrap MC_GetAgentExecEngine with an object for the void* pointer return type (Ch interpreter).

Definition at line 534 of file MCAgent.cs.

int LibMC.MCAgent.GetAgentReturnData ( int  task_num,
IntPtr  data,
IntPtr  dim,
IntPtr  extent 
)

Calls a function in an agent script.

Calls a function in an agent's script file. This function requires manual marshaling by the user.

Parameters:
task_num Task number to get data from
data A pointer to memory for the data
dim A pointer to hold the dimensions of the data
extent A pointer to hold the dimensions of the data
Returns:
The return value of the underlying MC_GetAgentReturnData function call.
Note:
This function does nothing but throw an exception right now.
Todo:
Implement GetAgentReturnData

Definition at line 555 of file MCAgent.cs.


Property Documentation

int LibMC.MCAgent.AgentID [get]

Gets the agent's ID number.

Gets the agent's ID number as assigned by Mobile-C if the agent is a valid agent.

Returns:
The agent's ID number or -1 for an empty agent.

Definition at line 181 of file MCAgent.cs.

Referenced by LibMC.MCAgent.ToString().

String LibMC.MCAgent.AgentName [get]

Gets the agent's name.

Gets the agent's name as assigned by Mobile-C or the agent script if the agent is a valid agent.

Returns:
The agent's name or an empty string for an empty agent.

Definition at line 201 of file MCAgent.cs.

Referenced by LibMC.MCAgent.ToString().

int LibMC.MCAgent.AgentNumTasks [get]

Gets the agent's number of tasks.

Gets the agent's ID number of tasks if the agent is a valid agent.

Returns:
The agent's ID number of tasks or -1 for an empty agent.

Definition at line 220 of file MCAgent.cs.

Referenced by LibMC.MCAgent.ToString().

MC_AgentStatus_e LibMC.MCAgent.AgentStatus [get, set]

Gets or sets the agent's status.

Gets or sets the agent's status. When setting the status, the status is double-checked after setting it and may not be set depending on the state of the agent and the agency.

Returns:
The agent's status or MC_NO_STATUS for an empty agent.

Definition at line 242 of file MCAgent.cs.

Referenced by LibMC.MCAgent.ToString().

MC_AgentType_e LibMC.MCAgent.AgentType [get]

Gets the agent's type.

Gets the agent's type.

Returns:
The agent's type or MC_NONE for an empty agent.

Definition at line 264 of file MCAgent.cs.

Referenced by LibMC.MCAgent.ToString().

bool LibMC.MCAgent.Valid [get]

Checks whether the agent is valid.

Checks the internal agent pointer to see if it is non-zero.

Returns:
True if the pointer is valid, false otherwise

Definition at line 286 of file MCAgent.cs.


The documentation for this class was generated from the following file:
  • /home/dko/projects/mobilec/tags/MobileC-v1.10.3/src/win32/LibMC.net/LibMC/MCAgent.cs

Generated on Thu Jul 31 17:44:38 2008 for LibMC.NET by  doxygen 1.5.5