Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
MagSensorTest Class Reference
Inheritance diagram for MagSensorTest:
OSThread

Public Member Functions

void * entry () override
 User entry point for the created thread.
 
- Public Member Functions inherited from OSThread
 OSThread (const char *name, int priority, size_t stack_size, void *(*start_routine)(void *), void *arg)
 Create a thread.
 
 OSThread ()
 Creates a thread via inheritance.
 
void start (const char *name, int priority, size_t stack_size)
 Starts the thread.
 
virtual ~OSThread ()
 Default destructor.
 
bool is_created ()
 
void inherit ()
 Inherits the current thread.
 
os_thread_t get_handle ()
 
void lock_to_thread ()
 Sets the thread handle to the current calling thread's.
 
void unlock_from_thread ()
 Resets the thread handle to none.
 

Public Attributes

TMAG5273 sen_
 

Additional Inherited Members

- Static Public Member Functions inherited from OSThread
static int getpriority (OSThread *thread)
 Return the current thread priority.
 
static int get_priority (OSThread *thread)
 Return the current thread priority.
 
static int get_priority_min ()
 Get the minimum thread priority.
 
static int get_priority_max ()
 Get the maximum thread priority.
 

Detailed Description

Definition at line 6 of file TMAG5273Demo.hxx.

Constructor & Destructor Documentation

◆ MagSensorTest()

MagSensorTest::MagSensorTest ( )
inline

Definition at line 9 of file TMAG5273Demo.hxx.

Member Function Documentation

◆ entry()

void * MagSensorTest::entry ( )
inlineoverridevirtual

User entry point for the created thread.

Returns
exit status

Reimplemented from OSThread.

Definition at line 14 of file TMAG5273Demo.hxx.

Member Data Documentation

◆ sen_

TMAG5273 MagSensorTest::sen_

Definition at line 70 of file TMAG5273Demo.hxx.


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