HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CH_TimeGroup Class Reference

#include <CH_TimeGroup.h>

Public Member Functions

 CH_TimeGroup (const char *name, fpreal time)
 
 ~CH_TimeGroup ()
 
const UT_StringgetName () const
 
fpreal getTime () const
 
void setTime (fpreal t)
 
int getIndex () const
 
void setSelect (bool state)
 
bool isSelected () const
 
void clearAndDestroy ()
 
const CH_ChannelListgetChannels ()
 
CH_SegmentgetEntry (CH_Channel *chp, int i)
 
int numEntries (CH_Channel *chp) const
 
int numEntries () const
 
bool findEntry (const CH_Segment *segp) const
 
void addEntry (CH_Segment *segp, bool affect_segments=true)
 
void removeEntry (CH_Segment *segp, bool affect_segments=true)
 
bool testShift (bool snap_to_frame, fpreal accepted_dt, fpreal &attempted_dt)
 
void shift (fpreal t)
 
void save (std::ostream &os, int binary) const
 
bool load (UT_IStream &is)
 
void printEntries (std::ostream &os, bool use_time, bool show_keys=true) const
 
void setAcceptedDt (fpreal a)
 
fpreal getAcceptedDt () const
 

Friends

class CH_Manager
 

Detailed Description

Definition at line 22 of file CH_TimeGroup.h.

Constructor & Destructor Documentation

CH_TimeGroup::CH_TimeGroup ( const char *  name,
fpreal  time 
)
CH_TimeGroup::~CH_TimeGroup ( )

Member Function Documentation

void CH_TimeGroup::addEntry ( CH_Segment segp,
bool  affect_segments = true 
)
void CH_TimeGroup::clearAndDestroy ( )
bool CH_TimeGroup::findEntry ( const CH_Segment segp) const
fpreal CH_TimeGroup::getAcceptedDt ( ) const
inline

Definition at line 59 of file CH_TimeGroup.h.

const CH_ChannelList& CH_TimeGroup::getChannels ( )
inline

Definition at line 38 of file CH_TimeGroup.h.

CH_Segment* CH_TimeGroup::getEntry ( CH_Channel chp,
int  i 
)
int CH_TimeGroup::getIndex ( ) const
const UT_String& CH_TimeGroup::getName ( void  ) const
inline

Definition at line 27 of file CH_TimeGroup.h.

fpreal CH_TimeGroup::getTime ( ) const
inline

Definition at line 28 of file CH_TimeGroup.h.

bool CH_TimeGroup::isSelected ( ) const
inline

Definition at line 33 of file CH_TimeGroup.h.

bool CH_TimeGroup::load ( UT_IStream is)
int CH_TimeGroup::numEntries ( CH_Channel chp) const
int CH_TimeGroup::numEntries ( ) const
void CH_TimeGroup::printEntries ( std::ostream &  os,
bool  use_time,
bool  show_keys = true 
) const
void CH_TimeGroup::removeEntry ( CH_Segment segp,
bool  affect_segments = true 
)
void CH_TimeGroup::save ( std::ostream &  os,
int  binary 
) const
void CH_TimeGroup::setAcceptedDt ( fpreal  a)
inline

Definition at line 58 of file CH_TimeGroup.h.

void CH_TimeGroup::setSelect ( bool  state)
inline

Definition at line 32 of file CH_TimeGroup.h.

void CH_TimeGroup::setTime ( fpreal  t)
inline

Definition at line 29 of file CH_TimeGroup.h.

void CH_TimeGroup::shift ( fpreal  t)
bool CH_TimeGroup::testShift ( bool  snap_to_frame,
fpreal  accepted_dt,
fpreal attempted_dt 
)

Friends And Related Function Documentation

friend class CH_Manager
friend

Definition at line 69 of file CH_TimeGroup.h.


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