7.5 LegionMessageLegionMessage() The LegionMessage constructor creates a LegionMessage from the constituent parts passed as parameters. LegionMessage exports public member functions to get and set all of its constituent parts. The equality operators (== and !=) are overloaded. Two LegionMessages are deemed equal only if each of the constituent parts are equal, as determined by the equality operators of their respective classes. Prints the contents of the LegionMessage to the stderr stream. int pack() 7.5.1 LegionParameterLegionParameter() Constructs a new parameter whose value is assumed to be in lb, and whose number is set to param_number. The default constructor creates a parameter with a negative parameter number and an empty LegionBuffer. A constructor that takes only a LegionBuffer as a parameter unpacks the contents of the LegionParameter from that buffer. The copy constructor is also overloaded. LegionParameter exports public member functions to get and set both the parameter number and the buffer containing the value of the parameter. The == operator is overloaded to return 1 when the parameter numbers are the same, and 0 otherwise. Prints the contents of the LegionParameter to the stderr stream. int pack() 7.5.2 LegionParameterListThe default constructor creates an empty parameter list, and a constructor that takes a LegionBuffer as an argument unpacks the contents of the LegionParameterList from that buffer. LegionParameterList is derived from templated class UVaL_PackableSet_LinkedList, and therefore exports the full interface of UVaL_PackableSet. UVaL_Reference<LegionParameter> find() Augments the UVaL_Set operations to allow parameters to be looked up by number. Returns a reference to the parameter, if found, or a null reference if not. Prints the contents of the LegionParameterList to the stderr stream. int pack() LegionParameterList is packable. 7.5.3 LegionComputationTagLegionComputationTag simply maintains a glorified interface to a long integer. The Library also contains a class -- LegionComputationTagGenerator -- that creates random computation tags. See the source code or on-line documentation for a description of that class. The default constructor creates a LegionComputationTag with an uninitialized initial value. A constructor that takes a LegionBuffer as an argument unpacks the contents of the computation tag from that buffer. LegionComputationTag exports public member functions to allow the value of the tag to be set and retrieved as a long integer. Prints the contents of the LegionComputationTag to the stderr stream. int pack() LegionComputationTag is packable. 7.5.4 Other fieldsA LegionMessage also contains a LegionContinuationList, and a LegionEnvironment. A LegionContinuationList is simply a UVaL_PackableSet of LegionContinuations, and a LegionEnvironment is a UVaL_PackableSet of LegionEnvironmentItems. Please refer to the on-line documentation and source code for the interface to these classes.
legion@Virginia.edu
|