Skip to content

Class Kywy::Clock

ClassList > Kywy > Clock

Inherits the following classes: Actor::Actor

Public Attributes

Type Name
ClockOptions options
::Actor::Message tickMessage

Public Functions

Type Name
const char * getName ()
int getTickDuration ()
void handle (::Actor::Message * message)
virtual void initialize ()
void setTickDuration (int milliseconds)

Public Functions inherited from Actor::Actor

See Actor::Actor

Type Name
Actor ()
void addSubscriber (Actor * actor)
void disable ()
void dispatch (Message * message)
void enable ()
virtual void handle (Message * message) = 0
virtual void initialize ()
void publish (Message * message)
void removeSubscriber (Actor * actor)
void start ()
void stop ()
void subscribe (Actor * actor)
virtual void teardown ()
void unsubscribe (Actor * actor)
~Actor ()

Public Attributes Documentation

variable options

ClockOptions Kywy::Clock::options;

variable tickMessage

::Actor::Message Kywy::Clock::tickMessage;

Public Functions Documentation

function getName

inline const char * Kywy::Clock::getName () 

function getTickDuration

int Kywy::Clock::getTickDuration () 

function handle

void Kywy::Clock::handle (
    ::Actor::Message * message
) 

function initialize

virtual void Kywy::Clock::initialize () 

Implements Actor::Actor::initialize


function setTickDuration

void Kywy::Clock::setTickDuration (
    int milliseconds
) 


The documentation for this class was generated from the following file src/Clock.hpp