Open Lighting Architecture  Latest Git
Public Member Functions | Friends | List of all members
ola::timecode::TimeCode Class Reference

Public Member Functions

 TimeCode (TimeCodeType type, uint8_t hours, uint8_t minutes, uint8_t seconds, uint8_t frames)
 
 TimeCode (const TimeCode &other)
 
TimeCodeoperator= (const TimeCode &other)
 
bool IsValid () const
 
TimeCodeType Type () const
 
uint8_t Hours () const
 
uint8_t Minutes () const
 
uint8_t Seconds () const
 
uint8_t Frames () const
 
bool operator== (const TimeCode &other) const
 
bool operator!= (const TimeCode &other) const
 
std::string AsString () const
 

Friends

std::ostream & operator<< (std::ostream &out, const TimeCode &)
 

Member Function Documentation

◆ IsValid()

bool ola::timecode::TimeCode::IsValid ( ) const

Returns true if this timecode value is consistent, given the time


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