MSP430Proxy::GlobalSessionMonitor Class Reference

Ensures that only one session can be active simultaneously and sends the global Ctrl+C events to the active session. More...

#include <GlobalSessionMonitor.h>

Public Member Functions

bool RegisterSession (ISyncGDBTarget *pTarget)
 Registers the given session as the active session.
 
void UnregisterSession (ISyncGDBTarget *pTarget)
 Unregisters a session that has been previously set as active.
 
 GlobalSessionMonitor ()
 

Detailed Description

Ensures that only one session can be active simultaneously and sends the global Ctrl+C events to the active session.

Definition at line 10 of file GlobalSessionMonitor.h.

Constructor & Destructor Documentation

MSP430Proxy::GlobalSessionMonitor::GlobalSessionMonitor ( )

Definition at line 25 of file GlobalSessionMonitor.cpp.

Member Function Documentation

bool MSP430Proxy::GlobalSessionMonitor::RegisterSession ( ISyncGDBTarget *  pTarget)

Registers the given session as the active session.

Returns
If another session is already active, this method aborts and returns false. Otherwise it returns true.

Definition at line 9 of file GlobalSessionMonitor.cpp.

void MSP430Proxy::GlobalSessionMonitor::UnregisterSession ( ISyncGDBTarget *  pTarget)

Unregisters a session that has been previously set as active.

Definition at line 18 of file GlobalSessionMonitor.cpp.


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