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


Manual Reference Pages  -  UML::SEQUENCE::ACTIVATION (3)

.ds Aq ’

NAME

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

CONTENTS

SYNOPSIS



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



DESCRIPTION

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.

new

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

starts

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

ends

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

offset

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).

find_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.

find_bounds

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

AUTHOR

Phil Crow, <philcrow2000@yahoo.com>

COPYRIGHT

Copyright 2003, Philip Crow, all rights reserved. You may modify and/or redistribute this code in the same manner as Perl itself.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 UML::SEQUENCE::ACTIVATION (3) 2006-01-22

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