next up previous contents index
Next: DEVS Up: Event=PortValue Previous: Value, bValue and tmValue   Contents   Index


PortValue

As mentioned before, an event in DEVS++ is modeled by a pair of associated classes: Port and Value by using the PortValue class.

class PortValue {
public:
    Port*  port; //-- either an output port or an input port
    Value* value;//-- typecast it to a concrete derived class!

    PortValue(const Port* p=NULL, Value* v=NULL);
    ...
 };



MHHwang 2007-05-07