AJA NTV2 SDK  17.6.0.2675
NTV2 SDK 17.6.0.2675
CBaseReferenceClock Class Reference

#include <refclock.h>

Inheritance diagram for CBaseReferenceClock:
[legend]
Collaboration diagram for CBaseReferenceClock:
[legend]

Public Member Functions

 CBaseReferenceClock (__in_opt LPCTSTR pName, __inout_opt LPUNKNOWN pUnk, __inout HRESULT *phr, __inout_opt CAMSchedule *pSched=0)
 
STDMETHODIMP NonDelegatingQueryInterface (REFIID riid, __deref_out void **ppv)
 
DECLARE_IUNKNOWN STDMETHODIMP GetTime (__out REFERENCE_TIME *pTime)
 
STDMETHODIMP AdviseTime (REFERENCE_TIME baseTime, REFERENCE_TIME streamTime, HEVENT hEvent, __out DWORD_PTR *pdwAdviseCookie)
 
STDMETHODIMP AdvisePeriodic (REFERENCE_TIME StartTime, REFERENCE_TIME PeriodTime, HSEMAPHORE hSemaphore, __out DWORD_PTR *pdwAdviseCookie)
 
STDMETHODIMP Unadvise (DWORD_PTR dwAdviseCookie)
 
virtual REFERENCE_TIME GetPrivateTime ()
 
STDMETHODIMP SetTimeDelta (const REFERENCE_TIME &TimeDelta)
 
CAMScheduleGetSchedule () const
 
STDMETHODIMP SetDefaultTimerResolution (REFERENCE_TIME timerResolution)
 
STDMETHODIMP GetDefaultTimerResolution (__out REFERENCE_TIME *pTimerResolution)
 
void TriggerThread ()
 
- Public Member Functions inherited from CUnknown
 CUnknown (__in_opt LPCTSTR pName, __in_opt LPUNKNOWN pUnk)
 
virtual ~CUnknown ()
 
 CUnknown (__in_opt LPCTSTR Name, __in_opt LPUNKNOWN pUnk, __inout_opt HRESULT *phr)
 
LPUNKNOWN GetOwner () const
 
STDMETHODIMP NonDelegatingQueryInterface (REFIID, __deref_out void **)
 
 STDMETHODIMP_ (ULONG) NonDelegatingAddRef()
 
 STDMETHODIMP_ (ULONG) NonDelegatingRelease()
 
- Public Member Functions inherited from CBaseObject
 CBaseObject (__in_opt LPCTSTR pName)
 
 ~CBaseObject ()
 
- Public Member Functions inherited from CCritSec
 CCritSec ()
 
 ~CCritSec ()
 
void Lock ()
 
void Unlock ()
 

Protected Member Functions

virtual ~CBaseReferenceClock ()
 
void Restart (IN REFERENCE_TIME rtMinTime=0I64)
 

Protected Attributes

CAMSchedulem_pSchedule
 
- Protected Attributes inherited from CUnknown
volatile LONG m_cRef
 

Additional Inherited Members

- Static Public Member Functions inherited from CBaseObject
static LONG ObjectsActive ()
 

Detailed Description

Definition at line 74 of file refclock.h.

Constructor & Destructor Documentation

◆ ~CBaseReferenceClock()

CBaseReferenceClock::~CBaseReferenceClock ( )
protectedvirtual

Definition at line 43 of file refclock.cpp.

◆ CBaseReferenceClock()

CBaseReferenceClock::CBaseReferenceClock ( __in_opt LPCTSTR  pName,
__inout_opt LPUNKNOWN  pUnk,
__inout HRESULT *  phr,
__inout_opt CAMSchedule pSched = 0 
)

Definition at line 71 of file refclock.cpp.

Member Function Documentation

◆ AdvisePeriodic()

STDMETHODIMP CBaseReferenceClock::AdvisePeriodic ( REFERENCE_TIME  StartTime,
REFERENCE_TIME  PeriodTime,
HSEMAPHORE  hSemaphore,
__out DWORD_PTR *  pdwAdviseCookie 
)

Definition at line 205 of file refclock.cpp.

◆ AdviseTime()

STDMETHODIMP CBaseReferenceClock::AdviseTime ( REFERENCE_TIME  baseTime,
REFERENCE_TIME  streamTime,
HEVENT  hEvent,
__out DWORD_PTR *  pdwAdviseCookie 
)

Definition at line 175 of file refclock.cpp.

◆ GetDefaultTimerResolution()

HRESULT CBaseReferenceClock::GetDefaultTimerResolution ( __out REFERENCE_TIME *  pTimerResolution)

Definition at line 392 of file refclock.cpp.

◆ GetPrivateTime()

REFERENCE_TIME CBaseReferenceClock::GetPrivateTime ( )
virtual

Definition at line 232 of file refclock.cpp.

◆ GetSchedule()

CAMSchedule* CBaseReferenceClock::GetSchedule ( ) const
inline

Definition at line 139 of file refclock.h.

◆ GetTime()

STDMETHODIMP CBaseReferenceClock::GetTime ( __out REFERENCE_TIME *  pTime)

Definition at line 142 of file refclock.cpp.

◆ NonDelegatingQueryInterface()

STDMETHODIMP CBaseReferenceClock::NonDelegatingQueryInterface ( REFIID  riid,
__deref_out void **  ppv 
)

Definition at line 22 of file refclock.cpp.

◆ Restart()

void CBaseReferenceClock::Restart ( IN REFERENCE_TIME  rtMinTime = 0I64)
protected

Definition at line 135 of file refclock.cpp.

◆ SetDefaultTimerResolution()

HRESULT CBaseReferenceClock::SetDefaultTimerResolution ( REFERENCE_TIME  timerResolution)

Definition at line 367 of file refclock.cpp.

◆ SetTimeDelta()

STDMETHODIMP CBaseReferenceClock::SetTimeDelta ( const REFERENCE_TIME &  TimeDelta)

Definition at line 264 of file refclock.cpp.

◆ TriggerThread()

void CBaseReferenceClock::TriggerThread ( )
inline

Definition at line 164 of file refclock.h.

◆ Unadvise()

STDMETHODIMP CBaseReferenceClock::Unadvise ( DWORD_PTR  dwAdviseCookie)

Definition at line 226 of file refclock.cpp.

Member Data Documentation

◆ m_pSchedule

CAMSchedule* CBaseReferenceClock::m_pSchedule
protected

Definition at line 178 of file refclock.h.


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