36#ifndef _DCC_FAKETRACKIF_HXX_
37#define _DCC_FAKETRACKIF_HXX_
74 return release_and_exit();
#define STATE(_fn)
Turns a function name into an argument to be supplied to functions expecting a state.
Base class for all QMember types that hold data in an expandable format.
Pool of fixed number of items which can be allocated up on request.
Collection of related state machines that pend on incoming messages.
State flow with a given typed input queue.
Base::Action Action
Allows using Action without having StateFlowBase:: prefix in front of it.
StateFlow that accepts dcc::Packet structures and drops them to the floor.
StateFlowTimer timer_
Helper object for timing.
FixedPool * pool() OVERRIDE
Action entry() OVERRIDE
Entry into the StateFlow activity.
FixedPool pool_
Pool of unallocated packets.
FakeTrackIf(Service *service, int pool_size)
Constructor.
Action finish()
Do nothing.
#define OVERRIDE
Function attribute for virtual functions declaring that this funciton is overriding a funciton that s...
#define MSEC_TO_NSEC(_msec)
Convert a millisecond value to a nanosecond value.
Represents a command to be sent to the track driver.