mirror of
https://github.com/nasa/trick.git
synced 2024-12-21 06:03:10 +00:00
14a75508a3
Changed all header file once include variables to follow the same naming convention and not start with any underscores. Also deleted old incorrect copyright notices. Also removed $Id: tags from all files. Fixes #14. Fixes #22.
47 lines
960 B
Plaintext
47 lines
960 B
Plaintext
/************************TRICK HEADER*************************
|
|
PURPOSE:
|
|
(This comment lists out the other object files that are not included from c++ headers)
|
|
LIBRARY DEPENDENCIES:
|
|
(
|
|
(test/dp/src/dp.c)
|
|
)
|
|
*************************************************************/
|
|
|
|
#include "sim_objects/default_trick_sys.sm"
|
|
|
|
|
|
##include "test/dp/include/dp.h"
|
|
|
|
%{
|
|
|
|
// Allow C++ access to the these C functions
|
|
extern "C" {
|
|
extern int dp(DP_TEST*) ;
|
|
}
|
|
|
|
%}
|
|
|
|
//=============================================================================
|
|
// SIM_OBJECT: dp
|
|
// This sim object test data products.
|
|
//=============================================================================
|
|
class testSimObject : public Trick::SimObject {
|
|
|
|
public:
|
|
DP_TEST test ;
|
|
|
|
testSimObject() {
|
|
(0.01, "scheduled") trick_ret = dp( &test ) ;
|
|
}
|
|
|
|
} ;
|
|
|
|
// Instantiations
|
|
testSimObject dpx ;
|
|
|
|
|
|
// Connect objects
|
|
void create_connections() {
|
|
|
|
}
|