-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Krishna Koppolu <[email protected]>
- Loading branch information
Showing
4 changed files
with
145 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
module VehicleDataTypes { | ||
module TestBranch1 { | ||
struct NestedStruct { | ||
double x; | ||
double y; | ||
double z; | ||
}; | ||
|
||
struct ParentStruct { | ||
VehicleDataTypes::TestBranch1::NestedStruct x_property; | ||
VehicleDataTypes::TestBranch1::NestedStruct y_property; | ||
sequence<VehicleDataTypes::TestBranch1::NestedStruct, 10> x_properties; | ||
sequence<VehicleDataTypes::TestBranch1::NestedStruct> y_properties; | ||
double z_property; | ||
}; | ||
|
||
}; | ||
}; | ||
module A | ||
{ | ||
struct _UInt8 | ||
{ | ||
octet value; | ||
const string unit="km"; | ||
const string type ="sensor"; | ||
const string description="A uint8."; | ||
}; | ||
|
||
struct ParentStructSensor | ||
{ | ||
VehicleDataTypes::TestBranch1::ParentStruct value; | ||
const string type ="sensor"; | ||
const string description="A rich sensor with user-defined data type."; | ||
}; | ||
|
||
struct NestedStructSensor | ||
{ | ||
VehicleDataTypes::TestBranch1::NestedStruct value; | ||
const string type ="sensor"; | ||
const string description="A rich sensor with user-defined data type."; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters