Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes
MAKLogger::DtLgrSimInput Class Reference

The base class to help simulation input. More...

+ Inheritance diagram for MAKLogger::DtLgrSimInput:
+ Collaboration diagram for MAKLogger::DtLgrSimInput:

List of all members.

Public Member Functions

virtual ~DtLgrSimInput ()
 DTOR to clean up any resources.
virtual void activate ()
 Activate the input.
virtual void activateImplementation ()=0
 Perform protocol-specific activation.
virtual bool isActivated () const
 Get whether the output is active.
virtual void deactivate ()
 Activate the input.
virtual void deactivateImplementation ()=0
 Perform protocol-specific activation.
virtual void getNextMessages (DtMessageBuffer &)
 Get the next messages received.
virtual void dropNextMessages ()
 Called to drop messages from the current read operation.
virtual bool receivedPackets ()
 Have you received packets since last call.
virtual void disconnecting ()=0
 Called if simulation is disconnecting.
virtual DtLgrEntityTrackerentityTracker ()
virtual void initializeTracker (DtLgrBaseSimManager *manager)

Protected Member Functions

 DtLgrSimInput (DtLgrSimManager &manager)
 CTOR is protected since sub class will be the final object.
virtual DtPacketcreatePacket (size_t size, DtPacket::DtPacketType type)
 Creates an empty packet suitable for writing data into. The packet also is added to an internal buffer.
virtual void receivePacket (DtPacket *packet)
 Called internally to add a packet to a receive buffer.
virtual void filterPacket (DtPacket *packet)
 Filter.

Protected Attributes

bool myReceivePacketsFlag
DtMessageBuffermyReceiveBuffer
DtSmartBuffermySmartBuffer
DtLgrSimManagermyManager
bool myActivateFlag

Static Protected Attributes

static const int theSmartBufferSize = 65536

Detailed Description

The base class to help simulation input.


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

Document ID: Generated on Tue Oct 11 19:41:03 EDT 2011 from SVN revision 107422
Copyright © 2005-2011 VT MÄK Inc. All Rights Reserved (www.mak.com)