PTP
Release 5.0

org.eclipse.ptp.debug.core.pdi.model
Class AbstractModelFactory

java.lang.Object
  extended by org.eclipse.ptp.debug.core.pdi.model.AbstractModelFactory
All Implemented Interfaces:
IPDIModelFactory

public abstract class AbstractModelFactory
extends java.lang.Object
implements IPDIModelFactory


Constructor Summary
AbstractModelFactory()
           
 
Method Summary
 IPDIAddressBreakpoint newAddressBreakpoint(IPDISession session, TaskSet tasks, int type, IPDILocation location, IPDICondition condition, boolean enabled)
           
 IPDIArgument newArgument(IPDISession session, IPDIArgumentDescriptor argDesc, java.lang.String varId)
           
 IPDIArgumentDescriptor newArgumentDescriptor(IPDISession session, TaskSet tasks, IPDIThread thread, IPDIStackFrame frame, java.lang.String name, java.lang.String fullName, int pos, int depth)
           
 IPDICondition newCondition(int ignore, java.lang.String exp, java.lang.String[] ids)
           
 IPDIExceptionpoint newExceptionpoint(IPDISession session, TaskSet tasks, java.lang.String clazz, boolean stopOnThrow, boolean stopOnCatch, IPDICondition condition, boolean enabled, IPDIFunctionBreakpoint[] funcBpts)
           
 IPDITargetExpression newExpression(IPDISession session, TaskSet tasks, java.lang.String ex)
           
 IPDIFunctionBreakpoint newFunctionBreakpoint(IPDISession session, TaskSet tasks, int type, IPDILocation location, IPDICondition condition, boolean enabled)
           
 IPDIGlobalVariable newGlobalVariable(IPDISession session, IPDIGlobalVariableDescriptor varDesc, java.lang.String varId)
           
 IPDIGlobalVariableDescriptor newGlobalVariableDescriptor(IPDISession session, TaskSet tasks, IPDIThread thread, IPDIStackFrame frame, java.lang.String name, java.lang.String fullName, int pos, int depth)
           
 IPDILineBreakpoint newLineBreakpoint(IPDISession session, TaskSet tasks, int type, IPDILocation location, IPDICondition condition, boolean enabled)
           
 IPDILocalVariable newLocalVariable(IPDISession session, IPDILocalVariableDescriptor varDesc, java.lang.String varId)
           
 IPDILocalVariable newLocalVariable(IPDISession session, TaskSet tasks, IPDIThread thread, IPDIStackFrame frame, java.lang.String name, java.lang.String fullName, int pos, int depth, java.lang.String varid)
           
 IPDILocalVariableDescriptor newLocalVariableDescriptor(IPDISession session, TaskSet tasks, IPDIThread thread, IPDIStackFrame frame, java.lang.String name, java.lang.String fullName, int pos, int depth)
           
 IPDIMemory newMemory(java.lang.String address, java.lang.String ascii, java.lang.String[] data)
           
 IPDIMemoryBlock newMemoryBlock(IPDISession session, TaskSet tasks, java.lang.String exp, int wordSize, boolean b, IPDIDataReadMemoryInfo info)
           
 IPDIMultiExpressions newMultiExpressions(IPDISession session, TaskSet tasks, java.lang.String ex, boolean enabled)
           
 IPDIVariableDescriptor newRegisterDescriptor(IPDISession session, TaskSet tasks, IPDIThread thread, IPDIStackFrame frame, java.lang.String name, java.lang.String fullName, int pos, int depth)
           
 IPDISignal newSignal(IPDISession session, TaskSet tasks, IPDISignalDescriptor signalDescriptor)
           
 IPDISignalDescriptor newSignalDescriptor(java.lang.String name, boolean stop, boolean pass, boolean print, java.lang.String description)
           
 IPDIStackFrame newStackFrame(IPDISession session, IPDIThread pthread, int i, IPDILocator locator)
           
 IPDIStackFrame newStackFrame(IPDISession session, IPDIThread thread, int level, java.lang.String file, java.lang.String func, int line, java.math.BigInteger addr)
           
 IPDIStackFrameDescriptor newStackFrameDescriptor(int level, IPDILocator loc)
           
 IPDITarget newTarget(IPDISession session, TaskSet tasks)
           
 IPDIThread newThread(IPDISession session, IPDITarget target, int parseInt)
           
 IPDIVariableDescriptor newThreadStorageDescriptor(IPDISession session, TaskSet tasks, IPDIThread thread, IPDIStackFrame frame, java.lang.String name, java.lang.String fullName, int pos, int depth)
           
 IPDIWatchpoint newWatchpoint(IPDISession session, TaskSet tasks, int type, java.lang.String expression, int type2, IPDICondition condition, boolean enabled)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractModelFactory

public AbstractModelFactory()
Method Detail

newAddressBreakpoint

public IPDIAddressBreakpoint newAddressBreakpoint(IPDISession session,
                                                  TaskSet tasks,
                                                  int type,
                                                  IPDILocation location,
                                                  IPDICondition condition,
                                                  boolean enabled)
Specified by:
newAddressBreakpoint in interface IPDIModelFactory
Returns:
Since:
4.0

newArgument

public IPDIArgument newArgument(IPDISession session,
                                IPDIArgumentDescriptor argDesc,
                                java.lang.String varId)
Specified by:
newArgument in interface IPDIModelFactory
Returns:

newArgumentDescriptor

public IPDIArgumentDescriptor newArgumentDescriptor(IPDISession session,
                                                    TaskSet tasks,
                                                    IPDIThread thread,
                                                    IPDIStackFrame frame,
                                                    java.lang.String name,
                                                    java.lang.String fullName,
                                                    int pos,
                                                    int depth)
Specified by:
newArgumentDescriptor in interface IPDIModelFactory
Returns:
Since:
4.0

newCondition

public IPDICondition newCondition(int ignore,
                                  java.lang.String exp,
                                  java.lang.String[] ids)
Specified by:
newCondition in interface IPDIModelFactory
Returns:

newExceptionpoint

public IPDIExceptionpoint newExceptionpoint(IPDISession session,
                                            TaskSet tasks,
                                            java.lang.String clazz,
                                            boolean stopOnThrow,
                                            boolean stopOnCatch,
                                            IPDICondition condition,
                                            boolean enabled,
                                            IPDIFunctionBreakpoint[] funcBpts)
Specified by:
newExceptionpoint in interface IPDIModelFactory
Returns:
Since:
4.0

newExpression

public IPDITargetExpression newExpression(IPDISession session,
                                          TaskSet tasks,
                                          java.lang.String ex)
Specified by:
newExpression in interface IPDIModelFactory
Returns:
Since:
4.0

newFunctionBreakpoint

public IPDIFunctionBreakpoint newFunctionBreakpoint(IPDISession session,
                                                    TaskSet tasks,
                                                    int type,
                                                    IPDILocation location,
                                                    IPDICondition condition,
                                                    boolean enabled)
Specified by:
newFunctionBreakpoint in interface IPDIModelFactory
Returns:
Since:
4.0

newGlobalVariable

public IPDIGlobalVariable newGlobalVariable(IPDISession session,
                                            IPDIGlobalVariableDescriptor varDesc,
                                            java.lang.String varId)
Specified by:
newGlobalVariable in interface IPDIModelFactory
Returns:

newGlobalVariableDescriptor

public IPDIGlobalVariableDescriptor newGlobalVariableDescriptor(IPDISession session,
                                                                TaskSet tasks,
                                                                IPDIThread thread,
                                                                IPDIStackFrame frame,
                                                                java.lang.String name,
                                                                java.lang.String fullName,
                                                                int pos,
                                                                int depth)
Specified by:
newGlobalVariableDescriptor in interface IPDIModelFactory
Returns:
Since:
4.0

newLineBreakpoint

public IPDILineBreakpoint newLineBreakpoint(IPDISession session,
                                            TaskSet tasks,
                                            int type,
                                            IPDILocation location,
                                            IPDICondition condition,
                                            boolean enabled)
Specified by:
newLineBreakpoint in interface IPDIModelFactory
Returns:
Since:
4.0

newLocalVariable

public IPDILocalVariable newLocalVariable(IPDISession session,
                                          TaskSet tasks,
                                          IPDIThread thread,
                                          IPDIStackFrame frame,
                                          java.lang.String name,
                                          java.lang.String fullName,
                                          int pos,
                                          int depth,
                                          java.lang.String varid)
Specified by:
newLocalVariable in interface IPDIModelFactory
Since:
4.0

newLocalVariable

public IPDILocalVariable newLocalVariable(IPDISession session,
                                          IPDILocalVariableDescriptor varDesc,
                                          java.lang.String varId)
Specified by:
newLocalVariable in interface IPDIModelFactory
Returns:

newLocalVariableDescriptor

public IPDILocalVariableDescriptor newLocalVariableDescriptor(IPDISession session,
                                                              TaskSet tasks,
                                                              IPDIThread thread,
                                                              IPDIStackFrame frame,
                                                              java.lang.String name,
                                                              java.lang.String fullName,
                                                              int pos,
                                                              int depth)
Specified by:
newLocalVariableDescriptor in interface IPDIModelFactory
Returns:
Since:
4.0

newMemory

public IPDIMemory newMemory(java.lang.String address,
                            java.lang.String ascii,
                            java.lang.String[] data)
Specified by:
newMemory in interface IPDIModelFactory
Returns:

newMemoryBlock

public IPDIMemoryBlock newMemoryBlock(IPDISession session,
                                      TaskSet tasks,
                                      java.lang.String exp,
                                      int wordSize,
                                      boolean b,
                                      IPDIDataReadMemoryInfo info)
Specified by:
newMemoryBlock in interface IPDIModelFactory
Returns:
Since:
4.0

newMultiExpressions

public IPDIMultiExpressions newMultiExpressions(IPDISession session,
                                                TaskSet tasks,
                                                java.lang.String ex,
                                                boolean enabled)
Specified by:
newMultiExpressions in interface IPDIModelFactory
Returns:
Since:
4.0

newRegisterDescriptor

public IPDIVariableDescriptor newRegisterDescriptor(IPDISession session,
                                                    TaskSet tasks,
                                                    IPDIThread thread,
                                                    IPDIStackFrame frame,
                                                    java.lang.String name,
                                                    java.lang.String fullName,
                                                    int pos,
                                                    int depth)
Specified by:
newRegisterDescriptor in interface IPDIModelFactory
Returns:
Since:
4.0

newSignal

public IPDISignal newSignal(IPDISession session,
                            TaskSet tasks,
                            IPDISignalDescriptor signalDescriptor)
Specified by:
newSignal in interface IPDIModelFactory
Returns:
Since:
4.0

newSignalDescriptor

public IPDISignalDescriptor newSignalDescriptor(java.lang.String name,
                                                boolean stop,
                                                boolean pass,
                                                boolean print,
                                                java.lang.String description)
Specified by:
newSignalDescriptor in interface IPDIModelFactory
Returns:

newStackFrame

public IPDIStackFrame newStackFrame(IPDISession session,
                                    IPDIThread pthread,
                                    int i,
                                    IPDILocator locator)
Specified by:
newStackFrame in interface IPDIModelFactory
Returns:

newStackFrame

public IPDIStackFrame newStackFrame(IPDISession session,
                                    IPDIThread thread,
                                    int level,
                                    java.lang.String file,
                                    java.lang.String func,
                                    int line,
                                    java.math.BigInteger addr)
Specified by:
newStackFrame in interface IPDIModelFactory
Returns:

newStackFrameDescriptor

public IPDIStackFrameDescriptor newStackFrameDescriptor(int level,
                                                        IPDILocator loc)
Specified by:
newStackFrameDescriptor in interface IPDIModelFactory
Returns:

newTarget

public IPDITarget newTarget(IPDISession session,
                            TaskSet tasks)
Specified by:
newTarget in interface IPDIModelFactory
Returns:
Since:
4.0

newThread

public IPDIThread newThread(IPDISession session,
                            IPDITarget target,
                            int parseInt)
Specified by:
newThread in interface IPDIModelFactory
Returns:

newThreadStorageDescriptor

public IPDIVariableDescriptor newThreadStorageDescriptor(IPDISession session,
                                                         TaskSet tasks,
                                                         IPDIThread thread,
                                                         IPDIStackFrame frame,
                                                         java.lang.String name,
                                                         java.lang.String fullName,
                                                         int pos,
                                                         int depth)
Specified by:
newThreadStorageDescriptor in interface IPDIModelFactory
Returns:
Since:
4.0

newWatchpoint

public IPDIWatchpoint newWatchpoint(IPDISession session,
                                    TaskSet tasks,
                                    int type,
                                    java.lang.String expression,
                                    int type2,
                                    IPDICondition condition,
                                    boolean enabled)
Specified by:
newWatchpoint in interface IPDIModelFactory
Returns:
Since:
4.0

PTP
Release 5.0

Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.