MAK Data Logger API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Private Member Functions
MAKLogger::DtLgrDisSimInput Class Reference

DIS Simulation input class. More...

+ Inheritance diagram for MAKLogger::DtLgrDisSimInput:
+ Collaboration diagram for MAKLogger::DtLgrDisSimInput:

Public Member Functions

virtual ~DtLgrDisSimInput ()
 
virtual void activateImplementation ()
 Perform protocol-specific activation. More...
 
virtual void deactivateImplementation ()
 Perform protocol-specific activation. More...
 
virtual void connecting ()
 Called when simulation is connecting. More...
 
virtual void disconnecting ()
 Called when simulation is disconnecting. More...
 
virtual const DtMessageIOInfoinfo () const
 The the message info for the input. More...
 
- Public Member Functions inherited from MAKLogger::DtLgrSimInput
virtual ~DtLgrSimInput ()
 DTOR to clean up any resources. More...
 
virtual void activate ()
 Activate the input. More...
 
virtual bool isActivated () const
 Get whether the output is active. More...
 
virtual void deactivate ()
 Activate the input. More...
 
virtual void startReadMessages ()
 Called at the beginning of a read operation. More...
 
virtual void setClock (DtLgrClock *clockToUse)
 Set the clock to use for time. More...
 
virtual DtAbsoluteTime inputTime () const
 Get the current input time. More...
 
virtual void getNextMessages (DtMessageBuffer &)
 Get the next messages received. More...
 
virtual void dropNextMessages ()
 Called to drop messages from the current read operation. More...
 
virtual bool receivedPackets ()
 Have you received packets since last call. More...
 
virtual DtLgrEntityTrackerentityTracker ()
 
virtual void initializeTracker (DtLgrBaseSimManager *manager)
 
virtual DtLgrClockclock ()
 Get the clock used for time. More...
 
virtual const DtLgrClockclock () const
 Get the clock used for time. More...
 
- Public Member Functions inherited from MAKLogger::DtMessageInput
virtual ~DtMessageInput ()
 
virtual void startReadMessages (DtAbsoluteTime timeToRead)
 Called at the beginning of a read operation. More...
 
virtual void stopReadMessages ()
 Called at the end of a read operation. More...
 
virtual void setStopReadingTimeBoundary (bool inclusive)
 The stop reading time (set by startReadMessages may be inclusive or exclusive. More...
 
virtual bool stopReadingBoundary () const
 Get the current stop reading boundary setting. More...
 
virtual void tick ()
 Tick the message input – for repeating tasks, such as timeout checks. More...
 
virtual void setTimeLimit (double limit)
 Set the time limit on reads during playback. More...
 
virtual void insertPacket (DtPacket *packet)
 Insert a packet into the input stream. More...
 

Protected Member Functions

virtual void receivePdu (DtPdu &pdu)
 
virtual void startListening ()
 
virtual void stopListening ()
 
- Protected Member Functions inherited from MAKLogger::DtLgrSimInput
 DtLgrSimInput (DtLgrSimManager &manager)
 CTOR is protected since sub class will be the final object. More...
 
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. More...
 
virtual void receivePacket (DtPacket *packet)
 Called internally to add a packet to a receive buffer. More...
 
virtual void filterPacket (DtPacket *packet)
 Filter. More...
 
- Protected Member Functions inherited from MAKLogger::DtMessageInput
 DtMessageInput ()
 

Static Protected Member Functions

static void receivePduCb (DtPdu *pdu, void *usr)
 

Protected Attributes

DtLgrDisSimulationManagermyManager
 
bool myActivatedFlag
 
int myReceivedCount
 
DtLgrDisMessageIOInfomyInfo
 
- Protected Attributes inherited from MAKLogger::DtLgrSimInput
bool myReceivePacketsFlag
 
DtMessageBuffermyReceiveBuffer
 
DtSmartBuffermySmartBuffer
 
DtLgrSimManagermyManager
 
bool myActivateFlag
 
DtLgrClockmyClock
 
- Protected Attributes inherited from MAKLogger::DtMessageInput
DtAbsoluteTime myCurrentTime
 
bool myStopReadingBoundary
 
double myTimeLimit
 
double myNextPacketTime
 
DtMessageBuffer myInsertBuffer
 

Private Member Functions

 DtLgrDisSimInput (const DtLgrDisSimInput &)
 Not Implemented. More...
 
DtLgrDisSimInputoperator= (const DtLgrDisSimInput &)
 Not Implemented. More...
 

Additional Inherited Members

- Static Protected Attributes inherited from MAKLogger::DtLgrSimInput
static const int theSmartBufferSize = 65536
 

Detailed Description

DIS Simulation input class.

Constructor & Destructor Documentation

virtual MAKLogger::DtLgrDisSimInput::~DtLgrDisSimInput ( )
virtual
MAKLogger::DtLgrDisSimInput::DtLgrDisSimInput ( const DtLgrDisSimInput )
private

Not Implemented.

Member Function Documentation

virtual void MAKLogger::DtLgrDisSimInput::activateImplementation ( )
virtual

Perform protocol-specific activation.

Implements MAKLogger::DtLgrSimInput.

virtual void MAKLogger::DtLgrDisSimInput::connecting ( )
virtual

Called when simulation is connecting.

Implements MAKLogger::DtLgrSimInput.

virtual void MAKLogger::DtLgrDisSimInput::deactivateImplementation ( )
virtual

Perform protocol-specific activation.

Implements MAKLogger::DtLgrSimInput.

virtual void MAKLogger::DtLgrDisSimInput::disconnecting ( )
virtual

Called when simulation is disconnecting.

Implements MAKLogger::DtLgrSimInput.

virtual const DtMessageIOInfo* MAKLogger::DtLgrDisSimInput::info ( ) const
virtual

The the message info for the input.

Implements MAKLogger::DtMessageInput.

DtLgrDisSimInput& MAKLogger::DtLgrDisSimInput::operator= ( const DtLgrDisSimInput )
private

Not Implemented.

virtual void MAKLogger::DtLgrDisSimInput::receivePdu ( DtPdu &  pdu)
protectedvirtual
static void MAKLogger::DtLgrDisSimInput::receivePduCb ( DtPdu *  pdu,
void *  usr 
)
staticprotected
virtual void MAKLogger::DtLgrDisSimInput::startListening ( )
protectedvirtual
virtual void MAKLogger::DtLgrDisSimInput::stopListening ( )
protectedvirtual

Member Data Documentation

bool MAKLogger::DtLgrDisSimInput::myActivatedFlag
protected
DtLgrDisMessageIOInfo* MAKLogger::DtLgrDisSimInput::myInfo
protected
DtLgrDisSimulationManager* MAKLogger::DtLgrDisSimInput::myManager
protected
int MAKLogger::DtLgrDisSimInput::myReceivedCount
protected

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

Document ID: Generated on Thu Dec 18 15:35:09 EST 2025 from SVN revision 282494
Copyright © 2024 MAK Technologies. All Rights Reserved (www.mak.com)