org.eclipse.cdt.debug.internal.core.model
Class CSignal

java.lang.Object
  extended by org.eclipse.core.runtime.PlatformObject
      extended by org.eclipse.cdt.debug.internal.core.model.CDebugElement
          extended by org.eclipse.cdt.debug.internal.core.model.CSignal
All Implemented Interfaces:
org.eclipse.cdt.debug.core.cdi.event.ICDIEventListener, ICDebugElement, ICDebugElementStatus, ICSignal, org.eclipse.core.runtime.IAdaptable, org.eclipse.debug.core.model.IDebugElement

public class CSignal
extends CDebugElement
implements ICSignal, org.eclipse.cdt.debug.core.cdi.event.ICDIEventListener

Enter type comment.


Field Summary
 
Fields inherited from interface org.eclipse.cdt.debug.core.model.ICDebugElementStatus
ERROR, OK, WARNING
 
Constructor Summary
CSignal(CDebugTarget target, org.eclipse.cdt.debug.core.cdi.model.ICDISignal cdiSignal)
          Constructor for CSignal.
 
Method Summary
 boolean canModify()
          Returns whether modification is allowed for this signal's parameters.
 void dispose()
           
 java.lang.String getDescription()
          Returns the description of this signal.
 java.lang.String getName()
          Returns the name of this signal
 void handleDebugEvents(org.eclipse.cdt.debug.core.cdi.event.ICDIEvent[] events)
           
 boolean isPassEnabled()
          Returns whether "pass" is in effect for this signal.
 boolean isStopEnabled()
          Returns whether "stop" is in effect for this signal.
 void setPassEnabled(boolean enable)
          Enables/disables the "pass" flag of this signal.
 void setStopEnabled(boolean enable)
          Enables/disables the "stop" flag of this signal.
 void signal()
          Resumes execution, but immediately gives the target this signal.
 
Methods inherited from class org.eclipse.cdt.debug.internal.core.model.CDebugElement
createChangeEvent, createCreateEvent, createResumeEvent, createSuspendEvent, createTerminateEvent, fireChangeEvent, fireCreationEvent, fireResumeEvent, fireSuspendEvent, fireTerminateEvent, getAdapter, getCDISession, getCDITarget, getCurrentStateInfo, getDebugTarget, getLaunch, getMessage, getModelIdentifier, getSeverity, getState, isOK, notSupported, requestFailed, requestFailed, targetRequestFailed, targetRequestFailed
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.cdt.debug.core.model.ICDebugElement
getCurrentStateInfo, getState
 
Methods inherited from interface org.eclipse.debug.core.model.IDebugElement
getDebugTarget, getLaunch, getModelIdentifier
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Constructor Detail

CSignal

public CSignal(CDebugTarget target,
               org.eclipse.cdt.debug.core.cdi.model.ICDISignal cdiSignal)
Constructor for CSignal.

Parameters:
target -
Method Detail

getDescription

public java.lang.String getDescription()
                                throws org.eclipse.debug.core.DebugException
Description copied from interface: ICSignal
Returns the description of this signal.

Specified by:
getDescription in interface ICSignal
Returns:
this signal's description
Throws:
org.eclipse.debug.core.DebugException - if this method fails.

getName

public java.lang.String getName()
                         throws org.eclipse.debug.core.DebugException
Description copied from interface: ICSignal
Returns the name of this signal

Specified by:
getName in interface ICSignal
Returns:
this signal's name
Throws:
org.eclipse.debug.core.DebugException - if this method fails.

isPassEnabled

public boolean isPassEnabled()
                      throws org.eclipse.debug.core.DebugException
Description copied from interface: ICSignal
Returns whether "pass" is in effect for this signal.

Specified by:
isPassEnabled in interface ICSignal
Returns:
whether "pass" is in effect for this signal
Throws:
org.eclipse.debug.core.DebugException - if this method fails.

isStopEnabled

public boolean isStopEnabled()
                      throws org.eclipse.debug.core.DebugException
Description copied from interface: ICSignal
Returns whether "stop" is in effect for this signal.

Specified by:
isStopEnabled in interface ICSignal
Returns:
whether "stop" is in effect for this signal
Throws:
org.eclipse.debug.core.DebugException - if this method fails.

setPassEnabled

public void setPassEnabled(boolean enable)
                    throws org.eclipse.debug.core.DebugException
Description copied from interface: ICSignal
Enables/disables the "pass" flag of this signal.

Specified by:
setPassEnabled in interface ICSignal
Parameters:
enable - the flag value to set
Throws:
org.eclipse.debug.core.DebugException - if this method fails.

setStopEnabled

public void setStopEnabled(boolean enable)
                    throws org.eclipse.debug.core.DebugException
Description copied from interface: ICSignal
Enables/disables the "stop" flag of this signal.

Specified by:
setStopEnabled in interface ICSignal
Parameters:
enable - the flag value to set
Throws:
org.eclipse.debug.core.DebugException - if this method fails.

handleDebugEvents

public void handleDebugEvents(org.eclipse.cdt.debug.core.cdi.event.ICDIEvent[] events)
Specified by:
handleDebugEvents in interface org.eclipse.cdt.debug.core.cdi.event.ICDIEventListener

dispose

public void dispose()

signal

public void signal()
            throws org.eclipse.debug.core.DebugException
Description copied from interface: ICSignal
Resumes execution, but immediately gives the target this signal.

Specified by:
signal in interface ICSignal
Throws:
org.eclipse.debug.core.DebugException - if this method fails.

canModify

public boolean canModify()
Description copied from interface: ICSignal
Returns whether modification is allowed for this signal's parameters.

Specified by:
canModify in interface ICSignal
Returns:
whether modification is allowed for this signal's parameters