AP_Debugger Class Reference

#include <AP_Debugger.h>

Inherits AP::AP_Thread.

Collaboration diagram for AP_Debugger:

Collaboration graph

Public Types


Public Member Functions

 AP_Debugger (const AP_Bool server)
AP_Bool Command (const AP_String &cmd, AP_String &response)
AP_Bool Create (const AP_String &path, const AP_String &args)
AP_Bool Destroy (void)
AP_Bool Read (AP_String &response, const AP_Uint32 timeout=AP_DEBUGGER_TIMEOUT)
AP_Bool Start (AP_String &response)
 Debugger command.
State status (void)
 Inline.
AP_Bool Stop (void)
AP_Bool Write (const AP_String &cmd)
virtual ~AP_Debugger (void)

Private Attributes

AP_String _m_args
AP_Uint32 _m_chunk_seq
AP_File _m_file
AP_String _m_path
AP_Int _m_PID
AP_String _m_prompt
AP_Bool _m_server
State _m_status
AP_Int _m_tty
AP_Byte _m_tty_slave [50]

Member Enumeration Documentation

enum State

Enumerator:
Initialized 
Created 
Started 
Stopped 
Destroyed 


Constructor & Destructor Documentation

AP_Debugger ( const AP_Bool  server  )  [inline]

virtual ~AP_Debugger ( void   )  [inline, virtual]


Member Function Documentation

AP_Bool Command ( const AP_String cmd,
AP_String response 
)

AP_Bool Create ( const AP_String path,
const AP_String args 
)

AP_Bool Destroy ( void   ) 

AP_Bool Read ( AP_String response,
const AP_Uint32  timeout = AP_DEBUGGER_TIMEOUT 
)

AP_Bool Start ( AP_String response  ) 

Debugger command.

State status ( void   )  [inline]

Inline.

AP_Bool Stop ( void   ) 

AP_Bool Write ( const AP_String cmd  ) 


Field Documentation

AP_String _m_args [private]

AP_File _m_file [private]

AP_String _m_path [private]

AP_Int _m_PID [private]

AP_String _m_prompt [private]

AP_Bool _m_server [private]

State _m_status [private]

AP_Int _m_tty [private]

AP_Byte _m_tty_slave[50] [private]


The documentation for this class was generated from the following files:

Generated on Fri Mar 5 16:50:45 2010 for CarLinO by  doxygen 1.5.8