All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CH_Manager.h File Reference
#include "CH_API.h"
#include "CH_ChannelRef.h"
#include "CH_ExprLanguage.h"
#include "CH_KeyState.h"
#include "CH_Types.h"
#include <UT/UT_Assert.h>
#include <UT/UT_IntArray.h>
#include <UT/UT_Map.h>
#include <UT/UT_NonCopyable.h>
#include <UT/UT_Set.h>
#include <UT/UT_StringArray.h>
#include <UT/UT_String.h>
#include <UT/UT_SuperInterval.h>
#include <UT/UT_Thread.h>
#include <UT/UT_ThreadSpecificValue.h>
#include <UT/UT_ValArray.h>
#include <SYS/SYS_Floor.h>
#include <SYS/SYS_Hash.h>
#include <SYS/SYS_Inline.h>
#include <SYS/SYS_Math.h>
#include <SYS/SYS_Types.h>
#include <iosfwd>
+ Include dependency graph for CH_Manager.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  CH_LoadInfo
class  CH_EvalContext
class  CH_EvalContext
class  CH_ScopedChannels
class  CH_Manager
struct  CH_Manager::chParamKey::Hasher
class  CH_AutoEvaluateTime
 Push & restore the evaluation time (and optionally a channel collection) More...
class  CH_AutoEvalCollection
class  CH_ActiveLayerContrib


typedef bool(* CH_StringVarEvalFunc )(UT_String &val, int varid, int thread)
typedef bool(* CH_FloatVarEvalFunc )(fpreal &val, int varid, int thread)
typedef bool(* CH_IntVarEvalFunc )(int &val, int varid, int thread)


constexpr SYS_STATIC_INLINE bool SYSisPOD< CH_EvalContext > ()
CH_API void CHsortChannels (CH_ChannelList &channels)
CH_API void CHsortChannelRefs (CH_ChannelRefList &channels)
CH_API void CHsortChannelPaths (UT_StringArray &channel_paths)
CH_API void CHsortLayerRefs (CH_ChannelRefList &channels)
CH_API void CHchannelsToCollections (CH_ChannelList const &channels, CH_CollectionList &collections)
CH_ManagerCHgetManager ()
CH_ScopedChannelsCHgetScopedChannels ()
fpreal CHgetEvalTime ()
fpreal CHgetEvalTime (int thread)
CH_API fpreal CHgetTimeFromFrame (fpreal frame)
CH_API int CHgetFrameFromTime (fpreal time)
CH_API fpreal CHgetSampleFromTime (fpreal time)
CH_API void CHbuildRange (int start, int end, UT_SuperIntervalR &r)
CH_API void CHoutputChannelList (UT_WorkBuffer &info, CH_ChannelList &channels)
CH_API void CHoutputChannelList (UT_WorkBuffer &info, UT_StringArray &channel_paths)
CH_API void CHdisplayFlags (unsigned flags, std::ostream &s)

Typedef Documentation

typedef bool(* CH_FloatVarEvalFunc)(fpreal &val, int varid, int thread)

Definition at line 54 of file CH_Manager.h.

typedef bool(* CH_IntVarEvalFunc)(int &val, int varid, int thread)

Definition at line 55 of file CH_Manager.h.

typedef bool(* CH_StringVarEvalFunc)(UT_String &val, int varid, int thread)

Definition at line 53 of file CH_Manager.h.

Function Documentation

CH_API void CHbuildRange ( int  start,
int  end,
UT_SuperIntervalR r 
CH_API void CHchannelsToCollections ( CH_ChannelList const channels,
CH_CollectionList collections 
CH_API void CHdisplayFlags ( unsigned  flags,
std::ostream &  s 
fpreal CHgetEvalTime ( )
fpreal CHgetEvalTime ( int  thread)

Definition at line 1610 of file CH_Manager.h.

CH_API int CHgetFrameFromTime ( fpreal  time)
CH_Manager* CHgetManager ( )
CH_API fpreal CHgetSampleFromTime ( fpreal  time)
CH_ScopedChannels& CHgetScopedChannels ( )

Definition at line 1600 of file CH_Manager.h.

CH_API fpreal CHgetTimeFromFrame ( fpreal  frame)
CH_API void CHoutputChannelList ( UT_WorkBuffer info,
CH_ChannelList channels 

The CHoutputChannelList functions output a formatted string representing the given channels. One version of the function takes a list of channels while the other takes a string array of full paths to channels. The given arrays may be modified (they might need sorting).

CH_API void CHoutputChannelList ( UT_WorkBuffer info,
UT_StringArray channel_paths 
CH_API void CHsortChannelPaths ( UT_StringArray channel_paths)
CH_API void CHsortChannelRefs ( CH_ChannelRefList channels)
CH_API void CHsortChannels ( CH_ChannelList channels)
CH_API void CHsortLayerRefs ( CH_ChannelRefList channels)
constexpr SYS_STATIC_INLINE bool SYSisPOD< CH_EvalContext > ( )

Definition at line 123 of file CH_Manager.h.