AJA NTV2 SDK  17.6.0.2675
NTV2 SDK 17.6.0.2675
CSystemClock Class Reference

#include <sysclock.h>

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

Public Member Functions

 CSystemClock (__in_opt LPCTSTR pName, __inout_opt LPUNKNOWN pUnk, __inout HRESULT *phr)
 
DECLARE_IUNKNOWN STDMETHODIMP NonDelegatingQueryInterface (REFIID riid, __deref_out void **ppv)
 
STDMETHODIMP GetClassID (__out CLSID *pClsID)
 
STDMETHODIMP SetClockDelta (REFERENCE_TIME rtDelta)
 
- Public Member Functions inherited from CBaseReferenceClock
 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 ()
 

Static Public Member Functions

static CUnknown *WINAPI CreateInstance (__inout_opt LPUNKNOWN pUnk, __inout HRESULT *phr)
 
- Static Public Member Functions inherited from CBaseObject
static LONG ObjectsActive ()
 

Additional Inherited Members

- Protected Member Functions inherited from CBaseReferenceClock
virtual ~CBaseReferenceClock ()
 
void Restart (IN REFERENCE_TIME rtMinTime=0I64)
 
- Protected Attributes inherited from CBaseReferenceClock
CAMSchedulem_pSchedule
 
- Protected Attributes inherited from CUnknown
volatile LONG m_cRef
 

Detailed Description

Definition at line 20 of file sysclock.h.

Constructor & Destructor Documentation

◆ CSystemClock()

CSystemClock::CSystemClock ( __in_opt LPCTSTR  pName,
__inout_opt LPUNKNOWN  pUnk,
__inout HRESULT *  phr 
)

Definition at line 36 of file sysclock.cpp.

Member Function Documentation

◆ CreateInstance()

CUnknown *WINAPI CSystemClock::CreateInstance ( __inout_opt LPUNKNOWN  pUnk,
__inout HRESULT *  phr 
)
static

Definition at line 30 of file sysclock.cpp.

◆ GetClassID()

STDMETHODIMP CSystemClock::GetClassID ( __out CLSID *  pClsID)

Definition at line 61 of file sysclock.cpp.

◆ NonDelegatingQueryInterface()

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

Definition at line 41 of file sysclock.cpp.

◆ SetClockDelta()

STDMETHODIMP CSystemClock::SetClockDelta ( REFERENCE_TIME  rtDelta)

Definition at line 71 of file sysclock.cpp.


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