7 #ifndef __datatool_test_xRelay_h__ 8 #define __datatool_test_xRelay_h__ 12 static const char* gs_myAttributes[]=
19 class MyRelay:
public fe::Relay<2,MyRelay>
29 const char* layoutName(
void) {
return "base"; }
31 const char** attributes(
void) {
return gs_myAttributes; }
36 static const char* gs_moreAttributes[]=
42 class DerivedRelay:
public fe::Relay<1,DerivedRelay,MyRelay>
47 e_moreF32=MyRelay::e_size,
52 const char* layoutName(
void) {
return "derived"; }
54 const char** attributes(
void) {
return gs_moreAttributes; }
56 virtual void initialize(
void) {
set(MyRelay::e_myF32,4.5f); }
59 #endif // __datatool_test_xRelay_h__