Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Friends | List of all members
GMathTimeSampling Class Reference
Inheritance diagram for GMathTimeSampling:
CoreBaseType

Public Member Functions

 GMathTimeSampling (const GMathTimeSampling &src)
 
 GMathTimeSampling (const GMathTimeSampling &src, const double &offset)
 
 GMathTimeSampling (const unsigned int &sample_count, const double &begin_time, const double &end_time)
 
 GMathTimeSampling (const CoreBasicArray< double > &samples)
 
 GMathTimeSampling (const double &time)
 
void init (const unsigned int &sample_count, const double &begin_time, const double &end_time)
 
void init (const CoreBasicArray< double > &samples)
 
void init (const double &time)
 
void clear ()
 
void apply_offset (const double &offset)
 
void copy_from (const GMathTimeSampling &other, const double &offset=0.0)
 
size_t get_memory_size () const
 
bool is_uniform () const
 
double get_sample_spacing () const
 
double get_sample_frequency () const
 
const unsigned int & get_sample_count () const
 
const double & get_sample_time (const unsigned int &index) const
 
const double & get_start_time () const
 
const double & get_end_time () const
 
const CoreBasicArray< double > & get_samples () const
 
void get_span (double time, unsigned int &span_index, double &span_t) const
 
unsigned int get_floor_sample (const double &time) const
 
unsigned int get_nearest_sample (const double &time) const
 
unsigned int get_ceil_sample (const double &time) const
 
size_t get_serial_size () const
 
bool serialize (CoreSerial &serial) const
 
bool deserialize (CoreSerial &serial)
 
- Public Member Functions inherited from CoreBaseType
bool is_kindof (const CoreClassInfo &cinfo) const
 

Friends

CoreLogStreamoperator<< (CoreLogStream &os, const GMathTimeSampling &t)
 

Additional Inherited Members

- Static Public Member Functions inherited from CoreBaseType
static const CoreClassInfoclass_info ()
 Get the type descriptor of this instance.