INET Framework for OMNeT++/OMNEST
inet::ClockUserModuleMixin< T > Class Template Reference

#include <ClockUserModuleMixin.h>

Inheritance diagram for inet::ClockUserModuleMixin< T >:
inet::units::value< Value, Units >

Public Member Functions

virtual void scheduleClockEventAt (clocktime_t time, ClockEvent *msg)
 
virtual void scheduleClockEventAfter (clocktime_t delay, ClockEvent *msg)
 
virtual cMessage * cancelClockEvent (ClockEvent *msg)
 
virtual void cancelAndDeleteClockEvent (ClockEvent *msg)
 
virtual void rescheduleClockEventAt (clocktime_t time, ClockEvent *msg)
 
virtual void rescheduleClockEventAfter (clocktime_t time, ClockEvent *msg)
 
virtual clocktime_t computeClockTimeFromSimTime (simtime_t time) const
 
virtual simtime_t computeSimTimeFromClockTime (clocktime_t time) const
 
virtual clocktime_t getClockTime () const
 
virtual clocktime_t getArrivalClockTime (ClockEvent *msg) const
 
- Public Member Functions inherited from inet::units::value< Value, Units >
 value ()
 
 value (const value_type &v)
 
template<typename OtherValue , typename OtherUnits >
 value (const value< OtherValue, OtherUnits > &v)
 
std::string str () const
 
const value_typeget () const
 
void set (const value_type &v)
 
template<typename OtherValue , typename OtherUnits >
valueoperator= (const value< OtherValue, OtherUnits > &other)
 
template<typename OtherValue , typename OtherUnits , typename ResultValue = typename std::remove_cv<decltype(Value() + OtherValue())>::type>
value< ResultValue, Units > operator+ (const value< OtherValue, OtherUnits > &other) const
 
template<typename OtherValue , typename OtherUnits >
valueoperator+= (const value< OtherValue, OtherUnits > &other)
 
template<typename OtherValue , typename OtherUnits >
valueoperator-= (const value< OtherValue, OtherUnits > &other)
 
template<typename OtherValue , typename OtherUnits , typename ResultValue = typename std::remove_cv<decltype(Value() - OtherValue())>::type>
value< ResultValue, Units > operator- (const value< OtherValue, OtherUnits > &other) const
 
value operator- () const
 
template<typename OtherValue , typename OtherUnits , typename ResultValue = typename std::remove_cv<decltype(Value() * OtherValue())>::type>
value< ResultValue, compose< Units, OtherUnits > > operator* (const value< OtherValue, OtherUnits > &other) const
 
template<typename OtherValue >
value operator* (OtherValue v) const
 
valueoperator*= (const value_type &v)
 
template<typename OtherValue , typename OtherUnits , typename ResultValue = typename std::remove_cv<decltype(Value() / OtherValue())>::type>
value< ResultValue, compose< Units, pow< OtherUnits, -1 > > > operator/ (const value< OtherValue, OtherUnits > &other) const
 
value operator/ (const value_type &v) const
 
valueoperator/= (const value_type &v)
 
template<typename OtherValue , typename OtherUnits >
bool operator== (const value< OtherValue, OtherUnits > &other) const
 
template<typename OtherValue , typename OtherUnits >
bool operator!= (const value< OtherValue, OtherUnits > &other) const
 
template<typename OtherValue , typename OtherUnits >
bool operator< (const value< OtherValue, OtherUnits > &other) const
 
template<typename OtherValue , typename OtherUnits >
bool operator<= (const value< OtherValue, OtherUnits > &other) const
 
template<typename OtherValue , typename OtherUnits >
bool operator> (const value< OtherValue, OtherUnits > &other) const
 
template<typename OtherValue , typename OtherUnits >
bool operator>= (const value< OtherValue, OtherUnits > &other) const
 
valueoperator++ ()
 
value operator++ (int)
 
valueoperator-- ()
 
value operator-- (int)
 

Additional Inherited Members

- Public Types inherited from inet::units::value< Value, Units >
typedef Value value_type
 
typedef Units unit
 

Member Function Documentation

◆ cancelAndDeleteClockEvent()

template<typename T >
virtual void inet::ClockUserModuleMixin< T >::cancelAndDeleteClockEvent ( ClockEvent msg)
inlinevirtual
67 { T::cancelAndDelete(msg); }

◆ cancelClockEvent()

template<typename T >
virtual cMessage* inet::ClockUserModuleMixin< T >::cancelClockEvent ( ClockEvent msg)
inlinevirtual
66 { return T::cancelEvent(msg); }

◆ computeClockTimeFromSimTime()

template<typename T >
virtual clocktime_t inet::ClockUserModuleMixin< T >::computeClockTimeFromSimTime ( simtime_t  time) const
inlinevirtual
70 { return time; }

◆ computeSimTimeFromClockTime()

template<typename T >
virtual simtime_t inet::ClockUserModuleMixin< T >::computeSimTimeFromClockTime ( clocktime_t  time) const
inlinevirtual
71 { return time; }

◆ getArrivalClockTime()

template<typename T >
virtual clocktime_t inet::ClockUserModuleMixin< T >::getArrivalClockTime ( ClockEvent msg) const
inlinevirtual
73 { return msg->getArrivalTime(); }

◆ getClockTime()

template<typename T >
virtual clocktime_t inet::ClockUserModuleMixin< T >::getClockTime ( ) const
inlinevirtual
72 { return simTime(); }

◆ rescheduleClockEventAfter()

template<typename T >
virtual void inet::ClockUserModuleMixin< T >::rescheduleClockEventAfter ( clocktime_t  time,
ClockEvent msg 
)
inlinevirtual
69 { T::rescheduleAfter(time, msg); }

◆ rescheduleClockEventAt()

template<typename T >
virtual void inet::ClockUserModuleMixin< T >::rescheduleClockEventAt ( clocktime_t  time,
ClockEvent msg 
)
inlinevirtual
68 { T::rescheduleAt(time, msg); }

◆ scheduleClockEventAfter()

template<typename T >
virtual void inet::ClockUserModuleMixin< T >::scheduleClockEventAfter ( clocktime_t  delay,
ClockEvent msg 
)
inlinevirtual
65 { T::scheduleAfter(delay, msg); }

◆ scheduleClockEventAt()

template<typename T >
virtual void inet::ClockUserModuleMixin< T >::scheduleClockEventAt ( clocktime_t  time,
ClockEvent msg 
)
inlinevirtual
64 { T::scheduleAt(time, msg); }

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