PTP
Release 7.0

org.eclipse.ptp.debug.core.pdi.manager
Interface IPDIVariableManager

All Superinterfaces:
IPDIManager, IPDISessionObject, IPDISet

public interface IPDIVariableManager
extends IPDIManager

Represent expression manager to manage processes


Method Summary
 IPDIArgument createArgument(IPDIArgumentDescriptor argDesc)
          Create an argument
 IPDIGlobalVariable createGlobalVariable(IPDIGlobalVariableDescriptor varDesc)
          Create a global variable
 IPDILocalVariable createLocalVariable(IPDILocalVariableDescriptor varDesc)
          Create a local variable
 IPDIThreadStorage createThreadStorage(IPDIThreadStorageDescriptor desc)
          Create thread storage
 IPDIVariable createVariable(IPDIVariableDescriptor varDesc)
          Create variable
 void destroyVariable(IPDIVariable variable)
          Destroy variable
 IPDIArgumentDescriptor[] getArgumentDescriptors(IPDIStackFrame frame)
          Get argument descriptors
 IPDIGlobalVariableDescriptor getGlobalVariableDescriptor(TaskSet tasks, String filename, String function, String name)
          Get global variable descriptor
 IPDILocalVariableDescriptor[] getLocalVariableDescriptors(IPDIStackFrame frame)
          Get local variable descriptors
 IPDIThreadStorageDescriptor[] getThreadStorageDescriptors(IPDIThread thread)
          Get thread storage descriptors
 IPDIVariable getVariableByName(TaskSet tasks, String varname)
          Get variable by name
 IPDIVariableDescriptor getVariableDescriptorAsArray(IPDIVariableDescriptor varDesc, int start, int length)
          Get variable descriptor as array
 IPDIVariableDescriptor getVariableDescriptorAsType(IPDIVariableDescriptor varDesc, String type)
          Get variable descriptor as type
 void update(TaskSet qTasks, String[] vars)
          Update variables
 
Methods inherited from interface org.eclipse.ptp.debug.core.pdi.manager.IPDIManager
isAutoUpdate, setAutoUpdate, shutdown, update
 
Methods inherited from interface org.eclipse.ptp.debug.core.pdi.IPDISessionObject
getSession
 
Methods inherited from interface org.eclipse.ptp.debug.core.pdi.IPDISet
getTasks
 

Method Detail

createArgument

IPDIArgument createArgument(IPDIArgumentDescriptor argDesc)
                            throws PDIException
Create an argument

Parameters:
argDesc -
Returns:
Throws:
PDIException

createGlobalVariable

IPDIGlobalVariable createGlobalVariable(IPDIGlobalVariableDescriptor varDesc)
                                        throws PDIException
Create a global variable

Parameters:
varDesc -
Returns:
Throws:
PDIException

createLocalVariable

IPDILocalVariable createLocalVariable(IPDILocalVariableDescriptor varDesc)
                                      throws PDIException
Create a local variable

Parameters:
varDesc -
Returns:
Throws:
PDIException

getArgumentDescriptors

IPDIArgumentDescriptor[] getArgumentDescriptors(IPDIStackFrame frame)
                                                throws PDIException
Get argument descriptors

Parameters:
frame -
Returns:
Throws:
PDIException

getLocalVariableDescriptors

IPDILocalVariableDescriptor[] getLocalVariableDescriptors(IPDIStackFrame frame)
                                                          throws PDIException
Get local variable descriptors

Parameters:
frame -
Returns:
Throws:
PDIException

getVariableByName

IPDIVariable getVariableByName(TaskSet tasks,
                               String varname)
Get variable by name

Since:
4.0

getGlobalVariableDescriptor

IPDIGlobalVariableDescriptor getGlobalVariableDescriptor(TaskSet tasks,
                                                         String filename,
                                                         String function,
                                                         String name)
                                                         throws PDIException
Get global variable descriptor

Throws:
PDIException
Since:
4.0

createThreadStorage

IPDIThreadStorage createThreadStorage(IPDIThreadStorageDescriptor desc)
                                      throws PDIException
Create thread storage

Parameters:
desc -
Returns:
Throws:
PDIException

getThreadStorageDescriptors

IPDIThreadStorageDescriptor[] getThreadStorageDescriptors(IPDIThread thread)
                                                          throws PDIException
Get thread storage descriptors

Parameters:
thread -
Returns:
Throws:
PDIException

destroyVariable

void destroyVariable(IPDIVariable variable)
                     throws PDIException
Destroy variable

Parameters:
variable -
Throws:
PDIException

createVariable

IPDIVariable createVariable(IPDIVariableDescriptor varDesc)
                            throws PDIException
Create variable

Parameters:
varDesc -
Returns:
Throws:
PDIException

getVariableDescriptorAsArray

IPDIVariableDescriptor getVariableDescriptorAsArray(IPDIVariableDescriptor varDesc,
                                                    int start,
                                                    int length)
                                                    throws PDIException
Get variable descriptor as array

Parameters:
varDesc -
start -
length -
Returns:
Throws:
PDIException

getVariableDescriptorAsType

IPDIVariableDescriptor getVariableDescriptorAsType(IPDIVariableDescriptor varDesc,
                                                   String type)
                                                   throws PDIException
Get variable descriptor as type

Parameters:
varDesc -
type -
Returns:
Throws:
PDIException

update

void update(TaskSet qTasks,
            String[] vars)
            throws PDIException
Update variables

Parameters:
qTasks -
vars -
Throws:
PDIException
Since:
4.0

PTP
Release 7.0

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