Nugget
Loading...
Searching...
No Matches
Protected Member Functions | List of all members
psyqo::CDRomDevice::Action< S > Class Template Reference

The action base class for the internal state machine. More...

#include <psyqo/cdrom-device.hh>

Inheritance diagram for psyqo::CDRomDevice::Action< S >:
Inheritance graph
[legend]
Collaboration diagram for psyqo::CDRomDevice::Action< S >:
Collaboration graph
[legend]

Protected Member Functions

 Action (const char *const name)
 
void registerMe (CDRomDevice *device)
 
void setState (S state)
 
getState () const
 

Detailed Description

template<Concepts::IsCDRomDeviceStateEnum S>
class psyqo::CDRomDevice::Action< S >

The action base class for the internal state machine.

This class is meant to be extended by the various actions that the CDRom device can perform. It provides a framework for the state machine that is used to perform various operations. While it is public, it is not meant to be used directly by the application, and should only be used by the CDRomDevice class.

Constructor & Destructor Documentation

◆ Action()

template<Concepts::IsCDRomDeviceStateEnum S>
psyqo::CDRomDevice::Action< S >::Action ( const char *const  name)
inlineprotected

Member Function Documentation

◆ getState()

template<Concepts::IsCDRomDeviceStateEnum S>
S psyqo::CDRomDevice::Action< S >::getState ( ) const
inlineprotected

◆ registerMe()

template<Concepts::IsCDRomDeviceStateEnum S>
void psyqo::CDRomDevice::Action< S >::registerMe ( CDRomDevice device)
inlineprotected

◆ setState()

template<Concepts::IsCDRomDeviceStateEnum S>
void psyqo::CDRomDevice::Action< S >::setState ( state)
inlineprotected

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