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 | Protected Attributes
MAKLogger::DtThreadedLogger Class Reference

Provides an instance of DtLogger which can be run from a thread. More...

+ Inheritance diagram for MAKLogger::DtThreadedLogger:
+ Collaboration diagram for MAKLogger::DtThreadedLogger:

Public Member Functions

virtual ~DtThreadedLogger ()
 Virtual constructor. More...
 
virtual void run ()
 Start the logger running in a thread. More...
 
virtual void stop ()
 Stop the logger. More...
 
virtual bool isRunning () const
 Check to see if the logger is running. More...
 
- Public Member Functions inherited from MAKLogger::DtLogger
virtual ~DtLogger ()
 
virtual void init ()
 , Ticks the logger once. More...
 
virtual void registerSimulationProtocol (DtLgrProtocolRegistration *)
 This method must be called by a simulation plug-in during initialization. More...
 
virtual const
DtLgrProtocolRegistration
simulationProtocol () const
 Gets the protocol registration the logger was registered with. More...
 
virtual bool tick ()
 Tick the logger once, function is non-blocking. More...
 
virtual DtRelativeTime tickTime () const
 Get the estimated time between ticks. More...
 
virtual void setTickTime (DtRelativeTime time)
 Set the estimated time between tick calls. More...
 
virtual void submitCommand (const DtCommand &command)
 Send a command to the logger to execute. More...
 
virtual DtLgrCommandHandlerSP getCommandHandler (const DtLgrCommandType &type) const
 Lookup the command handler for a specific type of command. More...
 
virtual const DtLibraryListlibraries () const
 Gets the Loaded libraries. More...
 
virtual DtLgrSimManagersimManager ()
 Access simulation manager;. More...
 
DtLgrSystemDriverdriver ()
 Get system driver. More...
 

Protected Member Functions

virtual void setRunning (bool flag)
 Protected method to control the running flag. More...
 

Protected Attributes

volatile bool myRunningFlag
 Running flag is used to stop the logger when stop() has been called. More...
 
- Protected Attributes inherited from MAKLogger::DtLogger
DtLgrProtocolRegistrationmyRegistration
 
DtLgrSystemDrivermyDriver
 The driver which defines the logger executions. More...
 
DtRelativeTime myTickTime
 The time between ticks. More...
 

Additional Inherited Members

- Static Protected Attributes inherited from MAKLogger::DtLogger
static DtRelativeTime theDefaultTickTime
 Default tick time. More...
 

Detailed Description

Provides an instance of DtLogger which can be run from a thread.

An instance of this class is created by the DtLoggerApplication and serves as the main interface into the logging thread.

Constructor & Destructor Documentation

virtual MAKLogger::DtThreadedLogger::~DtThreadedLogger ( )
virtual

Virtual constructor.

DTOR

Member Function Documentation

virtual bool MAKLogger::DtThreadedLogger::isRunning ( ) const
virtual

Check to see if the logger is running.

virtual void MAKLogger::DtThreadedLogger::run ( )
virtual

Start the logger running in a thread.

virtual void MAKLogger::DtThreadedLogger::setRunning ( bool  flag)
protectedvirtual

Protected method to control the running flag.

virtual void MAKLogger::DtThreadedLogger::stop ( )
virtual

Stop the logger.

Member Data Documentation

volatile bool MAKLogger::DtThreadedLogger::myRunningFlag
protected

Running flag is used to stop the logger when stop() has been called.


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)