Open Lighting Architecture: ola::timecode::TimeCode Class Reference

| Open Lighting Architecture 0.10.9

Loading...
Searching...
No Matches
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)
TimeCode & | operator= (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 &t)

## 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:

- include/ola/timecode/TimeCode.h
- common/timecode/TimeCode.cpp