DRAMA 2 Python Code Documentation

The documentation below is automatically generated from the source code.

If this is empty, then the documentation was built before the sub-system was built. Please built the dpython sub-system. (Requires SWIG to be installed)

DRAMA interface to Python (via the DRAMA 2 API).

class dpython.AId(*args)[source]

AId is an interface to drama::sds::Id where the Sds ID is held in a drama::sds::IdPtr. In effect, it is a wrapper around drama::sds::IdPtr with operations equivalent to DRAMA Arg operations made available.

Cell(AId self, ULongVector indicies) AId[source]

For an array of any dimensionality, index into the array

Code(AId self) std::string[source]

Return the SDS code for an item.

Copy(AId self) AId[source]

Construct a new AId item as a copy of an existing item

static CreateArgStruct(std::string const & name="ArgStructure") AId[source]

Create a new top-level ‘Arg’ style SDS structure as an Aid type.

Exists(AId self, std::string const & name) bool[source]

Returns true if a name item exists in an SDS structure.

Find(AId self, std::string const & name) AId[source]

Finds a named item in an SDS structure and returns a new ID referring to it.

Get(AId self, std::string const & name) std::string[source]

Fetch a scaler or string value from an SDS item

GetArrayData1dChar(AId self) CharVector[source]

Return data from a SDS item which is 1d array of SDS_CHAR or SDS_BYTE values

GetArrayData1dDouble(AId self) DoubleVector[source]

Return data from a SDS item which is 1d array of SDS_DOUBLE values

GetArrayData1dFloat(AId self) FloatVector[source]

Return data from a SDS item which is 1d array of SDS_FLOAT values

GetArrayData1dINT32(AId self) INT32Vector[source]

Return data from a SDS item which is 1d array of SDS_INT values

GetArrayData1dSHORT(AId self) ShortVector[source]

Return data from a SDS item which is 1d array of SDS_SHORT values

GetArrayData1dUChar(AId self) UCharVector[source]

Return data from a SDS item which is 1d array of SDS_UBYTE values

GetArrayData1dUINT32(AId self) UINT32Vector[source]

Return data from a SDS item which is 1d array of SDS_UINT values

GetArrayData1dUSHORT(AId self) UShortVector[source]

Return data from a SDS item which is 1d array of SDS_USHORT values

GetArrayDims(AId self) ULongVector[source]

Returns the dimensions of this SDS item

GetArrayStrings(AId self) StringVector[source]

Reads a 2 dimensional SDS character array as an array of strings.

GetName(AId self) std::string[source]

Returns the name of this SDS item..

GetNumArrayDims(AId self) unsigned long[source]

Returns the number of array dimenions for an item, 0 if it is not an array.

GetNumItems(AId self) unsigned int[source]

Returns the number of components in an SDS structure - the maximum which can be supplied to Index for this item.

Index(AId self, long index) AId[source]

Finds an item in an SDS structure by index and returns a new ID referring to it.

List(AId self)[source]

List the contents of an AId SDS structure to stdout

PutStr(AId self, std::string const & name, std::string value)[source]

Put string value into the Arg SDS structure item of the given name

Putc(AId self, std::string const & name, char value)[source]

Put a signed 8 bit integer into the Arg SDS structure item of the given name

Putd(AId self, std::string const & name, double value)[source]

Put a double length floating point value into the Arg SDS structure item of the given name

Putf(AId self, std::string const & name, float value)[source]

Put a single length floating point value into the Arg SDS structure item of the given name

Puti(AId self, std::string const & name, int value)[source]

Put a signed integer into the Arg SDS structure item of the given name

Puti64(AId self, std::string const & name, long value)[source]

Put a signed 64 bit integer into the Arg SDS structure item of the given name

Puts(AId self, std::string const & name, short value)[source]

Put a signed 16 bit integer into the Arg SDS structure item of the given name

Putui(AId self, std::string const & name, unsigned int value)[source]

Put an unsigned integer into the Arg SDS structure item of the given name

Putui64(AId self, std::string const & name, unsigned long value)[source]

Put an unsigned 64 bit integer into the Arg SDS structure item of the given name

Putus(AId self, std::string const & name, unsigned short value)[source]

Put an unsigned 16 bit integer into the Arg SDS structure item of the given name

static Read(std::string const & name) AId[source]

Create a new top-level SDS structure by reading it from a file.

Write(AId self, std::string const & filename)[source]

Write the contents of an AId SDS structure to an SDS file of the specified name

property thisown

The membership flag

toString(AId self, int maxlen=1000) std::string[source]

Convert an AId SDS structure to a string representation

class dpython.CharVector(*args)[source]

Proxy of C++ std::vector< char > class.

append(CharVector self, std::vector< char >::value_type const & x)[source]
assign(CharVector self, std::vector< char >::size_type n, std::vector< char >::value_type const & x)[source]
back(CharVector self) std::vector< char >::value_type const &[source]
begin(CharVector self) std::vector< char >::iterator[source]
capacity(CharVector self) std::vector< char >::size_type[source]
clear(CharVector self)[source]
empty(CharVector self) bool[source]
end(CharVector self) std::vector< char >::iterator[source]
erase(CharVector self, std::vector< char >::iterator pos) std::vector< char >::iterator[source]
erase(CharVector self, std::vector< char >::iterator first, std::vector< char >::iterator last) std::vector< char >::iterator
front(CharVector self) std::vector< char >::value_type const &[source]
get_allocator(CharVector self) std::vector< char >::allocator_type[source]
insert(CharVector self, std::vector< char >::iterator pos, std::vector< char >::value_type const & x) std::vector< char >::iterator[source]
insert(CharVector self, std::vector< char >::iterator pos, std::vector< char >::size_type n, std::vector< char >::value_type const & x) None
iterator(CharVector self) SwigPyIterator[source]
pop(CharVector self) std::vector< char >::value_type[source]
pop_back(CharVector self)[source]
push_back(CharVector self, std::vector< char >::value_type const & x)[source]
rbegin(CharVector self) std::vector< char >::reverse_iterator[source]
rend(CharVector self) std::vector< char >::reverse_iterator[source]
reserve(CharVector self, std::vector< char >::size_type n)[source]
resize(CharVector self, std::vector< char >::size_type new_size)[source]
resize(CharVector self, std::vector< char >::size_type new_size, std::vector< char >::value_type const & x) None
size(CharVector self) std::vector< char >::size_type[source]
swap(CharVector self, CharVector v)[source]
property thisown

The membership flag

class dpython.DoubleVector(*args)[source]

Proxy of C++ std::vector< double > class.

append(DoubleVector self, std::vector< double >::value_type const & x)[source]
assign(DoubleVector self, std::vector< double >::size_type n, std::vector< double >::value_type const & x)[source]
back(DoubleVector self) std::vector< double >::value_type const &[source]
begin(DoubleVector self) std::vector< double >::iterator[source]
capacity(DoubleVector self) std::vector< double >::size_type[source]
clear(DoubleVector self)[source]
empty(DoubleVector self) bool[source]
end(DoubleVector self) std::vector< double >::iterator[source]
erase(DoubleVector self, std::vector< double >::iterator pos) std::vector< double >::iterator[source]
erase(DoubleVector self, std::vector< double >::iterator first, std::vector< double >::iterator last) std::vector< double >::iterator
front(DoubleVector self) std::vector< double >::value_type const &[source]
get_allocator(DoubleVector self) std::vector< double >::allocator_type[source]
insert(DoubleVector self, std::vector< double >::iterator pos, std::vector< double >::value_type const & x) std::vector< double >::iterator[source]
insert(DoubleVector self, std::vector< double >::iterator pos, std::vector< double >::size_type n, std::vector< double >::value_type const & x) None
iterator(DoubleVector self) SwigPyIterator[source]
pop(DoubleVector self) std::vector< double >::value_type[source]
pop_back(DoubleVector self)[source]
push_back(DoubleVector self, std::vector< double >::value_type const & x)[source]
rbegin(DoubleVector self) std::vector< double >::reverse_iterator[source]
rend(DoubleVector self) std::vector< double >::reverse_iterator[source]
reserve(DoubleVector self, std::vector< double >::size_type n)[source]
resize(DoubleVector self, std::vector< double >::size_type new_size)[source]
resize(DoubleVector self, std::vector< double >::size_type new_size, std::vector< double >::value_type const & x) None
size(DoubleVector self) std::vector< double >::size_type[source]
swap(DoubleVector self, DoubleVector v)[source]
property thisown

The membership flag

class dpython.FloatVector(*args)[source]

Proxy of C++ std::vector< float > class.

append(FloatVector self, std::vector< float >::value_type const & x)[source]
assign(FloatVector self, std::vector< float >::size_type n, std::vector< float >::value_type const & x)[source]
back(FloatVector self) std::vector< float >::value_type const &[source]
begin(FloatVector self) std::vector< float >::iterator[source]
capacity(FloatVector self) std::vector< float >::size_type[source]
clear(FloatVector self)[source]
empty(FloatVector self) bool[source]
end(FloatVector self) std::vector< float >::iterator[source]
erase(FloatVector self, std::vector< float >::iterator pos) std::vector< float >::iterator[source]
erase(FloatVector self, std::vector< float >::iterator first, std::vector< float >::iterator last) std::vector< float >::iterator
front(FloatVector self) std::vector< float >::value_type const &[source]
get_allocator(FloatVector self) std::vector< float >::allocator_type[source]
insert(FloatVector self, std::vector< float >::iterator pos, std::vector< float >::value_type const & x) std::vector< float >::iterator[source]
insert(FloatVector self, std::vector< float >::iterator pos, std::vector< float >::size_type n, std::vector< float >::value_type const & x) None
iterator(FloatVector self) SwigPyIterator[source]
pop(FloatVector self) std::vector< float >::value_type[source]
pop_back(FloatVector self)[source]
push_back(FloatVector self, std::vector< float >::value_type const & x)[source]
rbegin(FloatVector self) std::vector< float >::reverse_iterator[source]
rend(FloatVector self) std::vector< float >::reverse_iterator[source]
reserve(FloatVector self, std::vector< float >::size_type n)[source]
resize(FloatVector self, std::vector< float >::size_type new_size)[source]
resize(FloatVector self, std::vector< float >::size_type new_size, std::vector< float >::value_type const & x) None
size(FloatVector self) std::vector< float >::size_type[source]
swap(FloatVector self, FloatVector v)[source]
property thisown

The membership flag

class dpython.INT32Vector(*args)[source]

Proxy of C++ std::vector< int32_t > class.

append(INT32Vector self, std::vector< int >::value_type const & x)[source]
assign(INT32Vector self, std::vector< int >::size_type n, std::vector< int >::value_type const & x)[source]
back(INT32Vector self) std::vector< int >::value_type const &[source]
begin(INT32Vector self) std::vector< int >::iterator[source]
capacity(INT32Vector self) std::vector< int >::size_type[source]
clear(INT32Vector self)[source]
empty(INT32Vector self) bool[source]
end(INT32Vector self) std::vector< int >::iterator[source]
erase(INT32Vector self, std::vector< int >::iterator pos) std::vector< int >::iterator[source]
erase(INT32Vector self, std::vector< int >::iterator first, std::vector< int >::iterator last) std::vector< int >::iterator
front(INT32Vector self) std::vector< int >::value_type const &[source]
get_allocator(INT32Vector self) std::vector< int >::allocator_type[source]
insert(INT32Vector self, std::vector< int >::iterator pos, std::vector< int >::value_type const & x) std::vector< int >::iterator[source]
insert(INT32Vector self, std::vector< int >::iterator pos, std::vector< int >::size_type n, std::vector< int >::value_type const & x) None
iterator(INT32Vector self) SwigPyIterator[source]
pop(INT32Vector self) std::vector< int >::value_type[source]
pop_back(INT32Vector self)[source]
push_back(INT32Vector self, std::vector< int >::value_type const & x)[source]
rbegin(INT32Vector self) std::vector< int >::reverse_iterator[source]
rend(INT32Vector self) std::vector< int >::reverse_iterator[source]
reserve(INT32Vector self, std::vector< int >::size_type n)[source]
resize(INT32Vector self, std::vector< int >::size_type new_size)[source]
resize(INT32Vector self, std::vector< int >::size_type new_size, std::vector< int >::value_type const & x) None
size(INT32Vector self) std::vector< int >::size_type[source]
swap(INT32Vector self, INT32Vector v)[source]
property thisown

The membership flag

class dpython.MonitorToDict(task, parameters)[source]

A class which implements a DRAMA parameter monitor to a dictionary.

The class variable “dict” will be automatically updated with the values of the specified parameters. To run the montior, execute the base class RunMonitor() method.

ParameterChangedCallback(arg)[source]

This method is invoked automatically by the monitor operation after the base class RunMonitor() method is invoked. It will update the dictionary such that an item with the same name as the parameter always has the current value of the parameter.

This does rely on the dpython.SdsToDict method to handle non-scalar items. That method does not yet handle all possible SDS structures.

class dpython.Path(*args)[source]

The Path class is used to communicate with other DRAMA tasks. The constructor takes four arguments, the last two of which are optional. A reference to the task it is running as, target task name, host the target task can be found/loaded on and the file. File is used to load the task if it is not already running. The node is only used if the task is not already known to the local machine, if empty, then the local host is presumed.

GetParam(Path self, std::string const & parameter) AId[source]

Send a Get Parameter message to the task and wait for it to complete. The single argument is the parameter name, returns the value

GetPath(Path self)[source]

Initiate getting the path to the task. Note, you may want to invoke SetBuffers() first.

Kick(Path self, std::string const & action, AId arg=AId())[source]

Send a Kicks message to the task and wait for it to complete. Argumets are the action name and (optionally) the message argument.

Obey(Path self, std::string const & action, AId arg=AId())[source]

Send an Obey message to the task and wait for it to complete. Argumets are the action name and (optionally) the message argument.

SetBuffers(Path self, long const ToTaskBytes, long const FromTaskBytes)[source]

Set the buffers to be used when setting up the path. Only used if before GetPath is invoked. For argument is for messages to the task (default of 1600), second for replies (default of 8000)

SetParam(Path self, std::string const & parameter, AId arg)[source]

Send a ‘Set Parameter’ message to the task and wait for it to complete. Argumets are the parameter name and the argument with the new value.

property thisown

The membership flag

dpython.SdsToDict(tid)[source]

Convert an SDS ID (AId) to a dictionary. This procedure will work through the struture creating a dictionary representing it. Nested structures become nested dictionaries.

Some items cannot yet be converted - multi-dimenional arrays (except for 2 dimensional string arrays), arrays of structures and arrays of 64 bit integers. For each of these, a value including the string “UNSUP” is inserted, e.g. “STRUCT_ARRAY_UNSUP”. They may be supported in a future release.

class dpython.ShortVector(*args)[source]

Proxy of C++ std::vector< short > class.

append(ShortVector self, std::vector< short >::value_type const & x)[source]
assign(ShortVector self, std::vector< short >::size_type n, std::vector< short >::value_type const & x)[source]
back(ShortVector self) std::vector< short >::value_type const &[source]
begin(ShortVector self) std::vector< short >::iterator[source]
capacity(ShortVector self) std::vector< short >::size_type[source]
clear(ShortVector self)[source]
empty(ShortVector self) bool[source]
end(ShortVector self) std::vector< short >::iterator[source]
erase(ShortVector self, std::vector< short >::iterator pos) std::vector< short >::iterator[source]
erase(ShortVector self, std::vector< short >::iterator first, std::vector< short >::iterator last) std::vector< short >::iterator
front(ShortVector self) std::vector< short >::value_type const &[source]
get_allocator(ShortVector self) std::vector< short >::allocator_type[source]
insert(ShortVector self, std::vector< short >::iterator pos, std::vector< short >::value_type const & x) std::vector< short >::iterator[source]
insert(ShortVector self, std::vector< short >::iterator pos, std::vector< short >::size_type n, std::vector< short >::value_type const & x) None
iterator(ShortVector self) SwigPyIterator[source]
pop(ShortVector self) std::vector< short >::value_type[source]
pop_back(ShortVector self)[source]
push_back(ShortVector self, std::vector< short >::value_type const & x)[source]
rbegin(ShortVector self) std::vector< short >::reverse_iterator[source]
rend(ShortVector self) std::vector< short >::reverse_iterator[source]
reserve(ShortVector self, std::vector< short >::size_type n)[source]
resize(ShortVector self, std::vector< short >::size_type new_size)[source]
resize(ShortVector self, std::vector< short >::size_type new_size, std::vector< short >::value_type const & x) None
size(ShortVector self) std::vector< short >::size_type[source]
swap(ShortVector self, ShortVector v)[source]
property thisown

The membership flag

class dpython.StringVector(*args)[source]

Proxy of C++ std::vector< std::string > class.

append(StringVector self, std::vector< std::string >::value_type const & x)[source]
assign(StringVector self, std::vector< std::string >::size_type n, std::vector< std::string >::value_type const & x)[source]
back(StringVector self) std::vector< std::string >::value_type const &[source]
begin(StringVector self) std::vector< std::string >::iterator[source]
capacity(StringVector self) std::vector< std::string >::size_type[source]
clear(StringVector self)[source]
empty(StringVector self) bool[source]
end(StringVector self) std::vector< std::string >::iterator[source]
erase(StringVector self, std::vector< std::string >::iterator pos) std::vector< std::string >::iterator[source]
erase(StringVector self, std::vector< std::string >::iterator first, std::vector< std::string >::iterator last) std::vector< std::string >::iterator
front(StringVector self) std::vector< std::string >::value_type const &[source]
get_allocator(StringVector self) std::vector< std::string >::allocator_type[source]
insert(StringVector self, std::vector< std::string >::iterator pos, std::vector< std::string >::value_type const & x) std::vector< std::string >::iterator[source]
insert(StringVector self, std::vector< std::string >::iterator pos, std::vector< std::string >::size_type n, std::vector< std::string >::value_type const & x) None
iterator(StringVector self) SwigPyIterator[source]
pop(StringVector self) std::vector< std::string >::value_type[source]
pop_back(StringVector self)[source]
push_back(StringVector self, std::vector< std::string >::value_type const & x)[source]
rbegin(StringVector self) std::vector< std::string >::reverse_iterator[source]
rend(StringVector self) std::vector< std::string >::reverse_iterator[source]
reserve(StringVector self, std::vector< std::string >::size_type n)[source]
resize(StringVector self, std::vector< std::string >::size_type new_size)[source]
resize(StringVector self, std::vector< std::string >::size_type new_size, std::vector< std::string >::value_type const & x) None
size(StringVector self) std::vector< std::string >::size_type[source]
swap(StringVector self, StringVector v)[source]
property thisown

The membership flag

class dpython.Task(*args)[source]

Create a DRAMA task with a specified name. buffer specifies the global buffer size, defaulting to 20000 bytes. flags is used t specify various DRAMA task flags and selfBytes the size of the buffer used for messages the task sends to itself. See drama2::Task() for more details

AddExitAction(Task self)[source]

Add a simple exit action

RunDrama(Task self)[source]

Run the DRAMA task - process DRAMA messages

SignalDramaToExit(Task self, long exitStatus=0)[source]

Access the thread method to signal a task to exit

property thisown

The membership flag

class dpython.TaskWeakPtr(*args)[source]

Proxy of C++ std::weak_ptr< Task > class.

expired(TaskWeakPtr self) bool[source]
lock(TaskWeakPtr self) std::shared_ptr< Task >[source]
reset(TaskWeakPtr self)[source]
swap(TaskWeakPtr self, TaskWeakPtr arg2)[source]
property thisown

The membership flag

use_count(TaskWeakPtr self) long[source]
class dpython.UCharVector(*args)[source]

Proxy of C++ std::vector< unsigned char > class.

append(UCharVector self, std::vector< unsigned char >::value_type const & x)[source]
assign(UCharVector self, std::vector< unsigned char >::size_type n, std::vector< unsigned char >::value_type const & x)[source]
back(UCharVector self) std::vector< unsigned char >::value_type const &[source]
begin(UCharVector self) std::vector< unsigned char >::iterator[source]
capacity(UCharVector self) std::vector< unsigned char >::size_type[source]
clear(UCharVector self)[source]
empty(UCharVector self) bool[source]
end(UCharVector self) std::vector< unsigned char >::iterator[source]
erase(UCharVector self, std::vector< unsigned char >::iterator pos) std::vector< unsigned char >::iterator[source]
erase(UCharVector self, std::vector< unsigned char >::iterator first, std::vector< unsigned char >::iterator last) std::vector< unsigned char >::iterator
front(UCharVector self) std::vector< unsigned char >::value_type const &[source]
get_allocator(UCharVector self) std::vector< unsigned char >::allocator_type[source]
insert(UCharVector self, std::vector< unsigned char >::iterator pos, std::vector< unsigned char >::value_type const & x) std::vector< unsigned char >::iterator[source]
insert(UCharVector self, std::vector< unsigned char >::iterator pos, std::vector< unsigned char >::size_type n, std::vector< unsigned char >::value_type const & x) None
iterator(UCharVector self) SwigPyIterator[source]
pop(UCharVector self) std::vector< unsigned char >::value_type[source]
pop_back(UCharVector self)[source]
push_back(UCharVector self, std::vector< unsigned char >::value_type const & x)[source]
rbegin(UCharVector self) std::vector< unsigned char >::reverse_iterator[source]
rend(UCharVector self) std::vector< unsigned char >::reverse_iterator[source]
reserve(UCharVector self, std::vector< unsigned char >::size_type n)[source]
resize(UCharVector self, std::vector< unsigned char >::size_type new_size)[source]
resize(UCharVector self, std::vector< unsigned char >::size_type new_size, std::vector< unsigned char >::value_type const & x) None
size(UCharVector self) std::vector< unsigned char >::size_type[source]
swap(UCharVector self, UCharVector v)[source]
property thisown

The membership flag

class dpython.UINT32Vector(*args)[source]

Proxy of C++ std::vector< uint32_t > class.

append(UINT32Vector self, std::vector< unsigned int >::value_type const & x)[source]
assign(UINT32Vector self, std::vector< unsigned int >::size_type n, std::vector< unsigned int >::value_type const & x)[source]
back(UINT32Vector self) std::vector< unsigned int >::value_type const &[source]
begin(UINT32Vector self) std::vector< unsigned int >::iterator[source]
capacity(UINT32Vector self) std::vector< unsigned int >::size_type[source]
clear(UINT32Vector self)[source]
empty(UINT32Vector self) bool[source]
end(UINT32Vector self) std::vector< unsigned int >::iterator[source]
erase(UINT32Vector self, std::vector< unsigned int >::iterator pos) std::vector< unsigned int >::iterator[source]
erase(UINT32Vector self, std::vector< unsigned int >::iterator first, std::vector< unsigned int >::iterator last) std::vector< unsigned int >::iterator
front(UINT32Vector self) std::vector< unsigned int >::value_type const &[source]
get_allocator(UINT32Vector self) std::vector< unsigned int >::allocator_type[source]
insert(UINT32Vector self, std::vector< unsigned int >::iterator pos, std::vector< unsigned int >::value_type const & x) std::vector< unsigned int >::iterator[source]
insert(UINT32Vector self, std::vector< unsigned int >::iterator pos, std::vector< unsigned int >::size_type n, std::vector< unsigned int >::value_type const & x) None
iterator(UINT32Vector self) SwigPyIterator[source]
pop(UINT32Vector self) std::vector< unsigned int >::value_type[source]
pop_back(UINT32Vector self)[source]
push_back(UINT32Vector self, std::vector< unsigned int >::value_type const & x)[source]
rbegin(UINT32Vector self) std::vector< unsigned int >::reverse_iterator[source]
rend(UINT32Vector self) std::vector< unsigned int >::reverse_iterator[source]
reserve(UINT32Vector self, std::vector< unsigned int >::size_type n)[source]
resize(UINT32Vector self, std::vector< unsigned int >::size_type new_size)[source]
resize(UINT32Vector self, std::vector< unsigned int >::size_type new_size, std::vector< unsigned int >::value_type const & x) None
size(UINT32Vector self) std::vector< unsigned int >::size_type[source]
swap(UINT32Vector self, UINT32Vector v)[source]
property thisown

The membership flag

class dpython.ULongVector(*args)[source]

Proxy of C++ std::vector< unsigned long > class.

append(ULongVector self, std::vector< unsigned long >::value_type const & x)[source]
assign(ULongVector self, std::vector< unsigned long >::size_type n, std::vector< unsigned long >::value_type const & x)[source]
back(ULongVector self) std::vector< unsigned long >::value_type const &[source]
begin(ULongVector self) std::vector< unsigned long >::iterator[source]
capacity(ULongVector self) std::vector< unsigned long >::size_type[source]
clear(ULongVector self)[source]
empty(ULongVector self) bool[source]
end(ULongVector self) std::vector< unsigned long >::iterator[source]
erase(ULongVector self, std::vector< unsigned long >::iterator pos) std::vector< unsigned long >::iterator[source]
erase(ULongVector self, std::vector< unsigned long >::iterator first, std::vector< unsigned long >::iterator last) std::vector< unsigned long >::iterator
front(ULongVector self) std::vector< unsigned long >::value_type const &[source]
get_allocator(ULongVector self) std::vector< unsigned long >::allocator_type[source]
insert(ULongVector self, std::vector< unsigned long >::iterator pos, std::vector< unsigned long >::value_type const & x) std::vector< unsigned long >::iterator[source]
insert(ULongVector self, std::vector< unsigned long >::iterator pos, std::vector< unsigned long >::size_type n, std::vector< unsigned long >::value_type const & x) None
iterator(ULongVector self) SwigPyIterator[source]
pop(ULongVector self) std::vector< unsigned long >::value_type[source]
pop_back(ULongVector self)[source]
push_back(ULongVector self, std::vector< unsigned long >::value_type const & x)[source]
rbegin(ULongVector self) std::vector< unsigned long >::reverse_iterator[source]
rend(ULongVector self) std::vector< unsigned long >::reverse_iterator[source]
reserve(ULongVector self, std::vector< unsigned long >::size_type n)[source]
resize(ULongVector self, std::vector< unsigned long >::size_type new_size)[source]
resize(ULongVector self, std::vector< unsigned long >::size_type new_size, std::vector< unsigned long >::value_type const & x) None
size(ULongVector self) std::vector< unsigned long >::size_type[source]
swap(ULongVector self, ULongVector v)[source]
property thisown

The membership flag

class dpython.UShortVector(*args)[source]

Proxy of C++ std::vector< unsigned short > class.

append(UShortVector self, std::vector< unsigned short >::value_type const & x)[source]
assign(UShortVector self, std::vector< unsigned short >::size_type n, std::vector< unsigned short >::value_type const & x)[source]
back(UShortVector self) std::vector< unsigned short >::value_type const &[source]
begin(UShortVector self) std::vector< unsigned short >::iterator[source]
capacity(UShortVector self) std::vector< unsigned short >::size_type[source]
clear(UShortVector self)[source]
empty(UShortVector self) bool[source]
end(UShortVector self) std::vector< unsigned short >::iterator[source]
erase(UShortVector self, std::vector< unsigned short >::iterator pos) std::vector< unsigned short >::iterator[source]
erase(UShortVector self, std::vector< unsigned short >::iterator first, std::vector< unsigned short >::iterator last) std::vector< unsigned short >::iterator
front(UShortVector self) std::vector< unsigned short >::value_type const &[source]
get_allocator(UShortVector self) std::vector< unsigned short >::allocator_type[source]
insert(UShortVector self, std::vector< unsigned short >::iterator pos, std::vector< unsigned short >::value_type const & x) std::vector< unsigned short >::iterator[source]
insert(UShortVector self, std::vector< unsigned short >::iterator pos, std::vector< unsigned short >::size_type n, std::vector< unsigned short >::value_type const & x) None
iterator(UShortVector self) SwigPyIterator[source]
pop(UShortVector self) std::vector< unsigned short >::value_type[source]
pop_back(UShortVector self)[source]
push_back(UShortVector self, std::vector< unsigned short >::value_type const & x)[source]
rbegin(UShortVector self) std::vector< unsigned short >::reverse_iterator[source]
rend(UShortVector self) std::vector< unsigned short >::reverse_iterator[source]
reserve(UShortVector self, std::vector< unsigned short >::size_type n)[source]
resize(UShortVector self, std::vector< unsigned short >::size_type new_size)[source]
resize(UShortVector self, std::vector< unsigned short >::size_type new_size, std::vector< unsigned short >::value_type const & x) None
size(UShortVector self) std::vector< unsigned short >::size_type[source]
swap(UShortVector self, UShortVector v)[source]
property thisown

The membership flag

class dpython.pmonitor(theTask, params)[source]

The pmonitor class implements a DRAMA parameter monitor. Use it to get notifications when the value of a parameter of another task changes.

Cancel(pmonitor self)[source]

This method can be invoked to cancel the monitor.

ParameterChangedCallback(pmonitor self, AId arg)[source]

This method is invoked each time a parameter changed message is received, with its argument being an AId object. A sub-task can override it to do what it wishes with the event.

RunMonitor(pmonitor self, Path thePath)[source]

This method will send a DRAMA ‘MONITOR START’ message to the task, the path to which is supplied. The parameters being monitored would have been specified in constructor. The thread will block until the monitor completes. ParameterChanged events will be triggered each time a parameter update arrives

property thisown

The membership flag