#include <Event.hpp>
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) |
Definition at line 74 of file Event.hpp.
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.
[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. |