16 #ifndef TORC_GENERIC_EVENT_HPP
17 #define TORC_GENERIC_EVENT_HPP
29 namespace torc {
namespace generic {
class PortElement; } }
30 namespace torc {
namespace generic {
class PortList; } }
31 namespace torc {
namespace generic {
class Net; } }
87 const std::list<PortSharedPtr>& inPorts,
88 const std::list<PortReferenceSharedPtr>& inPortReferences,
89 const std::list<NetSharedPtr>& inNets,
115 inline void getPortElements(std::list<PortElement>& outPortElements)
const;
151 inline void getNets(std::list<NetSharedPtr>& outNets)
const;
186 virtual ~Event() throw ();
192 Event(const Event& source);
194 Event& operator=(const Event& source);
240 outNets.insert(outNets.end(),
mNets.begin(),
mNets.end());
263 #endif // TORC_GENERIC_EVENT_HPP
An acyclic inoutVisitor implementation.
const Type getType() const
void getNets(std::list< NetSharedPtr > &outNets) const
void setType(const Type &inSource)
std::list< NetSharedPtr > mNets
void setTransition(const LogicElementSharedPtr &inSource)
boost::shared_ptr< LogicElement > LogicElementSharedPtr
Represents port element like port or port reference.
PortListSharedPtr mPortList
void getPortElements(std::list< PortElement > &outPortElements) const
VisitorType< Event > Visitor
The Error object thrown by different methods of EdifOM.
const PortListSharedPtr getPortList() const
boost::shared_ptr< Net > NetSharedPtr
void addPortReference(const PortReferenceSharedPtr &inPortRef)
A base class for Visitor.
boost::shared_ptr< PortReference > PortReferenceSharedPtr
boost::shared_ptr< PortList > PortListSharedPtr
boost::shared_ptr< Event > EventSharedPtr
std::list< PortElement > mPortElements
virtual void accept(BaseVisitor &inoutVisitor)
void addPort(const PortSharedPtr &inPort)
void setOffsetTime(const Value &value)
const LogicElementSharedPtr getTransition() const
Event is used to describe an event on a port or a net using logic state transitions. Events can also be described for unordered groups of ports or nets using portGroup or netGroup. An ordered list of ports may also be used using a portList.
boost::shared_ptr< Port > PortSharedPtr
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())
void addNet(const NetSharedPtr &inNet)
A placeholder for a factory method.
LogicElementSharedPtr mTransition
const Value getOffsetTime() const
void setPortList(const PortListSharedPtr &inPortList)
An object that receives an inoutVisitor.