torc::generic::Event::Factory Class Reference

#include <Event.hpp>

Inheritance diagram for torc::generic::Event::Factory:

Inheritance graph
[legend]
Collaboration diagram for torc::generic::Event::Factory:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual EventSharedPtr newEventPtr (const Event::Type &inEventType, const std::list< PortSharedPtr > &inPorts, const std::list< PortReferenceSharedPtr > &inPortReferences, const std::list< NetSharedPtr > &inNets, const LogicElementSharedPtr &inTransition=LogicElementSharedPtr(), const PortListSharedPtr &inPortList=PortListSharedPtr(), const Value &inOffsetTime=Value()) throw (Error)


Detailed Description

Convenience class to create an Event.

Definition at line 74 of file Event.hpp.


Member Function Documentation

EventSharedPtr torc::generic::Event::Factory::newEventPtr ( const Event::Type inEventType,
const std::list< PortSharedPtr > &  inPorts,
const std::list< PortReferenceSharedPtr > &  inPortReferences,
const std::list< NetSharedPtr > &  inNets,
const LogicElementSharedPtr &  inTransition = LogicElementSharedPtr(),
const PortListSharedPtr &  inPortList = PortListSharedPtr(),
const Value inOffsetTime = Value() 
) throw (Error) [virtual]

Create an event.

Parameters:
[in] inEventType Event type.
[in] inPorts List of ports to this composition.
[in] inPortReferences List of port references to this composition.
[in] inNets List of nets to this composition.
[in] inTransition Pointer to logic state value( transition/becomes ) [optional]. If no transition are specified, then the default meaning is any logic state change.
[in] inPortList Connected Port list to this event [optional].
[in] inOffsetTime Offset time retative to an event [optional]. This is must for OffsetEvent, but optional for normal Event.
Returns:
Pointer to created event.

Definition at line 40 of file Event.cpp.


The documentation for this class was generated from the following files:

Generated on Thu Oct 13 16:50:03 2011 for TORC by  doxygen 1.5.6