Classempathy::radio::TimeBroadcaster
radio
Variables
Member Functions

Classempathy::radio::TimeBroadcaster

Used only to TimeBroadcaster::poll(delTime) from gameloop.

See empathy::radio::Subscriber and empathy::radio::Event for creating and receiving timeouts.

Variables

items std::vector<TimeBroadcasterObject, std::allocator<TimeBroadcasterObject> >

The events queue.

toAddItems std::vector<TimeBroadcasterObject, std::allocator<TimeBroadcasterObject> >

Events ready to be added in the main queue.

Member Functions

  • static
void
createRepeatingTimeout ( Subscriber * ,
Event & ,
GLfloat ,
GLfloat )

Create a repeating timeout, ie, createInterval() of JavaScript.

  • static
void
createTimeout ( Subscriber * ,
Event & ,
GLfloat )

Create a repeating timeout, ie, createTimeout() of JavaScript.

  • static
void
poll ( GLfloat delTime )

Poll the events.

delTime