TuttleOFX  1
TuttleOFX/libraries/tuttle/src/tuttle/host/graph/ProcessEdgeAtTime.hpp
Go to the documentation of this file.
00001 #ifndef _TUTTLE_HOST_PROCESSEDGEATTIME_HPP_
00002 #define _TUTTLE_HOST_PROCESSEDGEATTIME_HPP_
00003 
00004 #include "IEdge.hpp"
00005 #include "ProcessEdge.hpp"
00006 #include "ProcessVertexAtTime.hpp"
00007 
00008 namespace tuttle {
00009 namespace host {
00010 namespace graph {
00011 
00012 class ProcessEdgeAtTime : public IEdge
00013 {
00014 public:
00015         ProcessEdgeAtTime();
00016         ProcessEdgeAtTime( const ProcessVertexAtTime::Key& out, const ProcessVertexAtTime::Key& in, const std::string& inAttrName );
00017         ProcessEdgeAtTime( const ProcessEdge& e );
00018         ProcessEdgeAtTime( const ProcessEdgeAtTime& other );
00019         virtual ~ProcessEdgeAtTime();
00020 
00021         std::ostream& exportDotDebug( std::ostream& os ) const;
00022         
00023         inline ProcessEdgeAtTime& operator=( const ProcessEdge& e )
00024         {
00025                 IEdge::operator=( e );
00026                 return *this;
00027         }
00028         
00029         inline OfxTime getOutTime() const { return _outTime; }
00030         inline OfxTime getInTime() const { return _inTime; }
00031         
00032 private:
00033         OfxTime _inTime;
00034         OfxTime _outTime;
00035 };
00036 
00037 }
00038 }
00039 }
00040 
00041 #endif
00042