Panda3D
Public Member Functions | List of all members
CycleDataStageReader< CycleDataType > Class Template Reference

This class is similar to CycleDataReader, except it allows reading from a particular stage of the pipeline. More...

#include "cycleDataStageReader.h"

Public Member Functions

 CycleDataStageReader (const CycleDataStageReader< CycleDataType > &copy)
 
 CycleDataStageReader (const PipelineCycler< CycleDataType > &cycler, int stage, Thread *current_thread=Thread::get_current_thread())
 
Threadget_current_thread () const
 Returns the Thread pointer of the currently-executing thread, as passed to the constructor of this object. More...
 
 operator const CycleDataType * () const
 This allows the CycleDataStageReader to be passed to any function that expects a const CycleDataType pointer. More...
 
const CycleDataType * operator-> () const
 This provides an indirect member access to the actual CycleData data. More...
 
void operator= (const CycleDataStageReader< CycleDataType > &copy)
 

Detailed Description

template<class CycleDataType>
class CycleDataStageReader< CycleDataType >

This class is similar to CycleDataReader, except it allows reading from a particular stage of the pipeline.

Definition at line 27 of file cycleDataStageReader.h.

Constructor & Destructor Documentation

◆ CycleDataStageReader() [1/2]

template<class CycleDataType >
CycleDataStageReader< CycleDataType >::CycleDataStageReader ( const PipelineCycler< CycleDataType > &  cycler,
int  stage,
Thread current_thread = Thread::get_current_thread() 
)
inline

Definition at line 104 of file cycleDataStageReader.I.

◆ CycleDataStageReader() [2/2]

template<class CycleDataType >
CycleDataStageReader< CycleDataType >::CycleDataStageReader ( const CycleDataStageReader< CycleDataType > &  copy)
inline

Definition at line 114 of file cycleDataStageReader.I.

◆ ~CycleDataStageReader()

template<class CycleDataType >
CycleDataStageReader< CycleDataType >::~CycleDataStageReader
inline

Definition at line 133 of file cycleDataStageReader.I.

Member Function Documentation

◆ get_current_thread()

template<class CycleDataType >
Thread * CycleDataStageReader< CycleDataType >::get_current_thread
inline

Returns the Thread pointer of the currently-executing thread, as passed to the constructor of this object.

Definition at line 161 of file cycleDataStageReader.I.

◆ operator const CycleDataType *()

template<class CycleDataType >
CycleDataStageReader< CycleDataType >::operator const CycleDataType *
inline

This allows the CycleDataStageReader to be passed to any function that expects a const CycleDataType pointer.

Definition at line 151 of file cycleDataStageReader.I.

◆ operator->()

template<class CycleDataType >
const CycleDataType * CycleDataStageReader< CycleDataType >::operator->
inline

This provides an indirect member access to the actual CycleData data.

Definition at line 141 of file cycleDataStageReader.I.

◆ operator=()

template<class CycleDataType >
void CycleDataStageReader< CycleDataType >::operator= ( const CycleDataStageReader< CycleDataType > &  copy)
inline

Definition at line 124 of file cycleDataStageReader.I.


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