Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
iv::comms::can::LomCommunicationControllerFrame Class Referencefinal
Inheritance diagram for iv::comms::can::LomCommunicationControllerFrame:
[legend]
Collaboration diagram for iv::comms::can::LomCommunicationControllerFrame:
[legend]

Public Types

enum class  eRunnableState {
  Init , Running , Paused , WaitingForEnd ,
  Stopped
}
 

Public Member Functions

 LomCommunicationControllerFrame (const std::shared_ptr< LomCommunicationController > &lomCommController, const iv::types::pollTime sleepMs)
 
void periodicTask () override
 
bool isRunning () override
 
bool isPaused () override
 
bool isStopped () override
 
void run () override
 
void pause () override
 
void resume () override
 
void stop () override
 
void setTaskName (const std::string_view taskName)
 

Protected Member Functions

void sleepFrame (iv::types::pollTime milliseconds)
 

Protected Attributes

std::string_view m_taskName
 

Private Member Functions

void runFrame () override
 

Private Attributes

std::shared_ptr< LomCommunicationControllerm_lomCommController
 
iv::types::pollTime m_sleepMs
 
std::mutex m_mutex
 
std::condition_variable m_cv
 
std::atomic< IRunnable::eRunnableState > m_stateThread
 
std::weak_ptr< bool > m_isEnabled
 

Member Enumeration Documentation

◆ eRunnableState

enum class iv::threads::IRunnable::eRunnableState
stronginherited
Enumerator
Init 
Running 
Paused 
WaitingForEnd 
Stopped 

Constructor & Destructor Documentation

◆ LomCommunicationControllerFrame()

iv::comms::can::LomCommunicationControllerFrame::LomCommunicationControllerFrame ( const std::shared_ptr< LomCommunicationController > & lomCommController,
const iv::types::pollTime sleepMs )
inlineexplicit

Member Function Documentation

◆ isPaused()

bool iv::threads::ThreadRunnable::isPaused ( )
overridevirtualinherited

◆ isRunning()

bool iv::threads::ThreadRunnable::isRunning ( )
overridevirtualinherited

◆ isStopped()

bool iv::threads::ThreadRunnable::isStopped ( )
overridevirtualinherited

◆ pause()

void iv::threads::ThreadRunnable::pause ( )
overridevirtualinherited

◆ periodicTask()

void iv::comms::can::LomCommunicationControllerFrame::periodicTask ( )
inlineoverridevirtual

◆ resume()

void iv::threads::ThreadRunnable::resume ( )
overridevirtualinherited

◆ run()

void iv::threads::ThreadRunnable::run ( )
overridevirtualinherited

◆ runFrame()

void iv::threads::ThreadRunnablePeriodic::runFrame ( )
inlineoverrideprivatevirtualinherited

◆ setTaskName()

void iv::threads::IRunnable::setTaskName ( const std::string_view taskName)
inlineinherited

◆ sleepFrame()

void iv::threads::ThreadRunnable::sleepFrame ( iv::types::pollTime milliseconds)
protectedinherited

◆ stop()

void iv::threads::ThreadRunnable::stop ( )
overridevirtualinherited

Member Data Documentation

◆ m_cv

std::condition_variable iv::threads::ThreadRunnable::m_cv
privateinherited

◆ m_isEnabled

std::weak_ptr<bool> iv::threads::ThreadRunnable::m_isEnabled
privateinherited

◆ m_lomCommController

std::shared_ptr<LomCommunicationController> iv::comms::can::LomCommunicationControllerFrame::m_lomCommController
private

◆ m_mutex

std::mutex iv::threads::ThreadRunnable::m_mutex
privateinherited

◆ m_sleepMs

iv::types::pollTime iv::threads::ThreadRunnablePeriodic::m_sleepMs
privateinherited

◆ m_stateThread

std::atomic<IRunnable::eRunnableState> iv::threads::ThreadRunnable::m_stateThread
privateinherited

◆ m_taskName

std::string_view iv::threads::IRunnable::m_taskName
protectedinherited

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