GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
UML::Sequence::Activation(3) User Contributed Perl Documentation UML::Sequence::Activation(3)

UML::Sequence::Activation - a helper class to support UML::Sequence

    use UML::Sequence::Activation;
    my $activation = UML::Sequence::Activation->new();
    $activation->starts(2);
    ...

This class keeps track of the start, end, offset, and bounds for an activation in the sequence diagram. It is a data container (a node), so it provides direct access to its attributes. The constructor ignores all arguments, use accessors or direct access to insert and check the values.

Trivial constructor, taking nothing, returning a blessed reference to an empty hash.

Accessor to set or check the starting attribute. Always returns the value. This is the arrow number at the top of the activation.

Accessor to set or check the ending attribute. Always returns the value. This is the arrow number at the bottom of the activation.

Accessor to set or check the offset attribute. Always returns the value. This is the number of stacked activations. An offset of zero means the activation is centered over the lifelife. An offset of one means a self call activation is on top of the original call. The activation should be pushed to the right (it should be offset).

This class method takes a reference to an array of activations and returns the number of them which are open (have undef ends attribute). Pass in the activations for your class, receive the offset number a new activation.

This class method takes a reference to an array of activations and returns the minimum starts and maximum ends attributes for the set.

Phil Crow, <philcrow2000@yahoo.com>

Copyright 2003, Philip Crow, all rights reserved. You may modify and/or redistribute this code in the same manner as Perl itself.
2006-01-22 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.