HLCC Documentation 3.0.1
Loading...
Searching...
No Matches
hlcc::telif::OffsetHandler Class Reference

#include <offsetHandler.hpp>

Public Member Functions

 OffsetHandler (DataContext &data_ctx)
 
void Init (rad::Application &appl)
 
virtual ~OffsetHandler ()
 
std::optional< ptk::EquatorialPosition > GetAbsolutePosition ()
 
void PostOffset (const std::shared_ptr<::ccsinsif::OffsetSkyArgs > &offset_sky_args)
 

Detailed Description

This class handles SkyOffset different modes of execution.

Constructor & Destructor Documentation

◆ OffsetHandler()

hlcc::telif::OffsetHandler::OffsetHandler ( DataContext & data_ctx)

Default Constructor

◆ ~OffsetHandler()

hlcc::telif::OffsetHandler::~OffsetHandler ( )
virtual

Destructor

Member Function Documentation

◆ GetAbsolutePosition()

std::optional< ptk::EquatorialPosition > hlcc::telif::OffsetHandler::GetAbsolutePosition ( )

Get all offsets and calculate absolute position.

◆ Init()

void hlcc::telif::OffsetHandler::Init ( rad::Application & appl)

◆ PostOffset()

void hlcc::telif::OffsetHandler::PostOffset ( const std::shared_ptr<::ccsinsif::OffsetSkyArgs > & offset_sky_args)

Post the offset command to the queues which will be processed later in a secondary thread

Parameters
offset_sky_argsoffset arguments
Exceptions
std::runtime_errorif not possible to post.

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