mf
Media Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | List of all members
mf::time_span Class Reference

One-dimensional time span. More...

#include <common.h>

Inheritance diagram for mf::time_span:
mf::ndspan< 1, time_unit >

Public Member Functions

 time_span ()=default
 
 time_span (const base &span)
 
 time_span (time_unit start, time_unit end)
 
time_unit start_time () const
 
time_unit end_time () const
 
time_unit duration () const
 
- Public Member Functions inherited from mf::ndspan< 1, time_unit >
 ndspan ()=default
 
 ndspan (const ndspan &)=default
 
 ndspan (const coordinates_type &start, const coordinates_type &end)
 
ndspanoperator= (const ndspan &) noexcept=default
 
const coordinates_typestart_pos () const noexcept
 
const coordinates_typeend_pos () const noexcept
 
bool includes (const coordinates_type &) const
 
bool includes (const ndspan &sub) const
 
bool includes_strict (const ndspan &sub) const
 
shape_type shape () const
 
std::size_t size () const
 

Additional Inherited Members

- Public Types inherited from mf::ndspan< 1, time_unit >
using coordinates_type = ndcoord< Dim, time_unit >
 
using shape_type = ndsize< Dim >
 

Detailed Description

One-dimensional time span.

Derived from ndspan<1, time_unit>.

Constructor & Destructor Documentation

mf::time_span::time_span ( )
default
mf::time_span::time_span ( const base span)
inline
mf::time_span::time_span ( time_unit  start,
time_unit  end 
)
inline

Member Function Documentation

time_unit mf::time_span::duration ( ) const
inline
time_unit mf::time_span::end_time ( ) const
inline
time_unit mf::time_span::start_time ( ) const
inline

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