CARTA Backend
The backend component of CARTA
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
carta::AnimationObject Class Reference

#include <AnimationObject.h>

Collaboration diagram for carta::AnimationObject:
[legend]

Public Member Functions

 AnimationObject (int file_id, CARTA::AnimationFrame &start_frame, CARTA::AnimationFrame &first_frame, CARTA::AnimationFrame &last_frame, CARTA::AnimationFrame &delta_frame, const google::protobuf::Map< google::protobuf::int32, CARTA::MatchedFrameList > &matched_frames, std::vector< int > stokes_indices, int frame_rate, bool looping, bool reverse_at_end, bool always_wait)
 
int CurrentFlowWindowSize ()
 
void CancelExecution ()
 
void ResetContext ()
 

Private Attributes

int _file_id
 
CARTA::AnimationFrame _start_frame
 
CARTA::AnimationFrame _first_frame
 
CARTA::AnimationFrame _last_frame
 
CARTA::AnimationFrame _delta_frame
 
CARTA::AnimationFrame _current_frame
 
CARTA::AnimationFrame _next_frame
 
CARTA::AnimationFrame _last_flow_frame
 
std::unordered_map< int32_t, std::vector< float > > _matched_frames
 
int _frame_rate
 
int _waits_per_second
 
int _window_scale
 
std::chrono::microseconds _frame_interval
 
std::chrono::time_point< std::chrono::high_resolution_clock > _t_start
 
std::chrono::time_point< std::chrono::high_resolution_clock > _t_last
 
bool _looping
 
bool _reverse_at_end
 
bool _going_forward
 
bool _always_wait
 
volatile bool _stop_called
 
int _wait_duration_ms
 
volatile int _file_open
 
volatile bool _waiting_flow_event
 
SessionContext _context
 
std::vector< int > _stokes_indices
 

Friends

class Session
 

Constructor & Destructor Documentation

◆ AnimationObject()

carta::AnimationObject::AnimationObject ( int  file_id,
CARTA::AnimationFrame &  start_frame,
CARTA::AnimationFrame &  first_frame,
CARTA::AnimationFrame &  last_frame,
CARTA::AnimationFrame &  delta_frame,
const google::protobuf::Map< google::protobuf::int32, CARTA::MatchedFrameList > &  matched_frames,
std::vector< int >  stokes_indices,
int  frame_rate,
bool  looping,
bool  reverse_at_end,
bool  always_wait 
)
inline

Member Function Documentation

◆ CancelExecution()

void carta::AnimationObject::CancelExecution ( )
inline
Here is the call graph for this function:

◆ CurrentFlowWindowSize()

int carta::AnimationObject::CurrentFlowWindowSize ( )
inline

◆ ResetContext()

void carta::AnimationObject::ResetContext ( )
inline
Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ Session

friend class Session
friend

Member Data Documentation

◆ _always_wait

bool carta::AnimationObject::_always_wait
private

◆ _context

SessionContext carta::AnimationObject::_context
private

◆ _current_frame

CARTA::AnimationFrame carta::AnimationObject::_current_frame
private

◆ _delta_frame

CARTA::AnimationFrame carta::AnimationObject::_delta_frame
private

◆ _file_id

int carta::AnimationObject::_file_id
private

◆ _file_open

volatile int carta::AnimationObject::_file_open
private

◆ _first_frame

CARTA::AnimationFrame carta::AnimationObject::_first_frame
private

◆ _frame_interval

std::chrono::microseconds carta::AnimationObject::_frame_interval
private

◆ _frame_rate

int carta::AnimationObject::_frame_rate
private

◆ _going_forward

bool carta::AnimationObject::_going_forward
private

◆ _last_flow_frame

CARTA::AnimationFrame carta::AnimationObject::_last_flow_frame
private

◆ _last_frame

CARTA::AnimationFrame carta::AnimationObject::_last_frame
private

◆ _looping

bool carta::AnimationObject::_looping
private

◆ _matched_frames

std::unordered_map<int32_t, std::vector<float> > carta::AnimationObject::_matched_frames
private

◆ _next_frame

CARTA::AnimationFrame carta::AnimationObject::_next_frame
private

◆ _reverse_at_end

bool carta::AnimationObject::_reverse_at_end
private

◆ _start_frame

CARTA::AnimationFrame carta::AnimationObject::_start_frame
private

◆ _stokes_indices

std::vector<int> carta::AnimationObject::_stokes_indices
private

◆ _stop_called

volatile bool carta::AnimationObject::_stop_called
private

◆ _t_last

std::chrono::time_point<std::chrono::high_resolution_clock> carta::AnimationObject::_t_last
private

◆ _t_start

std::chrono::time_point<std::chrono::high_resolution_clock> carta::AnimationObject::_t_start
private

◆ _wait_duration_ms

int carta::AnimationObject::_wait_duration_ms
private

◆ _waiting_flow_event

volatile bool carta::AnimationObject::_waiting_flow_event
private

◆ _waits_per_second

int carta::AnimationObject::_waits_per_second
private

◆ _window_scale

int carta::AnimationObject::_window_scale
private

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