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

Member Function Documentation

◆ get_current_thread()

template<class CycleDataType >
Thread * CycleDataStageReader< CycleDataType >::get_current_thread ( ) const
inline

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

Definition at line 162 of file cycleDataStageReader.I.

◆ operator ->()

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

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

Definition at line 142 of file cycleDataStageReader.I.

◆ operator const CycleDataType *()

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

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

Definition at line 152 of file cycleDataStageReader.I.


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