MoNetCommandInfo Class Reference

#include <MoNetCommandInfo.h>

List of all members.

Public Member Functions

 MoNetCommandInfo (bool syncKey)
 ~MoNetCommandInfo ()
bool SetAgentCommand (MoNetAgentID agent, int index, MoNetPosture start, MoNetPosture end)
void SetAgentResult (MoNetAgentID agent, int index, MoNetStatus st)
void ClearAgentResult ()
bool IsDone ()
MoNetPosture StartPosture ()
MoNetPosture EndPosture ()
bool UseSyncKey ()
int NumAgentCommands ()
MoNetAgentCommandAgentCommand (int i)

Private Attributes

bool useSyncKey
int numAgentCommands
MoNetStatus status [MAXNUM_AGENT_COMMANDS]
MoNetAgentCommand agentCommand [MAXNUM_AGENT_COMMANDS]


Constructor & Destructor Documentation

MoNetCommandInfo::MoNetCommandInfo bool  syncKey  ) 
 

Definition at line 14 of file MoNetCommandInfo.cc.

References agentCommand, MoNetAgentCommand::Clear(), and status.

MoNetCommandInfo::~MoNetCommandInfo  )  [inline]
 

Definition at line 22 of file MoNetCommandInfo.h.


Member Function Documentation

MoNetAgentCommand* MoNetCommandInfo::AgentCommand int  i  )  [inline]
 

Definition at line 35 of file MoNetCommandInfo.h.

Referenced by MoNet::ExecuteCommandInfo().

void MoNetCommandInfo::ClearAgentResult  ) 
 

Definition at line 49 of file MoNetCommandInfo.cc.

References status.

Referenced by MoNet::NotifyAgentResult().

MoNetPosture MoNetCommandInfo::EndPosture  ) 
 

Definition at line 83 of file MoNetCommandInfo.cc.

References MoNetAgentCommand::agent, agentCommand, MoNetAgentCommand::endPosture, MoNetPosture, and NumAgentCommands().

Referenced by MoNet::Execute(), MoNet::NotifyAgentResult(), MoNet::ReadMoNetCommandConfig(), and MoNet::ReadMoNetConfig().

bool MoNetCommandInfo::IsDone  ) 
 

Definition at line 57 of file MoNetCommandInfo.cc.

References status.

Referenced by MoNet::NotifyAgentResult().

int MoNetCommandInfo::NumAgentCommands  )  [inline]
 

Definition at line 34 of file MoNetCommandInfo.h.

Referenced by EndPosture(), MoNet::ExecuteCommandInfo(), and StartPosture().

bool MoNetCommandInfo::SetAgentCommand MoNetAgentID  agent,
int  index,
MoNetPosture  start,
MoNetPosture  end
 

Definition at line 24 of file MoNetCommandInfo.cc.

References MoNetAgentCommand::agent, agentCommand, MoNetAgentCommand::endPosture, MoNetAgentCommand::index, numAgentCommands, and MoNetAgentCommand::startPosture.

Referenced by MoNet::ReadMoNetCommandConfig(), and MoNet::ReadMoNetConfig().

void MoNetCommandInfo::SetAgentResult MoNetAgentID  agent,
int  index,
MoNetStatus  st
 

Definition at line 38 of file MoNetCommandInfo.cc.

References MoNetAgentCommand::agent, agentCommand, MoNetAgentCommand::index, and status.

Referenced by MoNet::NotifyAgentResult().

MoNetPosture MoNetCommandInfo::StartPosture  ) 
 

Definition at line 67 of file MoNetCommandInfo.cc.

References MoNetAgentCommand::agent, agentCommand, MoNetPosture, NumAgentCommands(), and MoNetAgentCommand::startPosture.

Referenced by MoNet::Execute(), MoNet::ReadMoNetCommandConfig(), and MoNet::ReadMoNetConfig().

bool MoNetCommandInfo::UseSyncKey  )  [inline]
 

Definition at line 33 of file MoNetCommandInfo.h.

Referenced by MoNet::ExecuteCommandInfo().


Member Data Documentation

MoNetAgentCommand MoNetCommandInfo::agentCommand[MAXNUM_AGENT_COMMANDS] [private]
 

Definition at line 41 of file MoNetCommandInfo.h.

Referenced by EndPosture(), MoNetCommandInfo(), SetAgentCommand(), SetAgentResult(), and StartPosture().

int MoNetCommandInfo::numAgentCommands [private]
 

Definition at line 39 of file MoNetCommandInfo.h.

Referenced by SetAgentCommand().

MoNetStatus MoNetCommandInfo::status[MAXNUM_AGENT_COMMANDS] [private]
 

Definition at line 40 of file MoNetCommandInfo.h.

Referenced by ClearAgentResult(), IsDone(), MoNetCommandInfo(), and SetAgentResult().

bool MoNetCommandInfo::useSyncKey [private]
 

Definition at line 38 of file MoNetCommandInfo.h.


The documentation for this class was generated from the following files:
Generated on Sun Dec 2 23:04:34 2007 for openSDK by  doxygen 1.3.9.1