M1M3 Support System
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
LSST::M1M3::SS::ControllerThread Class Reference

The controller thread is responsible for executing commands. More...

#include <ControllerThread.h>

Public Member Functions

void run ()
 
void stop ()
 
void enqueue (Command *command)
 Put command into queue.
 

Static Public Member Functions

static ControllerThreadget ()
 Return singleton instance.
 

Detailed Description

The controller thread is responsible for executing commands.

Holds command queue. Command is enqueued in SubscriberThread after being received from SAL. Command is then dequeued in ControllerThread and passed to the Controller::execute method. Singleton, as only a single instance should occur in an application. Runs in a single thread - provides guarantee that only single command is being executed in any moment.

Member Function Documentation

◆ get()

ControllerThread & ControllerThread::get ( )
static

Return singleton instance.

Returns
singleton instance

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